Template:Team:UC Davis/Head
From 2013.igem.org
(Difference between revisions)
Arneckelmann (Talk | contribs) |
Arneckelmann (Talk | contribs) |
||
Line 27: | Line 27: | ||
width: 1000px; | width: 1000px; | ||
height: 43px; | height: 43px; | ||
+ | border-top-left-radius: 15px; | ||
+ | border-top-right-radius: 15px; | ||
+ | border-radius: 15px; | ||
/* Background & effects */ | /* Background & effects */ | ||
- | background: # | + | background: #494949; /* Background for Internet Explorer 9 and older browsers */ |
background: -webkit-linear-gradient(bottom, #444, #555); /* Background for Chrome & Safari */ | background: -webkit-linear-gradient(bottom, #444, #555); /* Background for Chrome & Safari */ | ||
background: -moz-linear-gradient(bottom, #444, #555); /* Background for Firefox */ | background: -moz-linear-gradient(bottom, #444, #555); /* Background for Firefox */ | ||
Line 50: | Line 53: | ||
/* Layout & positioning */ | /* Layout & positioning */ | ||
display: block; | display: block; | ||
- | width: | + | width: 164.65px; /* 198 */ |
- | padding: | + | padding: 11px 0px; |
border-right: 1px dotted #393939; | border-right: 1px dotted #393939; | ||
border-left: 1px dotted #595959; | border-left: 1px dotted #595959; | ||
Line 78: | Line 81: | ||
} | } | ||
- | + | .nav>li:first-child a { | |
+ | border-top-left-radius: 3px; | ||
+ | } | ||
/* The pointer arrow */ | /* The pointer arrow */ | ||
Line 107: | Line 112: | ||
} | } | ||
+ | .nav li:nth-child(1):hover ~ .arrow, .nav .active:nth-child(1) ~ .arrow { | ||
+ | left: 80px; | ||
+ | } | ||
+ | |||
+ | .nav li:nth-child(2):hover ~ .arrow, .nav .active:nth-child(1) ~ .arrow { | ||
+ | left: 247px; | ||
+ | } | ||
+ | .nav li:nth-child(3):hover ~ .arrow, .nav .active:nth-child(2) ~ .arrow { | ||
+ | left: 414px; | ||
+ | } | ||
+ | .nav li:nth-child(4):hover ~ .arrow, .nav .active:nth-child(3) ~ .arrow { | ||
+ | left: 580px; | ||
+ | } | ||
+ | .nav li:nth-child(5):hover ~ .arrow, .nav .active:nth-child(4) ~ .arrow { | ||
+ | left: 747px; | ||
+ | } | ||
+ | .nav li:nth-child(6):hover ~ .arrow, .nav .active:nth-child(5) ~ .arrow { | ||
+ | left: 914px; | ||
+ | } | ||
/* General styling for the submenus */ | /* General styling for the submenus */ | ||
Line 170: | Line 194: | ||
width: 136px; /* 169 */ | width: 136px; /* 169 */ | ||
- | padding: 6px 12px | + | padding: 6px 12px 6px 20px; |
/* Typography */ | /* Typography */ | ||
Line 193: | Line 217: | ||
text-align: center; | text-align: center; | ||
width: 100%; | width: 100%; | ||
- | height: | + | height: 12px; |
background: transparent; | background: transparent; | ||
top: -8px; | top: -8px; |
Revision as of 17:48, 8 August 2013