Template:Team:USyd-Australia/Template:NavStyle
From 2014.igem.org
(Difference between revisions)
Line 266: | Line 266: | ||
.subnav li#nav-3-1 a { | .subnav li#nav-3-1 a { | ||
width:157px; | width:157px; | ||
- | 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 0px 0 |
} | } | ||
.subnav li#nav-3-1 a:active, | .subnav li#nav-3-1 a:active, | ||
.subnav li#nav-3-1 a:hover { | .subnav li#nav-3-1 a:hover { | ||
- | background-position:0px - | + | background-position:0px -40px |
} | } | ||
.subnav li#nav-3-1 a.current { | .subnav li#nav-3-1 a.current { | ||
- | background-position:0px 0px - | + | background-position:0px 0px -40px |
} | } | ||
.subnav li#nav-3-2 a { | .subnav li#nav-3-2 a { | ||
width:93px; | width:93px; | ||
- | 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 -157px 0 |
} | } | ||
.subnav li#nav-3-2 a:active, | .subnav li#nav-3-2 a:active, | ||
.subnav li#nav-3-2 a:hover { | .subnav li#nav-3-2 a:hover { | ||
- | background-position:-157px - | + | background-position:-157px -40px |
} | } | ||
.subnav li#nav-3-2 a.current { | .subnav li#nav-3-2 a.current { | ||
- | background-position:-157px -157px - | + | background-position:-157px -157px -40px |
} | } | ||
.subnav li#nav-3-3 a { | .subnav li#nav-3-3 a { | ||
width:115px; | width:115px; | ||
- | 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 -250px 0 |
} | } | ||
.subnav li#nav-3-3 a:active, | .subnav li#nav-3-3 a:active, | ||
.subnav li#nav-3-3 a:hover { | .subnav li#nav-3-3 a:hover { | ||
- | background-position:-250px - | + | background-position:-250px -40px |
} | } | ||
.subnav li#nav-3-3 a.current { | .subnav li#nav-3-3 a.current { | ||
- | background-position:-250px -250px - | + | background-position:-250px -250px -40px |
} | } | ||
.subnav li#nav-3-4 a { | .subnav li#nav-3-4 a { | ||
width:115px; | width:115px; | ||
- | 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 -365px 0 |
} | } | ||
.subnav li#nav-3-4 a:active, | .subnav li#nav-3-4 a:active, | ||
.subnav li#nav-3-4 a:hover { | .subnav li#nav-3-4 a:hover { | ||
- | background-position:-365px - | + | background-position:-365px -40px |
} | } | ||
.subnav li#nav-3-4 a.current { | .subnav li#nav-3-4 a.current { | ||
- | background-position:-365px -365px - | + | background-position:-365px -365px -40px |
} | } | ||
.subnav li#nav-3-5 a { | .subnav li#nav-3-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 -480px 0 |
} | } | ||
.subnav li#nav-3-5 a:active, | .subnav li#nav-3-5 a:active, | ||
.subnav li#nav-3-5 a:hover { | .subnav li#nav-3-5 a:hover { | ||
- | background-position:-480px - | + | background-position:-480px -40px |
} | } | ||
.subnav li#nav-3-5 a.current { | .subnav li#nav-3-5 a.current { | ||
- | background-position:-480px -480px - | + | background-position:-480px -480px -40px |
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 02:29, 18 October 2014