Team:UPIBI-Mexico/Templates/Main
From 2012.igem.org
(Difference between revisions)
Line 86: | Line 86: | ||
/* Header */ | /* Header */ | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
#header | #header | ||
Line 119: | Line 108: | ||
} | } | ||
+ | #headernavigation | ||
+ | { | ||
+ | width:1000px; | ||
+ | float:center; | ||
+ | background-color: transparent; | ||
+ | height:60px; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | margin-top: 10px; | ||
+ | margin-bottom: 10px; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | #headernavbar | ||
+ | { | ||
+ | list-style:none; | ||
+ | font-weight:bold; | ||
+ | float:left; | ||
+ | width:100%; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | |||
+ | #headernavbar li | ||
+ | { | ||
+ | float:left; | ||
+ | position:relative; | ||
+ | text-align:center; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | |||
+ | #headernavbar a | ||
+ | { | ||
+ | margin-left:0px; | ||
+ | display:block; | ||
+ | padding-bottom:5px; | ||
+ | padding-top:5px; | ||
+ | width: 166.5px; | ||
+ | color:#ffffff; | ||
+ | background:rgba(0, 128, 0, 0.8); | ||
+ | font: bold 16px Times New Roman; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | |||
+ | #headernavbar a:hover | ||
+ | { | ||
+ | color:#ffffff; | ||
+ | background:rgba(0, 0, 255, 0.2); | ||
+ | text-decoration:none; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | |||
+ | #headernavbar ul | ||
+ | { | ||
+ | background:rgba(0, 0, 255, 0.2); | ||
+ | list-style:none; | ||
+ | position:absolute; | ||
+ | left:-9999px; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | |||
+ | #headernavbar ul li | ||
+ | { | ||
+ | padding-top:0px; | ||
+ | float:none; | ||
+ | margin-top:-3px; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | |||
+ | #headernavbar ul a | ||
+ | { | ||
+ | white-space:nowrap; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | |||
+ | #headernavbar li:hover ul | ||
+ | { | ||
+ | left: -15px; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | |||
+ | #headernavbar li:hover a | ||
+ | { | ||
+ | background:rgba(0, 0, 255, 0.5); | ||
+ | text-decoration:none; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | |||
+ | #headernavbar li:hover ul a | ||
+ | { | ||
+ | text-decoration:none; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | |||
+ | #headernavbar li:hover ul li a:hover | ||
+ | { | ||
+ | background:rgba(0, 0, 255, 0.2); | ||
+ | z-index: 2; | ||
+ | } | ||
/* Main Page */ | /* Main Page */ |
Revision as of 18:11, 12 July 2012