Team:UGent/Templates/Header
From 2013.igem.org
(Difference between revisions)
Line 50: | Line 50: | ||
<!-- ####### Drop down ####### --> | <!-- ####### Drop down ####### --> | ||
<html> | <html> | ||
- | < | + | <style> |
- | + | #navigation { | |
- | + | padding: 0px; | |
+ | position: relative; | ||
+ | color:rgb(0,33,67); | ||
+ | height:30px; | ||
+ | } | ||
- | + | #navigation, #navigation ul { | |
- | + | list-style-type:none; | |
- | + | list-style-image: none; | |
+ | margin:0; | ||
+ | } | ||
- | + | #navigation ul li { | |
- | + | background: transparent; | |
- | + | color:rgb(0,33,67); | |
- | + | width:158px; | |
- | + | float:left; | |
+ | position: relative; | ||
+ | margin:0; | ||
+ | } | ||
- | + | #navigation ul li:hover { | |
- | + | background:rgb(0,33,67); | |
+ | color:white; | ||
+ | width:158px; | ||
+ | float:left; | ||
+ | position: relative; | ||
+ | margin:0; | ||
+ | } | ||
- | + | #navigation ul li a { | |
- | + | text-align: center; | |
- | + | padding:5px; | |
+ | display:block; | ||
+ | text-decoration:none; | ||
+ | color:rgb(0,33,67); | ||
+ | } | ||
+ | #navigation ul li:hover a { | ||
+ | text-align: center; | ||
+ | padding:5px; | ||
+ | display:block; | ||
+ | text-decoration:none; | ||
+ | color:white; | ||
} | } | ||
- | + | ||
- | + | #navigation ul li ul { | |
- | { | + | display:none; |
- | + | } | |
+ | #navigation ul li:hover ul { | ||
+ | display: block; | ||
+ | position: absolute; | ||
} | } | ||
- | + | #navigation ul li ul li { | |
- | + | text-align:left; | |
- | + | z-index:999; | |
- | + | ||
} | } | ||
- | + | #navigation ul li:hover ul li a { | |
- | + | background:#fff; | |
- | { | + | color:rgb(0,33,67); |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #navigation ul li:hover ul li a:hover { | |
- | + | background:rgb(0,33,67); | |
- | + | color:white; | |
- | + | } | |
- | + | ||
- | # | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | { | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 13:03, 11 September 2013
|
|||
|