Template:Team:USyd-Australia/Template:NavStyle
From 2014.igem.org
(Difference between revisions)
(27 intermediate revisions not shown) | |||
Line 7: | Line 7: | ||
<style type="text/css"> | <style type="text/css"> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
/* Image based toolbar */ | /* Image based toolbar */ | ||
Line 87: | Line 12: | ||
#navcontainer { | #navcontainer { | ||
position: relative; | position: relative; | ||
+ | left: -24px; | ||
} | } | ||
ul#navigation { | ul#navigation { | ||
Line 203: | Line 129: | ||
position: absolute; | position: absolute; | ||
top: 15px; | top: 15px; | ||
- | + | height: 40px; | |
- | height: | + | |
width: 100%; | width: 100%; | ||
z-index: 1; | z-index: 1; | ||
Line 217: | Line 142: | ||
list-style: none; | list-style: none; | ||
position: absolute; | position: absolute; | ||
- | left: | + | left:5px; |
- | top: | + | top: 25px; |
height: 40px; | height: 40px; | ||
- | |||
z-index: 1; | z-index: 1; | ||
display: block; | display: block; | ||
Line 233: | Line 157: | ||
position: relative; | position: relative; | ||
width: auto; | width: auto; | ||
- | height: | + | height: 40px |
} | } | ||
.subnav li a { | .subnav li a { | ||
display:block; | display:block; | ||
- | height: | + | height:39px; |
float:left; | float:left; | ||
text-indent:-9999px; | text-indent:-9999px; | ||
- | text-decoration:none | + | text-decoration:none |
+ | border-bottom: 5px solid transparent; | ||
} | } | ||
- | /* | + | /* |
3-1: Background | 3-1: Background | ||
Line 259: | Line 184: | ||
- | + | /* PROJECT SUBMENU */ | |
+ | |||
+ | #subnav-3 { | ||
+ | width:619px; | ||
+ | left: 5px; | ||
+ | } | ||
+ | |||
+ | |||
+ | #subnav-3 li a { | ||
+ | height:40px; | ||
+ | float:left; | ||
+ | text-indent:-9999px; | ||
+ | text-decoration:none | ||
+ | } | ||
+ | |||
+ | #subnav-3 li a span { | ||
float:left; | float:left; | ||
display:block | display:block | ||
} | } | ||
- | + | #subnav-3 li#nav-3-1 a { | |
width:157px; | width:157px; | ||
background:url(https://static.igem.org/mediawiki/2014/c/cb/USyd-Australia_Project-submenu.png) no-repeat 0px 0 | background:url(https://static.igem.org/mediawiki/2014/c/cb/USyd-Australia_Project-submenu.png) no-repeat 0px 0 | ||
} | } | ||
- | + | #subnav-3 li#nav-3-1 a:active, | |
- | + | #subnav-3 li#nav-3-1 a:hover { | |
background-position:0px -40px | background-position:0px -40px | ||
} | } | ||
- | + | #subnav-3 li#nav-3-1 a.current { | |
background-position:0px 0px -40px | background-position:0px 0px -40px | ||
} | } | ||
- | + | #subnav-3 li#nav-3-2 a { | |
- | width: | + | width:91px; |
background:url(https://static.igem.org/mediawiki/2014/c/cb/USyd-Australia_Project-submenu.png) no-repeat -157px 0 | background:url(https://static.igem.org/mediawiki/2014/c/cb/USyd-Australia_Project-submenu.png) no-repeat -157px 0 | ||
} | } | ||
- | + | #subnav-3 li#nav-3-2 a:active, | |
- | + | #subnav-3 li#nav-3-2 a:hover { | |
background-position:-157px -40px | background-position:-157px -40px | ||
} | } | ||
- | + | #subnav-3 li#nav-3-2 a.current { | |
background-position:-157px -157px -40px | background-position:-157px -157px -40px | ||
} | } | ||
- | + | #subnav-3 li#nav-3-3 a { | |
width:115px; | width:115px; | ||
- | background:url(https://static.igem.org/mediawiki/2014/c/cb/USyd-Australia_Project-submenu.png) no-repeat - | + | background:url(https://static.igem.org/mediawiki/2014/c/cb/USyd-Australia_Project-submenu.png) no-repeat -248px 0 |
} | } | ||
- | + | #subnav-3 li#nav-3-3 a:active, | |
- | + | #subnav-3 li#nav-3-3 a:hover { | |
- | background-position:- | + | background-position:-248px -40px |
} | } | ||
- | + | #subnav-3 li#nav-3-3 a.current { | |
- | background-position:- | + | background-position:-248px -248px -40px |
} | } | ||
- | .subnav li#nav-3-4 a { | + | #subnav-3 li#nav-3-4 a { |
- | width: | + | width:114px; |
- | background:url(https://static.igem.org/mediawiki/2014/c/cb/USyd-Australia_Project-submenu.png) no-repeat - | + | background:url(https://static.igem.org/mediawiki/2014/c/cb/USyd-Australia_Project-submenu.png) no-repeat -363px 0 |
+ | } | ||
+ | |||
+ | #subnav-3 li#nav-3-4 a:active, | ||
+ | #subnav-3 li#nav-3-4 a:hover { | ||
+ | background-position:-363px -40px | ||
+ | } | ||
+ | #subnav-3 li#nav-3-4 a.current { | ||
+ | background-position:-363px -363px -40px | ||
+ | } | ||
+ | |||
+ | #subnav-3 li#nav-3-5 a { | ||
+ | width:142px; | ||
+ | background:url(https://static.igem.org/mediawiki/2014/c/cb/USyd-Australia_Project-submenu.png) no-repeat -477px 0 | ||
+ | } | ||
+ | |||
+ | #subnav-3 li#nav-3-5 a:active, | ||
+ | #subnav-3 li#nav-3-5 a:hover { | ||
+ | background-position:-477px -40px | ||
+ | } | ||
+ | #subnav-3 li#nav-3-5 a.current { | ||
+ | background-position:-477px -477px -40px | ||
+ | } | ||
+ | |||
+ | /* PARTS SUBMENU */ | ||
+ | |||
+ | #subnav-4 { | ||
+ | width:570px; | ||
+ | left: 154px; | ||
+ | } | ||
+ | |||
+ | |||
+ | #subnav-4 li a { | ||
+ | height:40px; | ||
+ | float:left; | ||
+ | text-indent:-9999px; | ||
+ | text-decoration:none | ||
+ | } | ||
+ | |||
+ | #subnav-4 li a span { | ||
+ | float:left; | ||
+ | display:block | ||
+ | } | ||
+ | |||
+ | #subnav-4 li#nav-4-1 a { | ||
+ | width:129px; | ||
+ | background:url(https://static.igem.org/mediawiki/2014/4/4a/USyd-Australia_Parts-submenu.png) no-repeat 0px 0 | ||
+ | } | ||
+ | |||
+ | #subnav-4 li#nav-4-1 a:active, | ||
+ | #subnav-4 li#nav-4-1 a:hover { | ||
+ | background-position:0px -40px | ||
+ | } | ||
+ | #subnav-4 li#nav-4-1 a.current { | ||
+ | background-position:0px 0px -40px | ||
+ | } | ||
+ | |||
+ | #subnav-4 li#nav-4-2 a { | ||
+ | width:99px; | ||
+ | background:url(https://static.igem.org/mediawiki/2014/4/4a/USyd-Australia_Parts-submenu.png) no-repeat -129px 0 | ||
+ | } | ||
+ | |||
+ | #subnav-4 li#nav-4-2 a:active, | ||
+ | #subnav-4 li#nav-4-2 a:hover { | ||
+ | background-position:-129px -40px | ||
+ | } | ||
+ | #subnav-4 li#nav-4-2 a.current { | ||
+ | background-position:-129px -129px -40px | ||
+ | } | ||
+ | |||
+ | #subnav-4 li#nav-4-3 a { | ||
+ | width:100px; | ||
+ | background:url(https://static.igem.org/mediawiki/2014/4/4a/USyd-Australia_Parts-submenu.png) no-repeat -228px 0 | ||
+ | } | ||
+ | |||
+ | #subnav-4 li#nav-4-3 a:active, | ||
+ | #subnav-4 li#nav-4-3 a:hover { | ||
+ | background-position:-228px -40px | ||
+ | } | ||
+ | #subnav-4 li#nav-4-3 a.current { | ||
+ | background-position:-228px -228px -40px | ||
+ | } | ||
+ | |||
+ | #subnav-4 li#nav-4-4 a { | ||
+ | width:99px; | ||
+ | background:url(https://static.igem.org/mediawiki/2014/4/4a/USyd-Australia_Parts-submenu.png) no-repeat -328px 0 | ||
} | } | ||
- | + | #subnav-4 li#nav-4-4 a:active, | |
- | + | #subnav-4 li#nav-4-4 a:hover { | |
- | background-position:- | + | background-position:-328px -40px |
} | } | ||
- | + | #subnav-4 li#nav-4-4 a.current { | |
- | background-position:- | + | background-position:-328px -328px -40px |
} | } | ||
- | + | #subnav-4 li#nav-4-5 a { | |
width:143px; | width:143px; | ||
- | background:url(https://static.igem.org/mediawiki/2014/ | + | background:url(https://static.igem.org/mediawiki/2014/4/4a/USyd-Australia_Parts-submenu.png) no-repeat -427px 0 |
} | } | ||
- | + | #subnav-4 li#nav-4-5 a:active, | |
- | + | #subnav-4 li#nav-4-5 a:hover { | |
- | background-position:- | + | background-position:-427px -40px |
} | } | ||
- | + | #subnav-4 li#nav-4-5 a.current { | |
- | background-position:- | + | background-position:-427px -427px -40px |
} | } | ||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 03:57, 18 October 2014