Team:Georgia Tech/Template:GT-header
From 2012.igem.org
(Difference between revisions)
Elsherbini (Talk | contribs) |
Elsherbini (Talk | contribs) |
||
(150 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | + | [[File:Igem-logo.png|right|75px|link=https://2012.igem.org/Main_Page]] | |
+ | <html lang="en"> | ||
<head> | <head> | ||
- | <!-- | + | <!-- Began with code and help from 2011 DTU and 2011 MIT team wikis --> |
<style type="text/css"> | <style type="text/css"> | ||
#globalwrapper { | #globalwrapper { | ||
Line 8: | Line 9: | ||
padding:20px 0px; | padding:20px 0px; | ||
margin: 0 auto; | margin: 0 auto; | ||
- | |||
height:100%; | height:100%; | ||
} | } | ||
Line 16: | Line 16: | ||
} | } | ||
body { | body { | ||
- | background: # | + | background: #FFFFFF; |
- | background- | + | background-repeat: no-repeat; |
- | + | ||
- | + | ||
} | } | ||
#p-logo { | #p-logo { | ||
Line 25: | Line 23: | ||
} | } | ||
#top-section { | #top-section { | ||
- | + | background:#ffffff; | |
- | background-image: url('https://static.igem.org/mediawiki/2012/ | + | background-image: url('https://static.igem.org/mediawiki/2012/7/78/GT_iGEM_Logo_2012.png'); |
- | background-position: | + | background-position: left bottom; |
- | height: | + | height:250px ; |
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
- | border-width: | + | border-width:0px; |
border-top-width:1px; | border-top-width:1px; | ||
+ | |||
} | } | ||
- | |||
#content { | #content { | ||
+ | background:#ffffff; | ||
border-left-width:0px; | border-left-width:0px; | ||
border-right-width:0px; | border-right-width:0px; | ||
padding:5px; | padding:5px; | ||
width:965px; | width:965px; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
+ | |||
#navbar | #navbar | ||
ul.navbar { | ul.navbar { | ||
- | float:left | + | display:inline-block; |
+ | float:left | ||
width:100%; | width:100%; | ||
padding:0; | padding:0; | ||
- | |||
list-style-type:none; | list-style-type:none; | ||
} | } | ||
ul.navbar a { | ul.navbar a { | ||
- | + | display:inline; | |
float:left; | float:left; | ||
+ | width:108px; | ||
text-align:center; | text-align:center; | ||
- | |||
text-decoration:none; | text-decoration:none; | ||
color:white; | color:white; | ||
- | background-color:# | + | background-color:#444444; |
padding:0.2em 0.6em; | padding:0.2em 0.6em; | ||
border-right:1px solid white; | border-right:1px solid white; | ||
Line 76: | Line 67: | ||
#long { | #long { | ||
- | width: | + | width:110px; |
} | } | ||
+ | /* Removes "teams" from the menubar */ | ||
+ | #menubar > ul > li:last-child { | ||
+ | display: none;} | ||
+ | /* Resizes the menubar to fix the links (default is 400px) */ | ||
+ | #menubar { | ||
+ | width: auto;} | ||
.navbar { | .navbar { | ||
- | + | position:absolute; | |
+ | left: 0;top:0; | ||
+ | margin-left: 5px; /* negative margin equal to half the width */ | ||
+ | width:875px; | ||
+ | list-style:none; | ||
} | } | ||
</style> | </style> | ||
</head> | </head> | ||
- | |||
<body> | <body> | ||
- | |||
<!--navigation menu--> | <!--navigation menu--> | ||
+ | |||
<ul class="navbar"> | <ul class="navbar"> | ||
- | <li><a href="https://2012.igem.org/Team:Georgia_Tech"> | + | <li><a href="https://2012.igem.org/Team:Georgia_Tech">Home</a></li> |
- | <li><a href="https://2012.igem.org/Team:Georgia_Tech/Project | + | <li><a href="https://2012.igem.org/Team:Georgia_Tech/Project">Project</a></li> |
- | <li><a href="https://2012.igem.org/Team:Georgia_Tech/ | + | <li><a href="https://2012.igem.org/Team:Georgia_Tech/Notebook">Notebook</a></li> |
- | <li><a href="https://2012.igem.org/Team:Georgia_Tech/ | + | <li><a href="https://2012.igem.org/Team:Georgia_Tech/Modeling">Modeling</a></li> |
- | <li><a | + | <li><a id="long" href="https://2012.igem.org/Team:Georgia_Tech/HumanPractices">Human Practices</a></li> |
- | + | <li><a href="https://2012.igem.org/Team:Georgia_Tech/Team">Team</a></li> | |
- | <li><a href="https://2012.igem.org/Team:Georgia_Tech/Team | + | <li><a id="long" href="https://2012.igem.org/Team:Georgia_Tech/Attributions">Attributions</a></li> |
- | <li><a id="long" href="https://2012.igem.org/Team:Georgia_Tech/ | + | |
+ | |||
</ul> | </ul> | ||
+ | |||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 17:53, 3 October 2012