Template:CSS/Delft2014 mainNew
From 2014.igem.org
(Difference between revisions)
Dschmieden (Talk | contribs) (Created page with "<html> <style type="text/css"> #contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear { display: none; } /*-- hides default wiki settings ...") |
Dschmieden (Talk | contribs) |
||
(5 intermediate revisions not shown) | |||
Line 50: | Line 50: | ||
height: 100%; | height: 100%; | ||
background-color: white; | background-color: white; | ||
- | font-size: | + | font-size: 12px; |
- | + | ||
} | } | ||
+ | a.anchor{ | ||
+ | display: block; | ||
+ | position: relative; | ||
+ | top: -80px; | ||
+ | visibility: hidden; | ||
+ | } | ||
+ | h2 { | ||
+ | font-size: 20px; | ||
+ | } | ||
+ | |||
+ | .tableofcontents{ | ||
+ | border: 1px solid #898989; | ||
+ | background-color: #f5f5f5; | ||
+ | display: inline-block; | ||
+ | padding: 5px; | ||
+ | margin: 25px; | ||
+ | } | ||
+ | |||
+ | table, th, td { | ||
+ | border: 1px solid black; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | |||
+ | th, td { | ||
+ | padding: 5px; | ||
+ | text-align: left; | ||
+ | } | ||
+ | |||
+ | caption { | ||
+ | text-align:left; | ||
+ | } | ||
Line 68: | Line 98: | ||
background-color: transparent; | background-color: transparent; | ||
margin-top: 0px; | margin-top: 0px; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 91: | Line 105: | ||
} | } | ||
- | a.anchor{ | + | a.anchor{display: block; position: relative; top: -80px; visibility: hidden;} |
- | + | ||
- | + | h2 { | |
- | top: - | + | padding-top: 20px; |
- | + | font-size: xx-large; | |
+ | line-height: normal; | ||
} | } | ||
- | |||
#main { | #main { | ||
Line 111: | Line 125: | ||
margin-bottom: 30px; | margin-bottom: 30px; | ||
width: 960px; | width: 960px; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 165: | Line 132: | ||
#header { | #header { | ||
height: 90px; | height: 90px; | ||
- | background-image: url('https://static.igem.org/mediawiki/2014/ | + | background-image: url('https://static.igem.org/mediawiki/2014/4/47/Delft2014_Igem_banner.png'); |
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: 0 0; | background-position: 0 0; | ||
Line 176: | Line 143: | ||
height:140px; | height:140px; | ||
left: 87.5%; | left: 87.5%; | ||
- | z-index: | + | z-index: 510; |
} | } | ||
Line 217: | Line 184: | ||
padding-bottom: 20px; | padding-bottom: 20px; | ||
text-align: center; | text-align: center; | ||
- | font-size: | + | font-size: 12px; |
} | } | ||
Line 284: | Line 251: | ||
} | } | ||
- | #nav li.sub-menu { | + | #nav li.sub-menu a { |
display: block; | display: block; | ||
width: 260px; | width: 260px; | ||
Line 294: | Line 261: | ||
margin-left: 1px; | margin-left: 1px; | ||
border-left: 8px solid #dcffdc; | border-left: 8px solid #dcffdc; | ||
- | border-right: 8px solid #dcffdc; | + | border-right: 8px solid #dcffdc; |
+ | color: #383838; | ||
} | } | ||
- | #nav li.sub-menu:last-child { | + | #nav li.sub-menu:last-child a { |
border-bottom: 8px solid #dcffdc; | border-bottom: 8px solid #dcffdc; | ||
} | } | ||
- | #nav li.sub-menu | + | #nav li.sub-menu .link { |
font-weight: bold; | font-weight: bold; | ||
- | + | font-size: 16px; | |
} | } | ||
Line 310: | Line 278: | ||
} | } | ||
- | #nav li.sub-menu:hover { | + | #nav li.sub-menu a:hover { |
cursor: pointer; | cursor: pointer; | ||
background-color: #dcffdc; | background-color: #dcffdc; | ||
border-left: 8px solid #54beaa; | border-left: 8px solid #54beaa; | ||
border-right: 8px solid #54beaa; | border-right: 8px solid #54beaa; | ||
+ | text-decoration: none; | ||
} | } | ||
- | #nav li.sub-menu:last-child:hover { | + | #nav li.sub-menu:last-child a:hover { |
border-bottom: 8px solid #54beaa; | border-bottom: 8px solid #54beaa; | ||
} | } | ||
- | #nav li.sub-menu:hover | + | #nav li.sub-menu a:hover .link { |
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
- | #nav li.sub-menu | + | #nav li.sub-menu a:hover .desc { |
- | + | text-decoration: none; | |
} | } | ||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 10:00, 16 October 2014