Team:Michigan/Template:Michigan Header
From 2012.igem.org
(Difference between revisions)
(133 intermediate revisions not shown) | |||
Line 10: | Line 10: | ||
/* Set up body first */ | /* Set up body first */ | ||
body { | body { | ||
- | + | margin:0 auto; | |
- | + | padding:0; | |
- | width: | + | width:900px; |
background-image:url('https://static.igem.org/mediawiki/2012/9/93/Michigan2012_global_background.png'); | background-image:url('https://static.igem.org/mediawiki/2012/9/93/Michigan2012_global_background.png'); | ||
background-repeat:repeat; | background-repeat:repeat; | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
/* Hides default banner */ | /* Hides default banner */ | ||
#p-logo { | #p-logo { | ||
- | + | height:0px; | |
+ | overflow:hidden; | ||
+ | display: none; | ||
} | } | ||
+ | /* Our banner */ | ||
#top-section { | #top-section { | ||
- | + | visibility:none; | |
- | + | height:0; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
/* Hides search bar */ | /* Hides search bar */ | ||
Line 40: | Line 35: | ||
} | } | ||
#content { | #content { | ||
- | + | width:100%; | |
- | + | border:none; | |
- | + | padding:0; | |
- | + | ||
} | } | ||
#content #top, #content #siteSub, #content #contentSub { | #content #top, #content #siteSub, #content #contentSub { | ||
Line 50: | Line 44: | ||
padding:0; | padding:0; | ||
} | } | ||
+ | /* Hides default page title beneath banner */ | ||
.firstHeading { | .firstHeading { | ||
- | + | visibility:hidden; | |
- | + | height:0px; | |
- | + | ||
} | } | ||
#bodyContent{ | #bodyContent{ | ||
width:100%; | width:100%; | ||
- | + | border:none; | |
margin:0; | margin:0; | ||
padding:0; | padding:0; | ||
Line 63: | Line 57: | ||
#bodyContent p { | #bodyContent p { | ||
- | + | margin:0 15px 0; | |
- | + | padding:0; | |
+ | } | ||
+ | |||
+ | #footer-box { | ||
+ | width:100%; | ||
+ | border:none; | ||
+ | padding:5px 0; | ||
+ | } | ||
+ | |||
+ | .toc { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | a:hover{ | ||
+ | text-decoration:none; | ||
} | } | ||
/* END IGEM Header Overrides */ | /* END IGEM Header Overrides */ | ||
- | |||
+ | #menu img{ | ||
+ | margin: 0 25px 0px; | ||
+ | border:none; | ||
+ | } | ||
+ | |||
+ | /* make a class for text over image effect*/ | ||
+ | .text-image { | ||
+ | position: relative; | ||
+ | padding:5px; | ||
+ | margin-bottom:10px; | ||
+ | } | ||
+ | |||
+ | |||
+ | .left-col{ | ||
+ | width: 50%; /* for IE 6 */ | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | .right-col{ | ||
+ | float: left; | ||
+ | |||
+ | } | ||
+ | |||
+ | .three-col{ | ||
+ | width: 33%; | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | .locator { | ||
+ | font: 10px Helvetica, Sans-Serif; | ||
+ | margin: 0 0 10px 25px; | ||
+ | } | ||
+ | |||
+ | span.text-image { | ||
+ | color:white; | ||
+ | background-color:#0a84c1; | ||
+ | font: bold 24px Helvetica, Sans-Serif; | ||
+ | letter-spacing: -1px; | ||
+ | padding: 5px; | ||
+ | margin: 10px 0 15px 10px; | ||
+ | } | ||
+ | |||
+ | .text-panel-border { | ||
+ | background-color: #dadada; | ||
+ | margin: 0 25px 25px; | ||
+ | padding: 10px 0px 10px; | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | .text-nopanel-content { | ||
+ | padding: 10px; | ||
+ | margin: 5px auto 5px; | ||
+ | width:95%; | ||
+ | } | ||
+ | |||
+ | .text-panel-content { | ||
+ | border-bottom: 1px solid #E6E6E6; | ||
+ | border-left: 1px solid #E6E6E6; | ||
+ | border-right: 1px solid #E6E6E6; | ||
+ | border-top: 3px solid #CCCCCC; | ||
+ | background-color: #FFFFFF; | ||
+ | padding: 5px; | ||
+ | margin: 5px auto 5px; | ||
+ | width:95%; | ||
+ | |||
+ | } | ||
+ | |||
+ | a.text-panel-content { | ||
+ | margin:15px; | ||
+ | } | ||
+ | |||
+ | p.title { | ||
+ | /*for some reason declaring everything under font is not supported*/ | ||
+ | font-style:italic; | ||
+ | font-size:200%; | ||
+ | line-height:200%; | ||
+ | } | ||
+ | |||
+ | |||
+ | </style> | ||
+ | <a href="https://2012.igem.org" alt="iGEM home page"><img src="/wiki/images/c/c2/Underline_1.png" style="position:absolute;left:0;top:0;"></a> | ||
+ | <img style="margin-left:30px;width:800px;height:200px;" src="https://static.igem.org/mediawiki/2012/d/da/Header_DNA_cell_logo_shadow.png" alt="Michigan 2012 Banner :)"> | ||
+ | <div id="menu"> | ||
+ | <a href="/Team:Michigan"> <img alt="Home" src="/wiki/images/a/ae/Menu_link1.png"></a> | ||
+ | <a href="/Team:Michigan/Project"> <img alt="Project" src="/wiki/images/3/3b/Menu_link2.png"></a> | ||
+ | <a href="/Team:Michigan/Outreach"><img alt="Outreach" src="/wiki/images/f/ff/Menu_link3.png"></a> | ||
+ | <a href="/Team:Michigan/Safety"><img alt="Safety" src="/wiki/images/4/4b/Menu_link4.png"></a> | ||
+ | <a href="/Team:Michigan/Team"><img alt="About Us" src="/wiki/images/3/39/Menu_link5.png"></a> | ||
+ | </div> | ||
</html> | </html> |