Difference between revisions of "Template:Macquarie Australia"
(Removed border spacing from menu nav) |
(Readjusting contentcontainer width) |
||
(44 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
<html lang="en-AU"> | <html lang="en-AU"> | ||
<style type="text/css"> | <style type="text/css"> | ||
Line 17: | Line 16: | ||
body { /* Holds page background formatting */ | body { /* Holds page background formatting */ | ||
− | + | background-image: url("https://static.igem.org/mediawiki/2015/1/1f/MQAust_BG1.png"); | |
− | + | background-size: 100%; | |
− | + | background-attachment: fixed; | |
− | /* background- | + | /* background-repeat: no-repeat; */ |
− | + | ||
} | } | ||
Line 50: | Line 48: | ||
/* border-bottom: 1px solid #ccc; */ | /* border-bottom: 1px solid #ccc; */ | ||
/* no colours, borders, width, or float here */ | /* no colours, borders, width, or float here */ | ||
+ | border-collapse: collapse; /* Prevents a double line for both th td borders */ | ||
+ | border: 0; | ||
} | } | ||
Line 58: | Line 58: | ||
.contentContainer { /* Creates the container for the content - class */ | .contentContainer { /* Creates the container for the content - class */ | ||
/* background-color: #EEEDEA; */ | /* background-color: #EEEDEA; */ | ||
− | width: | + | width: 943px; |
float: left; | float: left; | ||
− | padding: | + | padding: 16px; |
/* border-top: 6px solid #EE3e53; */ | /* border-top: 6px solid #EE3e53; */ | ||
} | } | ||
Line 68: | Line 68: | ||
width: 100%; | width: 100%; | ||
text-align: left; | text-align: left; | ||
+ | } | ||
+ | |||
+ | .centreStuffInline { /* Horizontal positioning */ | ||
+ | text-align: center; | ||
} | } | ||
Line 104: | Line 108: | ||
font-size: 16px; | font-size: 16px; | ||
color: #ffffff; | color: #ffffff; | ||
+ | border: 0; | ||
border-spacing: 0; | border-spacing: 0; | ||
+ | text-align: center; | ||
+ | padding: 0; | ||
} | } | ||
Line 120: | Line 127: | ||
display:block; /* makes the table cells clickable */ | display:block; /* makes the table cells clickable */ | ||
color: #ffffff; /* #ffffff is white */ | color: #ffffff; /* #ffffff is white */ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 222: | Line 206: | ||
img.wrappedImage { /* Styling for figure captions - class */ | img.wrappedImage { /* Styling for figure captions - class */ | ||
float: left; | float: left; | ||
+ | } | ||
+ | |||
+ | /* TEXT IN COLUMNS Class styling */ | ||
+ | |||
+ | .divideTextTwoColumns { | ||
+ | /* Create multiple columns */ | ||
+ | -webkit-column-count: 2; /* Chrome, Safari, Opera */ | ||
+ | -moz-column-count: 2; /* Firefox */ | ||
+ | column-count: 2; | ||
+ | /* Gap between columns */ | ||
+ | -webkit-column-gap: 40px; /* Chrome, Safari, Opera */ | ||
+ | -moz-column-gap: 40px; /* Firefox */ | ||
+ | column-gap: 40px; | ||
+ | /* Line between columns */ | ||
+ | -webkit-column-rule: 1px dashed #009933; /* Chrome, Safari, Opera */ | ||
+ | -moz-column-rule: 1px dashed #009933; /* Firefox */ | ||
+ | column-rule: 1px dashed #009933; | ||
+ | font-family: Verdana, Geneva, sans-serif; | ||
+ | font-size: 12px; | ||
} | } | ||
Line 257: | Line 260: | ||
border: 1px solid black; | border: 1px solid black; | ||
color: #000000; /*black*/ | color: #000000; /*black*/ | ||
− | font-size: | + | font-size: 14px; |
padding: 4px; | padding: 4px; | ||
} | } | ||
Line 323: | Line 326: | ||
} | } | ||
− | /* | + | /* Image floating */ |
− | + | .floatImageRight { | |
− | + | float: right; | |
− | + | /* width: 120px; */ | |
− | + | margin: 0 0 0 0; | |
− | + | padding: 4px; | |
+ | /* border: 1px solid black; */ | ||
+ | text-align: center; | ||
+ | } | ||
− | + | .floatImageLeft { | |
− | + | float: right; | |
− | + | /* width: 120px; */ | |
− | + | margin: 0 0 0 0; | |
− | + | padding: 4px; | |
− | + | /* border: 1px solid black; */ | |
− | + | text-align: center; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | .floatImageRightNoPad { | |
− | + | float: right; | |
− | + | /* width: 120px; */ | |
− | + | margin: 0 0 0 0; | |
− | + | padding: 0; | |
− | + | /* border: 1px solid black; */ | |
− | + | text-align: center; | |
− | + | } | |
− | + | ||
− | + | /* Class ContentContainer styling - this is here for standard content DEFAULTS */ | |
− | + | .contentContainer h1 { /* Colour and font family */ | |
font-family: Verdana, Geneva, sans-serif; | font-family: Verdana, Geneva, sans-serif; | ||
− | + | color: #000000; /*black*/ | |
+ | border-bottom: none; | ||
+ | font-weight: bold; | ||
text-align: left; | text-align: left; | ||
+ | /* text-transform: uppercase; */ | ||
+ | font-size: 24px; | ||
} | } | ||
− | + | .contentContainer h2 { /* Colour and font family */ | |
font-family: Verdana, Geneva, sans-serif; | font-family: Verdana, Geneva, sans-serif; | ||
− | + | color: #000000; /*black*/ | |
+ | border-bottom: none; | ||
+ | font-weight: bold; | ||
+ | text-align: left; | ||
+ | /* text-transform: uppercase; */ | ||
+ | font-size: 21px; | ||
} | } | ||
− | + | .contentContainer h3 { /* Colour and font family */ | |
font-family: Verdana, Geneva, sans-serif; | font-family: Verdana, Geneva, sans-serif; | ||
− | + | color: #000000; /*black*/ | |
+ | border-bottom: none; | ||
+ | font-weight: bold; | ||
+ | text-align: left; | ||
+ | /* text-transform: uppercase; */ | ||
+ | font-size: 19px; | ||
} | } | ||
− | + | .contentContainer h4 { /* Colour and font family */ | |
font-family: Verdana, Geneva, sans-serif; | font-family: Verdana, Geneva, sans-serif; | ||
color: #000000; /*black*/ | color: #000000; /*black*/ | ||
+ | border-bottom: none; | ||
+ | font-weight: bold; | ||
text-align: left; | text-align: left; | ||
+ | /* text-transform: uppercase; */ | ||
+ | font-size: 17px; | ||
} | } | ||
− | + | .contentContainer h5 { /* Colour and font family */ | |
font-family: Verdana, Geneva, sans-serif; | font-family: Verdana, Geneva, sans-serif; | ||
color: #000000; /*black*/ | color: #000000; /*black*/ | ||
+ | border-bottom: none; | ||
+ | font-weight: bold; | ||
text-align: left; | text-align: left; | ||
+ | /* text-transform: uppercase; */ | ||
+ | font-size: 15px; | ||
} | } | ||
− | + | .contentContainer h6 { /* Colour and font family */ | |
font-family: Verdana, Geneva, sans-serif; | font-family: Verdana, Geneva, sans-serif; | ||
color: #000000; /*black*/ | color: #000000; /*black*/ | ||
+ | border-bottom: none; | ||
+ | font-weight: bold; | ||
text-align: left; | text-align: left; | ||
+ | /* text-transform: uppercase; */ | ||
+ | font-size: 13px; | ||
} | } | ||
− | + | .contentContainer a { /*Style of the links */ | |
font-family: Verdana, Geneva, sans-serif; | font-family: Verdana, Geneva, sans-serif; | ||
− | color: # | + | display:inline; /* here to keep hyperlinks inline */ |
− | text- | + | font-weight: bold; |
+ | color: #0645ad; /* hyperlink blue */ | ||
+ | text-decoration: underline; | ||
+ | font-size: 14px; | ||
} | } | ||
− | + | .contentContainer a:hover{ /* Styling links on hover */ | |
font-family: Verdana, Geneva, sans-serif; | font-family: Verdana, Geneva, sans-serif; | ||
− | color: # | + | color: #66cc66; /* websafe light green */ |
− | + | ||
} | } | ||
− | + | .contentContainer table { /* default table formatting */ | |
font-family: Verdana, Geneva, sans-serif; | font-family: Verdana, Geneva, sans-serif; | ||
− | color: #000000; /*black*/ | + | border-collapse: collapse; |
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | /* .contentContainer table, th { default table header formatting - 2015-09-12 TS Cannot use this!!! */ | ||
+ | /* font-family: Verdana, Geneva, sans-serif; */ | ||
+ | /* border: 1px solid black; */ | ||
+ | /* height: 20px; */ | ||
+ | /* padding: 4px; */ | ||
+ | /* text-align: center; */ | ||
+ | /* vertical-align: middle; */ | ||
+ | /* background-color: #ffffff; white*/ | ||
+ | /* color: #000000; black*/ | ||
+ | /* } */ | ||
+ | |||
+ | /* .contentContainer table, td { table detail formatting - 2015-09-10 TS Cannot use this!!! */ | ||
+ | /* font-family: Verdana, Geneva, sans-serif; */ | ||
+ | /* border: 1px solid black; */ | ||
+ | /* height: 28px; */ | ||
+ | /* padding: 15px; */ | ||
+ | /* text-align: left; */ | ||
+ | /* vertical-align: middle; */ | ||
+ | /* background-color: #ffffff; white*/ | ||
+ | /* color: #000000; black*/ | ||
+ | /* } */ | ||
+ | |||
+ | .contentContainer figcaption { /* Styling for figure captions - class */ | ||
+ | font-family: Verdana, Geneva, sans-serif; | ||
+ | display: block; /* here to keep the caption underneath the figure */ | ||
text-align: left; | text-align: left; | ||
} | } | ||
− | + | .contentContainer ul { /* unordered list styling */ | |
font-family: Verdana, Geneva, sans-serif; | font-family: Verdana, Geneva, sans-serif; | ||
− | + | list-style-type: circle; | |
+ | font-size: 14px; | ||
} | } | ||
− | + | .contentContainer ol { /* ordered list styling */ | |
font-family: Verdana, Geneva, sans-serif; | font-family: Verdana, Geneva, sans-serif; | ||
− | + | list-style-type:decimal; | |
+ | font-size: 14px; | ||
} | } | ||
− | img { /* image formatting */ | + | .contentContainer p { /* paragraph formatting */ |
+ | font-family: Verdana, Geneva, sans-serif; | ||
+ | color: #000000; /*black*/ | ||
+ | font-size: 14px; | ||
+ | } | ||
+ | |||
+ | .contentContainer img { /* image formatting */ | ||
max-width:100%; | max-width:100%; | ||
} | } | ||
+ | |||
+ | /* ul { unordered list styling - TS 2015-09-10 this default changes the iGEM login bar! */ | ||
+ | /* font-family: Verdana, Geneva, sans-serif; */ | ||
+ | /* list-style-type: circle; */ | ||
+ | /* } */ | ||
+ | |||
+ | /* ol { ordered list styling - TS 2015-09-10 this default changes the iGEM login bar! */ | ||
+ | /* font-family: Verdana, Geneva, sans-serif; */ | ||
+ | /* list-style-type: circle; */ | ||
+ | /* } */ | ||
+ | |||
+ | /* a { hyperlink formatting - TS 2015-09-10 this anchor default changes the iGEM login bar! */ | ||
+ | /* font-family: Verdana, Geneva, sans-serif; */ | ||
+ | /* display:inline; here to keep hyperlinks inline */ | ||
+ | /* } */ | ||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 11:21, 19 November 2015