Team:Michigan/Template:Michigan Header
From 2012.igem.org
(Difference between revisions)
(134 intermediate revisions not shown) | |||
Line 6: | Line 6: | ||
/* Michigan 2012 iGEM Wiki Stylesheet*/ | /* Michigan 2012 iGEM Wiki Stylesheet*/ | ||
- | |||
+ | /* iGEM header override*/ | ||
+ | /* Set up body first */ | ||
+ | body { | ||
+ | margin:0 auto; | ||
+ | padding:0; | ||
+ | width:900px; | ||
+ | background-image:url('https://static.igem.org/mediawiki/2012/9/93/Michigan2012_global_background.png'); | ||
+ | background-repeat:repeat; | ||
+ | } | ||
- | # | + | |
- | + | /* Hides default banner */ | |
- | + | #p-logo { | |
+ | height:0px; | ||
+ | overflow:hidden; | ||
+ | display: none; | ||
+ | } | ||
+ | /* Our banner */ | ||
+ | #top-section { | ||
+ | visibility:none; | ||
+ | height:0; | ||
+ | |||
+ | } | ||
+ | /* Hides search bar */ | ||
+ | #search-controls { | ||
+ | display:none; | ||
+ | } | ||
+ | #content { | ||
+ | width:100%; | ||
+ | border:none; | ||
+ | padding:0; | ||
+ | } | ||
+ | #content #top, #content #siteSub, #content #contentSub { | ||
+ | display:none; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | } | ||
+ | /* Hides default page title beneath banner */ | ||
+ | .firstHeading { | ||
+ | visibility:hidden; | ||
+ | height:0px; | ||
+ | } | ||
+ | #bodyContent{ | ||
+ | width:100%; | ||
+ | border:none; | ||
+ | margin:0; | ||
+ | padding:0; | ||
} | } | ||
- | + | #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 */ | ||
+ | |||
+ | #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> |