Template:Team:BGU Israel/style.css
From 2014.igem.org
(Difference between revisions)
Line 2,493: | Line 2,493: | ||
nav ul li a { | nav ul li a { | ||
- | + | padding: 7px 15px 7px 15px; | |
- | + | color: #474343; | |
- | + | margin-left: 1px; | |
- | + | height: 30px; /* Width and height of top-level nav items */ | |
- | + | text-align: center; | |
- | + | display: table-cell; | |
- | + | vertical-align: middle; | |
- | + | background-color: transparent; | |
- | + | ||
- | + | ||
} | } | ||
Line 2,528: | Line 2,526: | ||
border-style: dashed; | border-style: dashed; | ||
border-radius: 0px / 6px; | border-radius: 0px / 6px; | ||
+ | background:#b4dee1; | ||
} | } | ||
nav li:hover a { | nav li:hover a { | ||
- | background: | + | background: transparent; |
height:30px; /* Height of lower-level nav items is shorter than main level */ | height:30px; /* Height of lower-level nav items is shorter than main level */ | ||
} | } | ||
nav li:hover li a:hover { | nav li:hover li a:hover { | ||
- | background: | + | background: ; |
} | } | ||
nav ul li ul li a { | nav ul li ul li a { | ||
- | text-align:left; /* Top-level items are centered, but nested list items are left-aligned */ | + | text-align:left; |
+ | background:#b4dee1; /* Top-level items are centered, but nested list items are left-aligned */ | ||
} | } | ||
Revision as of 10:47, 14 October 2014