Team:TU Delft/menu2
From 2010.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
#navlist { | #navlist { | ||
- | margin: 0; | + | margin: 0; |
- | padding: 0 | + | padding: 0; |
- | + | ||
} | } | ||
#navlist li { | #navlist li { | ||
- | + | float: left; | |
- | list-style | + | list-style: none; |
- | + | font: 12px Tahoma, Arial; | |
- | + | ||
- | + | ||
} | } | ||
+ | #navlist li a { | ||
+ | display: block; | ||
+ | background: #20548E; | ||
+ | padding: 5px 12px; | ||
+ | text-decoration: none; | ||
+ | border-right: 1px solid white; | ||
+ | width: 70px; | ||
+ | color: #EAFFED; | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | |||
+ | #navlist li a:hover { | ||
+ | background: #1A4473; | ||
+ | } | ||
+ | |||
#navlist li ul { | #navlist li ul { | ||
- | + | margin: 0; | |
- | + | padding: 0; | |
- | + | position: absolute; | |
- | + | visibility: hidden; | |
- | + | border-top: 1px solid white; | |
- | + | ||
} | } | ||
#navlist li ul li { | #navlist li ul li { | ||
- | float: none; | + | float: none; |
- | display: | + | display: inline; |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
#navlist li ul li a { | #navlist li ul li a { | ||
- | + | width: auto; | |
+ | background: #9F1B1B; | ||
} | } | ||
- | + | ||
#navlist li ul li a:hover { | #navlist li ul li a:hover { | ||
- | + | background: #7F1616; | |
- | + | ||
} | } | ||
+ | |||
.menu_button { | .menu_button { | ||
- | display:block; | + | display:block; |
- | color: #fff; | + | color: #fff; |
- | border: none; | + | border: none; |
- | background-repeat: none; | + | background-repeat: none; |
- | height:45px; | + | height:45px; |
- | cursor: pointer; | + | cursor: pointer; |
} | } | ||
Revision as of 12:59, 16 July 2010