Template:Team:USyd-Australia/Template:NavStyle
From 2014.igem.org
(Difference between revisions)
Line 258: | Line 258: | ||
+ | /* PROJECT SUBMENU */ | ||
#subnav-3 { | #subnav-3 { | ||
Line 340: | Line 341: | ||
#subnav-3 li#nav-3-5 a.current { | #subnav-3 li#nav-3-5 a.current { | ||
background-position:-477px -477px -40px | background-position:-477px -477px -40px | ||
+ | } | ||
+ | |||
+ | /* PARTS SUBMENU */ | ||
+ | |||
+ | #subnav-4 { | ||
+ | width:570px; | ||
+ | list-style:none; | ||
+ | height:40px | ||
+ | } | ||
+ | |||
+ | |||
+ | #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:-328px -40px | ||
+ | } | ||
+ | #subnav-4 li#nav-4-4 a.current { | ||
+ | background-position:-328px -328px -40px | ||
+ | } | ||
+ | |||
+ | #subnav-4 li#nav-4-5 a { | ||
+ | width:143px; | ||
+ | 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:-427px -40px | ||
+ | } | ||
+ | #subnav-4 li#nav-4-5 a.current { | ||
+ | background-position:-427px -427px -40px | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 02:52, 18 October 2014