Team:Grinnell/Template/Home
From 2011.igem.org
(Difference between revisions)
(23 intermediate revisions not shown) | |||
Line 7: | Line 7: | ||
and Team Heidelberg 2008, who copied their menu from Cesar Daniel (http://vitalspot.com/ScriptFreeMenu/)*/ | and Team Heidelberg 2008, who copied their menu from Cesar Daniel (http://vitalspot.com/ScriptFreeMenu/)*/ | ||
- | #globalWrapper{background:url("https://static.igem.org/mediawiki/2011/a/a2/Wikibackground4.jpg") center top fixed;} | + | #globalWrapper{background:url("https://static.igem.org/mediawiki/2011/a/a2/Wikibackground4.jpg") center top fixed; font-size:150%;} |
+ | |||
+ | #content{border-top: 1px solid #444444;} | ||
h1.firstHeading{display:none} | h1.firstHeading{display:none} | ||
Line 15: | Line 17: | ||
z-index:1; | z-index:1; | ||
left:-5px; | left:-5px; | ||
- | top:- | + | top:-23px |
} | } | ||
Line 35: | Line 37: | ||
} | } | ||
- | { | + | h1{ |
- | color: | + | background:#010101; |
+ | color:#c40001; | ||
+ | padding:15px; | ||
+ | border:15px; | ||
+ | position:relative; | ||
+ | left:-6px; | ||
+ | width:947px; | ||
} | } | ||
+ | h2{ | ||
+ | background:#c40001; | ||
+ | color:#010101; | ||
+ | padding:10px; | ||
+ | border:10px; | ||
+ | position:relative; | ||
+ | left:-6px; | ||
+ | width:957px; | ||
+ | } | ||
/*Reset*/ | /*Reset*/ | ||
Line 52: | Line 69: | ||
height:25px; | height:25px; | ||
position:absolute; | position:absolute; | ||
- | left:- | + | left:-23px; |
- | top: | + | top:195px; |
z-index:15; | z-index:15; | ||
} | } | ||
Line 63: | Line 80: | ||
margin:0 !important; | margin:0 !important; | ||
display:block; | display:block; | ||
- | width: | + | width:162px; |
text-align:center; | text-align:center; | ||
+ | font-size:90%; | ||
/*left:90px; /*Used left to manually center menu*/ | /*left:90px; /*Used left to manually center menu*/ | ||
} | } | ||
Line 100: | Line 118: | ||
div.menu-bar ul li:hover ul.ddm, div.menu-bar ul li a:hover ul.ddm{ | div.menu-bar ul li:hover ul.ddm, div.menu-bar ul li a:hover ul.ddm{ | ||
display:block; | display:block; | ||
- | width: | + | width:162px; |
padding:1px; | padding:1px; | ||
position:absolute; | position:absolute; | ||
- | top: | + | top:25px; |
- | left:- | + | left:-21px;/*Use 'top' and 'left' to get the ddm position where you want it*/ |
} | } | ||
div.menu-bar ul li:hover ul.ddm li a, div.menu-bar ul li a:hover ul.ddm li a{ | div.menu-bar ul li:hover ul.ddm li a, div.menu-bar ul li a:hover ul.ddm li a{ | ||
- | width: | + | width:162px; |
padding-left:0; | padding-left:0; | ||
padding-right:0; | padding-right:0; | ||
Line 116: | Line 134: | ||
div.menu-bar ul li a:hover ul.ddm li a:hover ul.sm { | div.menu-bar ul li a:hover ul.ddm li a:hover ul.sm { | ||
display: block; | display: block; | ||
- | width: | + | width: 110px; |
padding: 1px; | padding: 1px; | ||
position: relative; | position: relative; | ||
- | top: - | + | top: -34px; |
left: 143px; | left: 143px; | ||
} | } | ||
Line 125: | Line 143: | ||
div.menu-bar ul li:hover ul.ddm li:hover ul.sm li a, | div.menu-bar ul li:hover ul.ddm li:hover ul.sm li a, | ||
div.menu-bar ul li a:hover ul.ddm li a:hover ul.sm li a { | div.menu-bar ul li a:hover ul.ddm li a:hover ul.sm li a { | ||
- | width: | + | width: 165px; |
} | } | ||
/*Fixing display problems in IE browsers*/ | /*Fixing display problems in IE browsers*/ | ||
Line 186: | Line 204: | ||
</ul> | </ul> | ||
</li> | </li> | ||
- | <li><a href="https://2011.igem.org/Team:Grinnell/Attributions">Attributions</a | + | <li><a href="https://2011.igem.org/Team:Grinnell/Attributions">Attributions</a> |
- | + | ||
- | + | ||
- | + | ||
</li> | </li> | ||
</ul></div> | </ul></div> | ||
</body></html> | </body></html> |