Template:Aquila
From 2012hs.igem.org
(Difference between revisions)
Line 63: | Line 63: | ||
} | } | ||
+ | #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; | ||
} | } | ||
- | + | ul.navbar a | |
{ | { | ||
float:left; | float:left; | ||
Line 86: | Line 87: | ||
} | } | ||
- | + | ul.navbar a:hover | |
{ | { | ||
background-color:#A3ABAE; | background-color:#A3ABAE; | ||
} | } | ||
- | + | ul.navbar li | |
{ | { | ||
position:relative; | position:relative; | ||
Line 97: | Line 98: | ||
} | } | ||
- | + | ul.navbar li a | |
{ | { | ||
- | + | display: block; | |
+ | padding: 3px 8px; | ||
+ | background-color: #000000; | ||
+ | color:#fff | ||
+ | text-decoration: none; | ||
} | } | ||
- | + | ul.navbar li ul | |
- | .navbar | + | |
{ | { | ||
- | + | 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; | |
} | } | ||
- | # | + | #long |
- | { | + | { |
- | + | width:10em; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | |||
- | |||
- | |||
- | + | .navbar | |
- | + | { | |
+ | padding:0 20px; | ||
} | } | ||
Line 155: | Line 149: | ||
<!--navigation menu--> | <!--navigation menu--> | ||
- | <ul | + | <ul class="navbar"> |
<li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila">HOME</a></li> | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila">HOME</a></li> |
Revision as of 04:49, 28 March 2012