Team:BCCS-Bristol/Header
From 2009.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
- | < | + | <style> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | body { font-family: "Trebuchet MS" } | |
- | + | ul#nav, ul#nav ul {padding:0; margin:0; list-style-type: none; list-style-image: none } | |
- | + | ul#nav { position:relative; z-index:500; } | |
- | + | ul#nav ul { display: none;} | |
- | + | ul#nav li {float:left; position:relative; } | |
- | + | ul#nav a { | |
- | + | display:block; | |
- | + | width:6em; | |
- | + | font-size:1em; | |
- | + | height:2em; | |
- | + | line-height:2em; /* ul#nav a height */ | |
- | + | text-decoration:none; | |
- | + | text-indent:0.5em; | |
- | + | background: none; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </ | + | ul#nav li:hover > ul { |
+ | display:block; | ||
+ | position:absolute; | ||
+ | left:6em; /* ul#nav a width */ | ||
+ | top:-1px; /* - ul#nav li > ul border-width */ | ||
+ | } | ||
+ | ul#nav > li:hover > ul { | ||
+ | left:0; | ||
+ | top:2.5em; /* ul#nav a height + ul#nav > li border-width */ | ||
+ | } | ||
+ | |||
+ | |||
+ | ul#nav > li { | ||
+ | border: 0.5em solid #343742; | ||
+ | } | ||
+ | |||
+ | ul#nav > li:first-child { | ||
+ | -moz-border-radius-topleft: 0.5em; | ||
+ | -moz-border-radius-bottomleft: 0.5em; | ||
+ | } | ||
+ | ul#nav > li:last-child { | ||
+ | -moz-border-radius-topright: 0.5em; | ||
+ | -moz-border-radius-bottomright: 0.5em; | ||
+ | } | ||
+ | |||
+ | ul#nav li > ul { border: 1px solid #343742; -moz-border-radius: 5px; } | ||
+ | ul#nav li > a { background: #fff; color: #343742; } | ||
+ | ul#nav li:hover > a { color: #fff; background: #343742; } | ||
+ | |||
+ | ul#nav > li > a { color:#fff; background: #343742; } | ||
+ | ul#nav > li:hover > a { } | ||
+ | |||
+ | </style> | ||
+ | |||
+ | |||
+ | |||
+ | <ul id="nav"> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol">Home</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Team">The Team</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Project">The Project</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Meetings">Meetings</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Meetings/September">September</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Meetings/August">August</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Meetings/July">July</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Meetings/June">June</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Calendar">Calendar</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Modeling">Modelling</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Modeling/BSim">BSim</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Notebook">Wetlab</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Notebook/Week_Zero">Week 0</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Notebook/Week_1">Week 1</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Notebook/Week_2">Week 2</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Notebook/Week_3">Week 3</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Notebook/Week_4">Week 4</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Notebook/Week_5">Week 5</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Notebook/Week_6">Week 6</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Notebook/Week_7">Week 7</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Notebook/Week_8">Week 8</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Notebook/Week_9">Week 9</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Notebook/Week_10">Week 10</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Notebook/Week_11">Week 11</a></li> | ||
+ | <li><a href="https://2009.igem.org/Team:BCCS-Bristol/Notebook/Week_12">Week 12</a></li> | ||
+ | |||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="mailto:igem-2009@sympa.bristol.ac.uk">Contact us</a></li> | ||
+ | </ul> | ||
</html> | </html> |
Revision as of 11:34, 20 October 2009