Template:Tsinghua
From 2010.igem.org
(Difference between revisions)
Line 59: | Line 59: | ||
position: absolute; | position: absolute; | ||
} | } | ||
+ | |||
+ | #topbar{ width: 100%; height: 39px; margin: 18px auto; } | ||
+ | #topbar #topbarul {padding:0; width: 1000px; margin-left: 10%;} | ||
+ | #topbar #topbarul li{ display: inline; } | ||
+ | #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-team a{background-position: -121px 0px; width: 93px; } | ||
+ | #topbar #topbarul li#nav-project a{background-position: -215px 0px; width: 138px; } | ||
+ | #topbar #topbarul li#nav-experiment a{background-position: -353px 0px; width: 162px; } | ||
+ | #topbar #topbarul li#nav-parts a{background-position: -516px 0px; width: 104px; } | ||
+ | #topbar #topbarul li#nav-support a{background-position: -621px 0px; width: 130px; } | ||
+ | #topbar #topbarul li#nav-human a{background-position: -751px 0px; width: 250px; } | ||
+ | |||
+ | #topbar #topbarul li#nav-home a:hover{background-position: 0 -42px; width: 120px; } | ||
+ | #topbar #topbarul li#nav-team a:hover{background-position: -121px -42px; width: 93px; } | ||
+ | #topbar #topbarul li#nav-project a:hover{background-position: -215px -42px; width: 138px; } | ||
+ | #topbar #topbarul li#nav-experiment a:hover{background-position: -353px -42px; width: 162px; } | ||
+ | #topbar #topbarul li#nav-parts a:hover{background-position: -516px -42px; width: 104px; } | ||
+ | #topbar #topbarul li#nav-support a:hover{background-position: -621px -42px; width: 130px; } | ||
+ | #topbar #topbarul li#nav-human a:hover{background-position: -751px -42px; width: 250px; } | ||
+ | |||
+ | |||
.left_gadget{ | .left_gadget{ | ||
Line 199: | Line 222: | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
#right_bar{ | #right_bar{ |
Revision as of 16:27, 7 October 2010