Template:SCU-head
From 2013.igem.org
(Difference between revisions)
Zhangbingbio (Talk | contribs) |
Zhangbingbio (Talk | contribs) |
||
Line 1: | Line 1: | ||
- | + | ||
- | + | <head> | |
- | + | ||
- | + | <style type="text/css"> | |
- | + | <!-- | |
- | + | body { | |
- | + | margin:0; | |
- | + | padding:0; | |
- | + | font: bold 11px/1.5em Verdana; | |
- | + | } | |
- | + | ||
+ | |||
+ | img { | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | #SCU { | ||
+ | float:left; | ||
+ | width:100%; | ||
+ | font-size:93%; | ||
+ | border-bottom:1px solid #F45551; | ||
+ | line-height:normal; | ||
+ | } | ||
+ | #SCU ul { | ||
+ | margin:0; | ||
+ | padding:10px 10px 0 50px; | ||
+ | list-style:none; | ||
+ | } | ||
+ | #SCU li { | ||
+ | display:inline; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | |||
+ | } | ||
+ | #SCU a { | ||
+ | float:left; | ||
+ | |||
+ | margin:0; | ||
+ | padding:0 0 0 0; | ||
+ | text-decoration:none; | ||
+ | } | ||
+ | #SCU a span { | ||
+ | float:left; | ||
+ | display:block; | ||
+ | background:url("SCU-bar.gif") no-repeat right top; | ||
+ | padding:5px 15px 4px 6px; | ||
+ | color:#FFF; | ||
+ | |||
+ | } | ||
+ | /* Commented Backslash Hack hides rule from IE5-Mac \*/ | ||
+ | #SCU a span {float:none;} | ||
+ | /* End IE5-Mac hack */ | ||
+ | #SCU a:hover span { | ||
+ | color:#FFF; | ||
+ | } | ||
+ | #SCU a:hover { | ||
+ | background-position:0% -42px; | ||
+ | } | ||
+ | #SCU a:hover span { | ||
+ | background-position:100% -42px; | ||
+ | } | ||
+ | |||
+ | #SCU #current a { | ||
+ | background-position:0% -42px; | ||
+ | } | ||
+ | #SCU #current a span { | ||
+ | background-position:100% -42px; | ||
+ | } | ||
+ | --> | ||
+ | |||
+ | </style> | ||
+ | </head> | ||
+ | |||
+ | <body> | ||
+ | |||
+ | <div id="SCU"> | ||
+ | <ul> | ||
+ | <!-- CSS Tabs --> | ||
+ | <li><a href="Team:SCU_China"><span>Home</span></a></li> | ||
+ | <li><a href="Team:SCU_China/Team"><span>Team</span></a></li> | ||
+ | <li><a href="Team:SCU_China/Project"><span>Project</span></a></li> | ||
+ | <li><a href="Team:SCU_China/Modeling"><span>Modeling</span></a></li> | ||
+ | <li><a href="Team:SCU_China/Parts"><span>Parts</span></a></li> | ||
+ | <li><a href="Team:SCU_China/Safety"><span>Safety</span></a></li> | ||
+ | <li><a href="Team:SCU_China/Attributions"><span>Attributions</span></a></li> | ||
+ | |||
+ | </ul> | ||
+ | </div> | ||
+ | </body> | ||
+ | </html> |
Revision as of 05:40, 6 August 2013
<head>
<style type="text/css">
</style> </head>
<body>
- <a href="Team:SCU_China">Home</a>
- <a href="Team:SCU_China/Team">Team</a>
- <a href="Team:SCU_China/Project">Project</a>
- <a href="Team:SCU_China/Modeling">Modeling</a>
- <a href="Team:SCU_China/Parts">Parts</a>
- <a href="Team:SCU_China/Safety">Safety</a>
- <a href="Team:SCU_China/Attributions">Attributions</a>
</body> </html>