Template:Team:USyd-Australia/Template:NavStyle
From 2014.igem.org
(Difference between revisions)
Line 29: | Line 29: | ||
#menubar { | #menubar { | ||
width: auto;} | width: auto;} | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
/* Remove Edit Section Link */ | /* Remove Edit Section Link */ | ||
Line 94: | Line 76: | ||
/* Banner Image Positioning*/ | /* Banner Image Positioning*/ | ||
#topbanner{ | #topbanner{ | ||
- | margin-left:35px; | + | margin-left: -35px; |
- | margin-top: | + | margin-top: -20px;} |
- | + | ||
+ | #bottombanner{ | ||
+ | margin-left: -35px; | ||
+ | } | ||
/* Image based toolbar */ | /* Image based toolbar */ | ||
+ | #navcontainer { | ||
+ | position: relative; | ||
+ | } | ||
ul#navigation { | ul#navigation { | ||
width:971px; | width:971px; | ||
Line 107: | Line 94: | ||
} | } | ||
- | ul#navigation li { | + | ul#navigation > li { |
display:inline | display:inline | ||
} | } | ||
- | ul#navigation li a { | + | ul#navigation > li > a { |
height:41px; | height:41px; | ||
float:left; | float:left; | ||
Line 118: | Line 105: | ||
} | } | ||
- | ul#navigation | + | ul#navigation > li#navigation-1 > a { |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
width:141px; | width:141px; | ||
background:url(https://static.igem.org/mediawiki/2014/3/33/USyd-Australia_Nav_Bar_DNA.png) no-repeat 0px 0 | background:url(https://static.igem.org/mediawiki/2014/3/33/USyd-Australia_Nav_Bar_DNA.png) no-repeat 0px 0 | ||
} | } | ||
- | ul#navigation li#navigation-1 a:active, | + | ul#navigation > li#navigation-1 > a:active, |
- | ul#navigation li#navigation-1 a:hover { | + | ul#navigation > li#navigation-1 > a:hover { |
background-position:0px -41px | background-position:0px -41px | ||
} | } | ||
- | ul#navigation li#navigation-1 a.current { | + | ul#navigation > li#navigation-1 > a.current { |
background-position:0px 0px -41px | background-position:0px 0px -41px | ||
} | } | ||
- | ul#navigation li#navigation-2 a { | + | ul#navigation > li#navigation-2 > a { |
width:106px; | width:106px; | ||
background:url(https://static.igem.org/mediawiki/2014/3/33/USyd-Australia_Nav_Bar_DNA.png) no-repeat -141px 0 | background:url(https://static.igem.org/mediawiki/2014/3/33/USyd-Australia_Nav_Bar_DNA.png) no-repeat -141px 0 | ||
} | } | ||
- | ul#navigation li#navigation-2 a:active, | + | ul#navigation > li#navigation-2 > a:active, |
- | ul#navigation li#navigation-2 a:hover { | + | ul#navigation > li#navigation-2 > a:hover { |
background-position:-141px -41px | background-position:-141px -41px | ||
} | } | ||
- | ul#navigation li#navigation-2 a.current { | + | ul#navigation > li#navigation-2 > a.current { |
background-position:-141px -141px -41px | background-position:-141px -141px -41px | ||
} | } | ||
- | ul#navigation li#navigation-3 a { | + | ul#navigation > li#navigation-3 > a { |
width:135px; | width:135px; | ||
background:url(https://static.igem.org/mediawiki/2014/3/33/USyd-Australia_Nav_Bar_DNA.png) no-repeat -247px 0 | background:url(https://static.igem.org/mediawiki/2014/3/33/USyd-Australia_Nav_Bar_DNA.png) no-repeat -247px 0 | ||
} | } | ||
- | ul#navigation li#navigation-3 a:active, | + | ul#navigation > li#navigation-3 > a:active, |
- | ul#navigation li#navigation-3 a:hover { | + | ul#navigation > li#navigation-3 > a:hover { |
background-position:-247px -41px | background-position:-247px -41px | ||
} | } | ||
- | ul#navigation li#navigation-3 a.current { | + | ul#navigation > li#navigation-3 > a.current { |
background-position:-247px -247px -41px | background-position:-247px -247px -41px | ||
} | } | ||
- | ul#navigation li#navigation-4 a { | + | ul#navigation > li#navigation-4 > a { |
width:113px; | width:113px; | ||
background:url(https://static.igem.org/mediawiki/2014/3/33/USyd-Australia_Nav_Bar_DNA.png) no-repeat -382px 0 | background:url(https://static.igem.org/mediawiki/2014/3/33/USyd-Australia_Nav_Bar_DNA.png) no-repeat -382px 0 | ||
} | } | ||
- | ul#navigation li#navigation-4 a:active, | + | ul#navigation > li#navigation-4 > a:active, |
- | ul#navigation li#navigation-4 a:hover { | + | ul#navigation > li#navigation-4 > a:hover { |
background-position:-382px -41px | background-position:-382px -41px | ||
} | } | ||
- | ul#navigation li#navigation-4 a.current { | + | ul#navigation > li#navigation-4 > a.current { |
background-position:-382px -382px -41px | background-position:-382px -382px -41px | ||
} | } | ||
- | ul#navigation li#navigation-5 a { | + | ul#navigation > li#navigation-5 > a { |
width:148px; | width:148px; | ||
background:url(https://static.igem.org/mediawiki/2014/3/33/USyd-Australia_Nav_Bar_DNA.png) no-repeat -495px 0 | background:url(https://static.igem.org/mediawiki/2014/3/33/USyd-Australia_Nav_Bar_DNA.png) no-repeat -495px 0 | ||
} | } | ||
- | ul#navigation li#navigation-5 a:active, | + | ul#navigation > li#navigation-5 > a:active, |
- | ul#navigation li#navigation-5 a:hover { | + | ul#navigation > li#navigation-5 > a:hover { |
background-position:-495px -41px | background-position:-495px -41px | ||
} | } | ||
- | ul#navigation li#navigation-5 a.current { | + | ul#navigation > li#navigation-5 > a.current { |
background-position:-495px -495px -41px | background-position:-495px -495px -41px | ||
} | } | ||
- | ul#navigation li#navigation-6 a { | + | ul#navigation > li#navigation-6 > a { |
width:124px; | width:124px; | ||
background:url(https://static.igem.org/mediawiki/2014/3/33/USyd-Australia_Nav_Bar_DNA.png) no-repeat -643px 0 | background:url(https://static.igem.org/mediawiki/2014/3/33/USyd-Australia_Nav_Bar_DNA.png) no-repeat -643px 0 | ||
} | } | ||
- | ul#navigation li#navigation-6 a:active, | + | ul#navigation > li#navigation-6 > a:active, |
- | ul#navigation li#navigation-6 a:hover { | + | ul#navigation > li#navigation-6 > a:hover { |
background-position:-643px -41px | background-position:-643px -41px | ||
} | } | ||
- | ul#navigation li#navigation-6 a.current { | + | ul#navigation > li#navigation-6 > a.current { |
background-position:-643px -643px -41px | background-position:-643px -643px -41px | ||
} | } | ||
- | ul#navigation li#navigation-7 a { | + | ul#navigation > li#navigation-7 > a { |
width:204px; | width:204px; | ||
background:url(https://static.igem.org/mediawiki/2014/3/33/USyd-Australia_Nav_Bar_DNA.png) no-repeat -767px 0 | background:url(https://static.igem.org/mediawiki/2014/3/33/USyd-Australia_Nav_Bar_DNA.png) no-repeat -767px 0 | ||
} | } | ||
- | ul#navigation li#navigation-7 a:active, | + | ul#navigation > li#navigation-7 > a:active, |
- | ul#navigation li#navigation-7 a:hover { | + | ul#navigation > li#navigation-7 > a:hover { |
background-position:-767px -41px | background-position:-767px -41px | ||
} | } | ||
- | ul#navigation li#navigation-7 a.current { | + | ul#navigation > li#navigation-7 > a.current { |
background-position:-767px -767px -41px | background-position:-767px -767px -41px | ||
} | } | ||
- | |||
/* Horizontal drop-down */ | /* Horizontal drop-down */ |
Revision as of 18:36, 17 October 2014