Template:UIUC Illinois CSS
From 2012.igem.org
(Difference between revisions)
Line 80: | Line 80: | ||
} | } | ||
- | .headerclass1 | + | ul.headerclass1{ |
- | + | list-style-type:none; | |
- | + | margin:0; | |
- | + | padding:0; | |
- | + | text-align:center; | |
- | + | font: bold 16px Arial; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | .headerclass1 | + | ul.headerclass1 li{ |
- | + | display:inline; | |
+ | margin-right:25px; | ||
} | } | ||
+ | |||
+ | ul.headerclass1 li a{ | ||
+ | position:relative; | ||
+ | color:white; | ||
+ | padding-bottom:8px; | ||
+ | text-decoration:none; | ||
+ | |||
+ | } | ||
+ | |||
+ | ul.headerclass1 li a:hover{ | ||
+ | border-bottom:3px solid orange; | ||
+ | } | ||
+ | |||
+ | ul.headerclass1 li a:hover:after{ | ||
+ | content:''; | ||
+ | width:0; | ||
+ | height:0; | ||
+ | position:absolute; | ||
+ | left:50%; | ||
+ | margin-left:-5px; | ||
+ | bottom: 0; | ||
+ | border-width:5px; | ||
+ | border-style:solid; | ||
+ | border-color: transparent transparent orange transparent; | ||
+ | } | ||
+ | |||
/* Header */ | /* Header */ |
Revision as of 04:15, 30 May 2012