Template:Tsinghua
From 2010.igem.org
(Difference between revisions)
Line 51: | Line 51: | ||
.headerpic{ | .headerpic{ | ||
top: 0; | top: 0; | ||
- | |||
width: 996px; | width: 996px; | ||
margin: 0; | margin: 0; | ||
Line 61: | Line 60: | ||
width: 100%; | width: 100%; | ||
border: 0; | border: 0; | ||
+ | margin-left: 10%; | ||
position: absolute; | position: absolute; | ||
} | } | ||
#topbar{ width: 100%; height: 38px; margin-top: -4px; } | #topbar{ width: 100%; height: 38px; margin-top: -4px; } | ||
- | #topbar #topbarul {padding: 0px 2px; width: 1000px; left: 10%;} | + | #topbar #topbarul {padding: 0px 2px; width: 1000px; margin-left: 10%;} |
#topbar #topbarul li{ display: inline; float: left; margin: 0;} | #topbar #topbarul li{ display: inline; float: left; margin: 0;} | ||
#topbar #topbarul li a{float: left; height: 0; padding-top: 39px; overflow: hidden; background-repeat: no-repeat; background-image: url(https://static.igem.org/mediawiki/2010/a/ad/Menubg.png); } | #topbar #topbarul li a{float: left; height: 0; padding-top: 39px; overflow: hidden; background-repeat: no-repeat; background-image: url(https://static.igem.org/mediawiki/2010/a/ad/Menubg.png); } | ||
- | |||
#topbar #topbarul li#nav-home a{background-position: 0 0; width: 120px; } | #topbar #topbarul li#nav-home a{background-position: 0 0; width: 120px; } | ||
#topbar #topbarul li#nav-team a{background-position: -121px 0px; width: 93px; } | #topbar #topbarul li#nav-team a{background-position: -121px 0px; width: 93px; } | ||
Line 86: | Line 85: | ||
#topbar #topbarul li#nav-human a:hover, #bd_human #topbar #topbarul #nav-human a{background-position: -751px -42px; width: 250px; } | #topbar #topbarul li#nav-human a:hover, #bd_human #topbar #topbarul #nav-human a{background-position: -751px -42px; width: 250px; } | ||
- | #topbar #subnav {margin-left: 10%; margin-top: -2px; height: 23px; width: 995px; background-repeat: no-repeat; overflow: hidden; background-image: url(https://static.igem.org/mediawiki/2010/1/18/Subnav.png); background-position: 2px 0px | + | #topbar #subnav {margin-left: 10%; margin-top: -2px; height: 23px; width: 995px; background-repeat: no-repeat; overflow: hidden; background-image: url(https://static.igem.org/mediawiki/2010/1/18/Subnav.png); background-position: 2px 0px; } |
- | + | ||
- | + | ||
- | + | ||
#topbar #subnav li{ display: inline; float: left; } | #topbar #subnav li{ display: inline; float: left; } | ||
#topbar #subnav li a, #topbar #subnav li a:visited{float: left; color: white; font-family: Arial, Lucida, sans-serif; font-weight: bold; font-size: 12pt; text-decoration: none;} | #topbar #subnav li a, #topbar #subnav li a:visited{float: left; color: white; font-family: Arial, Lucida, sans-serif; font-weight: bold; font-size: 12pt; text-decoration: none;} |
Revision as of 10:16, 10 October 2010