Team:UIUC-Illinois/DropdownTest
From 2012.igem.org
(Difference between revisions)
Line 134: | Line 134: | ||
/*--- DROPDOWN ---*/ | /*--- DROPDOWN ---*/ | ||
+ | |||
+ | #headernavigation{ | ||
+ | width: 1000px; | ||
+ | float: center; | ||
+ | background-color:#F47F24; | ||
+ | height: 60px; | ||
+ | -webkit-box-shadow: 0 8px 6px -6px black; | ||
+ | -moz-box-shadow: 0 8px 6px -6px black; | ||
+ | box-shadow: 0 8px 6px -6px black; | ||
+ | border: 10px solid rgba(255, 228, 196,0.4); | ||
+ | background-clip: padding-box; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | margin-top: -20px; | ||
+ | } | ||
+ | |||
#headernavbar ul{ | #headernavbar ul{ | ||
- | background:#fff; | + | background:#fff; |
- | + | ||
list-style:none; | list-style:none; | ||
position:absolute; | position:absolute; | ||
- | left:-9999px; | + | left:-9999px; |
} | } | ||
#headernavbar ul li{ | #headernavbar ul li{ | ||
- | padding-top:1px; | + | padding-top:1px; |
float:none; | float:none; | ||
} | } | ||
#headernavbar ul a{ | #headernavbar ul a{ | ||
- | white-space:nowrap; | + | white-space:nowrap; |
} | } | ||
- | #headernavbar li:hover ul{ | + | #headernavbar li:hover ul{ |
- | left:0; | + | left:0; |
} | } | ||
- | #headernavbar li:hover a{ | + | #headernavbar li:hover a{ |
background:#6b0c36; | background:#6b0c36; | ||
text-decoration:underline; | text-decoration:underline; | ||
} | } | ||
- | #headernavbar li:hover ul a{ | + | #headernavbar li:hover ul a{ |
text-decoration:none; | text-decoration:none; | ||
} | } | ||
- | #headernavbar li:hover ul li a:hover{ | + | #headernavbar li:hover ul li a:hover{ |
background:#333; | background:#333; | ||
} | } |
Revision as of 17:40, 31 May 2012