Team:Georgia Tech/Template:GT-header
From 2012.igem.org
(Difference between revisions)
Elsherbini (Talk | contribs) |
Elsherbini (Talk | contribs) |
||
(180 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 { | ||
width:975px; | width:975px; | ||
padding:20px 0px; | padding:20px 0px; | ||
margin: 0 auto; | margin: 0 auto; | ||
- | |||
height:100%; | height:100%; | ||
} | } | ||
Line 50: | Line 16: | ||
} | } | ||
body { | body { | ||
- | background: # | + | background: #FFFFFF; |
- | background- | + | background-repeat: no-repeat; |
- | + | ||
} | } | ||
#p-logo { | #p-logo { | ||
Line 58: | 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: left | + | background-position: left bottom; |
- | height: | + | height:250px ; |
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
border-width:0px; | 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 | |
- | + | ul.navbar { | |
+ | display:inline-block; | ||
+ | float:left | ||
width:100%; | width:100%; | ||
padding:0; | padding:0; | ||
- | + | list-style-type:none; | |
- | list-style:none | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | . | + | ul.navbar a { |
- | + | ||
- | + | ||
display:inline; | 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; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
+ | ul.navbar a:hover {background-color:#B18E5F;} | ||
+ | ul.navbar li {display:inline;} | ||
- | + | #long { | |
- | + | 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 { |
- | + | 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--> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | <li><a href="https://2012.igem.org/Team:Georgia_Tech/ | + | <ul class="navbar"> |
- | + | <li><a href="https://2012.igem.org/Team:Georgia_Tech">Home</a></li> | |
- | + | <li><a href="https://2012.igem.org/Team:Georgia_Tech/Project">Project</a></li> | |
- | + | <li><a href="https://2012.igem.org/Team:Georgia_Tech/Notebook">Notebook</a></li> | |
- | </li> | + | <li><a href="https://2012.igem.org/Team:Georgia_Tech/Modeling">Modeling</a></li> |
+ | <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 id="long" href="https://2012.igem.org/Team:Georgia_Tech/Attributions">Attributions</a></li> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</ul> | </ul> |
Latest revision as of 17:53, 3 October 2012