Team:Freiburg/test
From 2011.igem.org
(Difference between revisions)
Line 179: | Line 179: | ||
background:url("https://static.igem.org/mediawiki/2011/4/41/Arrow.png") 230px 50% no-repeat; | background:url("https://static.igem.org/mediawiki/2011/4/41/Arrow.png") 230px 50% no-repeat; | ||
} | } | ||
- | #navigation {font-size:1.05em; width: | + | #navigation {font-size:1.05em; width:100px;} |
- | #navigation ul {margin:0; padding: | + | #navigation ul {margin:0; padding:10px;} |
- | #navigation li {list-style: none;} | + | #navigation li {list-style: none; border-bottom:dashed; border-bottom-width:1px; border-color:#A5B3AA;} |
#navigation a { | #navigation a { | ||
Line 196: | Line 196: | ||
text-decoration:none; | text-decoration:none; | ||
color: #0CA5B0; | color: #0CA5B0; | ||
+ | } | ||
+ | ul.sub-level { | ||
+ | display: none; | ||
+ | } | ||
+ | li:hover .sub-level { | ||
+ | background: #999; | ||
+ | border: #fff solid; | ||
+ | border-width: 1px; | ||
+ | display: block; | ||
+ | } | ||
+ | ul.sub-level li { | ||
+ | border: none; | ||
+ | float:left; | ||
+ | width:150px; | ||
} | } | ||
Line 216: | Line 230: | ||
<div id=navigation style="width: 150px; float:left"> | <div id=navigation style="width: 150px; float:left"> | ||
<ul> | <ul> | ||
- | <li><a href="https://2011.igem.org/Team:Freiburg/">home</a></li> | + | <li><a href="https://2011.igem.org/Team:Freiburg/">home</a> |
+ | <ul class="sub-level"> | ||
+ | <li><a href="#">Sub Menu Item 1</a></li> | ||
+ | <li><a href="#">Sub Menu Item 2</a></li> | ||
+ | <li><a href="#">Sub Menu Item 3</a></li> | ||
+ | <li><a href="#">Sub Menu Item 3</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
<li><a href="https://2011.igem.org/Team:Freiburg/Team">team</a></li> | <li><a href="https://2011.igem.org/Team:Freiburg/Team">team</a></li> | ||
<li><a href="https://2011.igem.org/Team:Freiburg/Project">project</a></li> | <li><a href="https://2011.igem.org/Team:Freiburg/Project">project</a></li> |
Revision as of 15:33, 29 June 2011