Template:Team:Uppsala/styles
From 2013.igem.org
(Difference between revisions)
Line 87: | Line 87: | ||
height: 55px; | height: 55px; | ||
} | } | ||
- | + | ||
- | + | ||
section | section | ||
Line 119: | Line 118: | ||
#list_type1{width: 110px;}#list_type2{width: 80px;}#list_type3{width: 120px;}#list_type4{width: 150px;} | #list_type1{width: 110px;}#list_type2{width: 80px;}#list_type3{width: 120px;}#list_type4{width: 150px;} | ||
- | nav ul ul { | + | #nav ul ul { |
display: none; | display: none; | ||
z-index: 1; | z-index: 1; | ||
} | } | ||
- | nav ul li:hover > ul { | + | #nav ul li:hover > ul { |
display: block; | display: block; | ||
} | } | ||
- | nav ul { | + | #nav ul { |
list-style: none; | list-style: none; | ||
position: relative; | position: relative; | ||
Line 134: | Line 133: | ||
} | } | ||
- | nav ul:after { | + | #nav ul:after { |
content: ""; clear: both; display: block; | content: ""; clear: both; display: block; | ||
} | } | ||
- | nav ul li | + | #nav ul li |
{ | { | ||
padding-top: 0.8%; | padding-top: 0.8%; | ||
Line 146: | Line 145: | ||
} | } | ||
- | nav ul li a { | + | #nav ul li a { |
text-align: center; | text-align: center; | ||
display: block; | display: block; | ||
Line 158: | Line 157: | ||
} | } | ||
- | nav ul li:hover | + | #nav ul li:hover |
{ | { | ||
background: #0089d1; | background: #0089d1; | ||
} | } | ||
- | nav ul li:hover img.nav-text2{ | + | #nav ul li:hover img.nav-text2{ |
background: none; | background: none; | ||
z-index: 3; | z-index: 3; | ||
} | } | ||
- | nav ul li:hover li .nav-text | + | #nav ul li:hover li .nav-text |
{ | { | ||
background: #0089d1; | background: #0089d1; | ||
Line 172: | Line 171: | ||
} | } | ||
- | nav ul ul | + | #nav ul ul |
{ | { | ||
background: #22409a; | background: #22409a; | ||
Line 180: | Line 179: | ||
top: 100%; | top: 100%; | ||
} | } | ||
- | nav ul ul li { | + | #nav ul ul li { |
padding-top: 10px; | padding-top: 10px; | ||
width: 150px; | width: 150px; | ||
Line 187: | Line 186: | ||
} | } | ||
- | nav ul ul li a { | + | #nav ul ul li a { |
color: #fff; | color: #fff; | ||
font-weight: bold; | font-weight: bold; | ||
Line 193: | Line 192: | ||
} | } | ||
- | nav ul ul li a:hover { | + | #nav ul ul li a:hover { |
background: #0089d1; | background: #0089d1; | ||
} | } |
Revision as of 20:10, 15 August 2013