Template:Team:Berkeley/header
From 2011.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html lang="en"> | <html lang="en"> | ||
+ | <style = "text/css"> | ||
+ | ul.topnav { | ||
+ | list-style: none; | ||
+ | padding: 0 9px; | ||
+ | margin: 0; | ||
+ | width:960px; | ||
+ | float: left; | ||
+ | background: #223; | ||
- | |||
- | |||
- | |||
- | |||
} | } | ||
+ | ul.topnav li { | ||
+ | font-family: 'Helvetica Neue', Times, serif; | ||
+ | font-weight: 100; | ||
- | + | font-size: 1.8em; | |
- | + | float: left; | |
+ | margin: 1px; | ||
+ | padding: 10px 15px 30px 0; | ||
+ | position: relative; /*--Declare X and Y axis base for sub navigation--*/ | ||
} | } | ||
+ | ul.topnav li a{ | ||
+ | padding: 10px 5px; | ||
+ | color: #fff; | ||
+ | display: block; | ||
+ | text-decoration: none; | ||
+ | float: left; | ||
+ | } | ||
+ | ul.topnav li a:hover{ | ||
+ | background: gray; | ||
+ | opacity: .6; | ||
+ | padding: 10px 5px; | ||
+ | } | ||
+ | ul.topnav li span { /*--Drop down trigger styles--*/ | ||
+ | width: 17px; | ||
+ | height: 45px; | ||
+ | float: left; | ||
+ | background-color: yellow; | ||
+ | } | ||
+ | ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/ | ||
+ | ul.topnav li ul.subnav { | ||
+ | list-style: none; | ||
+ | position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/ | ||
+ | left: 0; top: 45px; | ||
+ | background: #333; | ||
+ | margin: 0; padding: 0; | ||
+ | display: none; | ||
+ | float: left; | ||
+ | width: 170px; | ||
+ | border: 1px solid #111; | ||
+ | } | ||
+ | ul.topnav li ul.subnav li{ | ||
+ | margin: 0; padding: 0; | ||
+ | border-top: 1px solid #252525; /*--Create bevel effect--*/ | ||
+ | border-bottom: 1px solid #444; /*--Create bevel effect--*/ | ||
+ | clear: both; | ||
+ | width: 170px; | ||
+ | font-size: .5em; | ||
+ | font-family: 'Helvetica Neue', Times, serif; | ||
+ | font-weight: 100; | ||
- | |||
- | + | } | |
- | + | html ul.topnav li ul.subnav li a { | |
- | width: | + | float: left; |
- | + | width: 145px; | |
- | + | background-color: white; | |
- | + | padding-left: 20px; | |
+ | } | ||
+ | html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/ | ||
+ | background-color: red; | ||
+ | } | ||
+ | |||
+ | #content1{ | ||
+ | opacity: .8; | ||
+ | padding: 3px; | ||
+ | font-family:Arial,Helvetica,sans-serif; | ||
+ | height: 200px; | ||
+ | border-style:solid; | ||
+ | border-width:3px; | ||
+ | border-color:black; | ||
+ | } | ||
+ | body{ background: url(https://static.igem.org/mediawiki/2011/9/91/Berkeleybannerigem2.gif);} | ||
+ | #globalWrapper { | ||
+ | width: 100%;} | ||
+ | |||
+ | #content{ | ||
+ | padding: 0px; | ||
+ | width: 100%; | ||
+ | background: url(http://www.eecs.berkeley.edu/~jvmiller/images/imagetestberkeley.gif); | ||
} | } | ||
- | # | + | #p-logo{ |
- | + | display:none; | |
- | + | ||
} | } | ||
+ | #top-section2{ | ||
+ | width: 100%; | ||
+ | background: url(https://static.igem.org/mediawiki/2011/1/1a/Bannerbottom.gif); | ||
+ | height: 85px; | ||
+ | } | ||
+ | #top-section3{ | ||
+ | width: 100%; | ||
+ | height:105px; | ||
+ | background: url(https://static.igem.org/mediawiki/2011/9/91/Berkeleybannerigem2.gif); | ||
+ | } | ||
+ | #top-section{ | ||
+ | width: 100%; | ||
+ | background: url(https://static.igem.org/mediawiki/2011/9/91/Berkeleybannerigem2.gif); | ||
+ | height: 5px; | ||
+ | border:none; | ||
+ | } | ||
+ | |||
+ | .firstHeading { | ||
+ | display:none; | ||
+ | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 20:51, 17 August 2011