Template:Aquila
From 2012hs.igem.org
(Difference between revisions)
Line 65: | Line 65: | ||
#navbar | #navbar | ||
- | ul.navbar | + | ul.navbar |
{ | { | ||
float:left; | float:left; | ||
Line 72: | Line 72: | ||
margin:0; | margin:0; | ||
list-style-type:none; | list-style-type:none; | ||
+ | height: 1em; | ||
} | } | ||
Line 95: | Line 96: | ||
position:relative; | position:relative; | ||
display:inline; | display:inline; | ||
+ | } | ||
+ | |||
+ | ul.navbar li a | ||
+ | { | ||
+ | display: block; | ||
+ | padding: 3px 8px; | ||
+ | background-color: #000000; | ||
+ | color:#fff | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | ul.navbar li ul | ||
+ | { | ||
+ | display: none; | ||
+ | width: 10em; | ||
+ | background-color: #000; | ||
+ | } | ||
+ | |||
+ | ul.navbar li:hover li, ul.navbar li.hover li | ||
+ | { | ||
+ | float: none; | ||
+ | } | ||
+ | |||
+ | ul.navbar li:hover li a, ul.navbar li.hover li a | ||
+ | { | ||
+ | background-color: #FFF; | ||
+ | border-bottom: 1 px solid #FFF; | ||
+ | color: #000; | ||
+ | } | ||
+ | |||
+ | ul.navbar li li:hover | ||
+ | { | ||
+ | background-color: #000000; | ||
} | } | ||
Revision as of 03:37, 28 March 2012