Template:Team:Calgary/Main Header
From 2011.igem.org
(Difference between revisions)
Line 15: | Line 15: | ||
font-family: Arial; | font-family: Arial; | ||
} | } | ||
+ | |||
Line 98: | Line 99: | ||
- | /***Now for our own stuff***/ | + | /***Now for our own stuff: personalized header images and navbar***/ |
#headerbar{ | #headerbar{ | ||
Line 169: | Line 170: | ||
/*Establish sprites for each individual button*/ | /*Establish sprites for each individual button*/ | ||
- | + | #homebutton a{ | |
margin-left: 60px; /*to center the bar*/ | margin-left: 60px; /*to center the bar*/ | ||
background-image: url(https://static.igem.org/mediawiki/2011/2/21/UCalgary_ButtonHome.png); | background-image: url(https://static.igem.org/mediawiki/2011/2/21/UCalgary_ButtonHome.png); | ||
Line 175: | Line 176: | ||
} | } | ||
- | + | #teambutton a{ | |
background-image: url(https://static.igem.org/mediawiki/2011/1/1e/UCalgary_ButtonTeam.png); | background-image: url(https://static.igem.org/mediawiki/2011/1/1e/UCalgary_ButtonTeam.png); | ||
width: 103px; | width: 103px; | ||
} | } | ||
- | + | #projectbutton a{ | |
background-image: url(https://static.igem.org/mediawiki/2011/9/90/UCalgary_ButtonProject.png); | background-image: url(https://static.igem.org/mediawiki/2011/9/90/UCalgary_ButtonProject.png); | ||
width: 118px; | width: 118px; | ||
} | } | ||
- | + | #partsbutton a{ | |
background-image: url(https://static.igem.org/mediawiki/2011/c/c5/UCalgary_ButtonParts.png); | background-image: url(https://static.igem.org/mediawiki/2011/c/c5/UCalgary_ButtonParts.png); | ||
width: 100px; | width: 100px; | ||
} | } | ||
- | + | #notebookbutton a{ | |
background-image: url(https://static.igem.org/mediawiki/2011/e/eb/UCalgary_ButtonNotebook.png); | background-image: url(https://static.igem.org/mediawiki/2011/e/eb/UCalgary_ButtonNotebook.png); | ||
width: 143px; | width: 143px; | ||
} | } | ||
- | + | #outreachbutton a{ | |
background-image: url(https://static.igem.org/mediawiki/2011/5/52/UCalgary_ButtonOutreach.png); | background-image: url(https://static.igem.org/mediawiki/2011/5/52/UCalgary_ButtonOutreach.png); | ||
width: 140px; | width: 140px; | ||
} | } | ||
- | + | #sponsorsbutton a{ | |
background-image: url(https://static.igem.org/mediawiki/2011/b/b3/UCalgary_ButtonSponsors.png); | background-image: url(https://static.igem.org/mediawiki/2011/b/b3/UCalgary_ButtonSponsors.png); | ||
width: 138px; | width: 138px; | ||
Line 206: | Line 207: | ||
/*Correction of subnavigation menu backgrounds*/ | /*Correction of subnavigation menu backgrounds*/ | ||
- | ul#topnav li | + | ul#topnav li#teambutton span a, |
- | ul#topnav li | + | ul#topnav li#projectbutton span a, |
- | ul#topnav li | + | ul#topnav li#partsbutton span a, |
- | ul#topnav li | + | ul#topnav li#notebookbutton span a, |
- | ul#topnav li | + | ul#topnav li#outreachbutton span a, |
- | ul#topnav li | + | ul#topnav li#sponsorsbutton span a{ |
height: 35px; | height: 35px; | ||
background-image: none; | background-image: none; | ||
Line 230: | Line 231: | ||
/*Active state settings*/ | /*Active state settings*/ | ||
- | #home li | + | #home li#homebutton a, |
- | #team li | + | #team li#teambutton a, |
- | #project li | + | #project li#projectbutton a, |
- | #parts li | + | #parts li#partsbutton a, |
- | #notebook li | + | #notebook li#notebookbutton a, |
- | #outreach li | + | #outreach li#outreachbutton a, |
- | #sponsors li | + | #sponsors li#sponsorsbutton a{ |
background-position: left bottom; | background-position: left bottom; | ||
} | } | ||
- | #team li | + | #team li#teambutton span, |
- | #project li | + | #project li#projectbutton span, |
- | #parts li | + | #parts li#partsbutton span, |
- | #notebook li | + | #notebook li#notebookbutton span, |
- | #outreach li | + | #outreach li#outreachbutton span, |
- | #sponsors li | + | #sponsors li#sponsorsbutton span{ |
display: block; | display: block; | ||
} | } | ||
Line 298: | Line 299: | ||
<div id="headerbar"> | <div id="headerbar"> | ||
<ul id="topnav"> | <ul id="topnav"> | ||
- | <li | + | <li id="homebutton"><a class="navtext" href="https://2011.igem.org/Team:Calgary">Home</a></li> |
- | <li | + | <li id="teambutton"> |
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Team">Team</a> | <a class="navtext" href="https://2011.igem.org/Team:Calgary/Team">Team</a> | ||
<span> | <span> | ||
- | <a href="https://2011.igem.org/Team:Calgary/Team | + | <a href="https://2011.igem.org/Team:Calgary/Team">Biographies</a> | |
- | <a href="https://2011.igem.org/Team:Calgary/Team | + | <a href="https://2011.igem.org/Team:Calgary/Team">Facilitators</a> | |
<a href="https://2011.igem.org/Team:Calgary/Team">The University</a> | | <a href="https://2011.igem.org/Team:Calgary/Team">The University</a> | | ||
<a href="https://igem.org/Team.cgi?id=640">Official Profile</a> | | <a href="https://igem.org/Team.cgi?id=640">Official Profile</a> | | ||
</span> | </span> | ||
</li> | </li> | ||
- | <li | + | <li id="projectbutton"> |
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Project">Project</a> | <a class="navtext" href="https://2011.igem.org/Team:Calgary/Project">Project</a> | ||
<span> | <span> | ||
Line 319: | Line 320: | ||
</span> | </span> | ||
</li> | </li> | ||
- | <li | + | <li id="partsbutton"> |
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Parts">Parts</a> | <a class="navtext" href="https://2011.igem.org/Team:Calgary/Parts">Parts</a> | ||
<span> | <span> | ||
Line 326: | Line 327: | ||
</span> | </span> | ||
</li> | </li> | ||
- | <li | + | <li id="notebookbutton"> |
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Notebook">Notebook</a> | <a class="navtext" href="https://2011.igem.org/Team:Calgary/Notebook">Notebook</a> | ||
<span> | <span> | ||
<a href="https://2011.igem.org/Team:Calgary/Notebook">Calendar</a> | | <a href="https://2011.igem.org/Team:Calgary/Notebook">Calendar</a> | | ||
<a href="https://2011.igem.org/Team:Calgary/Notebook">Protocols</a> | | <a href="https://2011.igem.org/Team:Calgary/Notebook">Protocols</a> | | ||
- | <a href="https://2011.igem.org/Team:Calgary/ | + | <a href="https://2011.igem.org/Team:Calgary/Notebook">Safety</a> | |
</span> | </span> | ||
</li> | </li> | ||
- | <li | + | <li id="outreachbutton"> |
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Outreach">Outreach</a> | <a class="navtext" href="https://2011.igem.org/Team:Calgary/Outreach">Outreach</a> | ||
<span> | <span> | ||
Line 343: | Line 344: | ||
</span> | </span> | ||
</li> | </li> | ||
- | <li | + | <li id="sponsorsbutton"> |
<a class="navtext" href="https://2011.igem.org/Team:Calgary/Sponsors">Sponsors</a> | <a class="navtext" href="https://2011.igem.org/Team:Calgary/Sponsors">Sponsors</a> | ||
<span> | <span> |
Revision as of 20:42, 14 July 2011