Team:TU Delft/menu2
From 2010.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
#navlist { | #navlist { | ||
- | + | margin: 0; | |
- | + | padding: 0; | |
+ | margin-left: 8px; | ||
} | } | ||
#navlist li { | #navlist li { | ||
- | + | display: block; | |
- | + | list-style-type: none; | |
- | + | float:left; | |
+ | padding: 0; | ||
+ | margin: 0; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
#navlist li ul { | #navlist li ul { | ||
- | + | position: absolute; | |
- | + | visibility: hidden; | |
- | + | background-color: #fff; | |
- | + | margin:0; | |
- | + | padding:0; | |
+ | z-index:100; | ||
} | } | ||
#navlist li ul li { | #navlist li ul li { | ||
- | + | float: none; | |
- | + | display: block; | |
+ | list-style-type:none; | ||
+ | float:left; | ||
+ | clear:both; | ||
+ | z-index:100; | ||
+ | border: 1px solid #775dde; | ||
+ | width: 150px; | ||
+ | padding: 3px; | ||
} | } | ||
- | + | ||
#navlist li ul li a { | #navlist li ul li a { | ||
- | + | color: #222; | |
- | + | ||
} | } | ||
- | + | ||
#navlist li ul li a:hover { | #navlist li ul li a:hover { | ||
- | + | color: #000; | |
+ | text-decoration: underline; | ||
} | } | ||
- | |||
.menu_button { | .menu_button { | ||
- | + | display:block; | |
- | + | color: #fff; | |
- | + | border: none; | |
- | + | background-repeat: none; | |
- | + | height:45px; | |
- | + | cursor: pointer; | |
} | } | ||
Revision as of 13:02, 16 July 2010