Difference between revisions of "Team:Duke/NewTemplate"
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
<!-- Declare that you are going to use html code instead of wiki code --> | <!-- Declare that you are going to use html code instead of wiki code --> | ||
<html> | <html> | ||
Line 6: | Line 4: | ||
<!-- Start of CSS--> | <!-- Start of CSS--> | ||
<style type="text/css"> | <style type="text/css"> | ||
+ | |||
+ | /* WIKI SETTINGS*/ | ||
+ | |||
+ | /* Hide first heading */ | ||
+ | .firstHeading { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | /*-- Remove borders, float content left and remove padding/margin */ | ||
+ | #globalWrapper, #content{ | ||
+ | width:100%; | ||
+ | background-color: transparent; | ||
+ | border: 0px; | ||
+ | float: left; | ||
+ | margin:0px; | ||
+ | padding: 0px; | ||
+ | } | ||
+ | |||
+ | /*left align Black Menu Bar */ | ||
+ | #top_menu_inside { | ||
+ | margin-left: 20px; | ||
+ | } | ||
+ | |||
/* PAGE LAYOUT */ | /* PAGE LAYOUT */ | ||
Line 16: | Line 37: | ||
/* Creates a container that will wrap all of the content inside your wiki pages. */ | /* Creates a container that will wrap all of the content inside your wiki pages. */ | ||
#mainContainer { | #mainContainer { | ||
− | width: | + | width: 100%; |
+ | height: 100% | ||
overflow:hidden; | overflow:hidden; | ||
float:left; | float:left; | ||
− | margin | + | margin: 0px; |
− | + | ||
margin-top: -7px; | margin-top: -7px; | ||
− | background-color: | + | background-color: transparent; |
− | + | ||
border-right: 2px solid #565656; | border-right: 2px solid #565656; | ||
border-left: 2px solid #565656; | border-left: 2px solid #565656; | ||
− | |||
font-family: "Trebuchet MS", Helvetica, sans-serif; | font-family: "Trebuchet MS", Helvetica, sans-serif; | ||
} | } | ||
Line 33: | Line 52: | ||
#menuContainer { | #menuContainer { | ||
float:top; | float:top; | ||
− | position: fixed; | + | position: fixed; |
− | z-index:100; | + | z-index:100; |
− | width: | + | width: 100%; |
+ | height: 35px; | ||
padding: 20px 0px; | padding: 20px 0px; | ||
border-top: 6px solid #565656; | border-top: 6px solid #565656; | ||
Line 47: | Line 67: | ||
padding-right:10px; | padding-right:10px; | ||
margin-bottom: 0px; | margin-bottom: 0px; | ||
− | width: | + | width: 100%; |
padding-left: 20px; | padding-left: 20px; | ||
+ | padding-right: 20px; | ||
float: left; | float: left; | ||
background-color: #fff; | background-color: #fff; | ||
Line 55: | Line 76: | ||
} | } | ||
− | /*Spacer for menu*/ | + | /*Spacer for menu*/ |
− | #menuSpacer{ | + | #menuSpacer{ |
− | height: | + | height:85px; |
− | + | width: 100%; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
margin:auto; | margin:auto; | ||
− | |||
− | |||
} | } | ||
+ | |||
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */ | /*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */ | ||
Line 134: | Line 150: | ||
text-decoration:none; | text-decoration:none; | ||
font-weight: bold; | font-weight: bold; | ||
+ | font-size: 1em; | ||
} | } | ||
Line 148: | Line 165: | ||
width: 10%; | width: 10%; | ||
height:40px; | height:40px; | ||
− | margin-top:-25px; | + | margin-top:-30px; |
+ | padding-top: 25px; | ||
} | } | ||
Line 169: | Line 187: | ||
display: block; | display: block; | ||
position: absolute; | position: absolute; | ||
− | float: | + | float:none; |
margin-left: -5px; | margin-left: -5px; | ||
− | margin-top: | + | margin-top:25px; |
} | } | ||
Line 181: | Line 199: | ||
height:30px; | height:30px; | ||
padding-top:10px; | padding-top:10px; | ||
− | margin-top:- | + | padding-bottom:10px; |
+ | margin-top:-3px; | ||
color: #565656; | color: #565656; | ||
− | width: | + | width: 85px; |
} | } | ||
ul {list-style: none;padding: 5px;margin: 10px;} | ul {list-style: none;padding: 5px;margin: 10px;} | ||
Line 246: | Line 265: | ||
#cf img { | #cf img { | ||
position:absolute; | position:absolute; | ||
− | border-radius: | + | float: right; |
− | width: | + | margin-top: -30px; |
− | height: | + | border-radius:1%; |
− | left: | + | width:125px; |
+ | max-height:75%; | ||
+ | margin-left:-63px; | ||
-webkit-transition: opacity 0.5s ease-in-out; | -webkit-transition: opacity 0.5s ease-in-out; | ||
-moz-transition: opacity 0.5s ease-in-out; | -moz-transition: opacity 0.5s ease-in-out; | ||
Line 255: | Line 276: | ||
transition: opacity 0.5s ease-in-out; | transition: opacity 0.5s ease-in-out; | ||
} | } | ||
+ | |||
#cf img.top:hover { | #cf img.top:hover { | ||
Line 269: | Line 291: | ||
transform: scale(1.5); | transform: scale(1.5); | ||
transition: 1s ease; | transition: 1s ease; | ||
+ | } | ||
+ | |||
+ | img.resize{ | ||
+ | width:100%; | ||
+ | max-height: 20%; | ||
} | } | ||
Line 288: | Line 315: | ||
<a href="https://2015.igem.org/Team:Duke/Team"><li>TEAM</li></a> | <a href="https://2015.igem.org/Team:Duke/Team"><li>TEAM</li></a> | ||
+ | <!--<li><div id="cf"> | ||
+ | <img class="bottom" src="https://static.igem.org/mediawiki/2015/c/c5/Duke-team-test-hover4.png" /> | ||
+ | <a href="https://2015.igem.org/Team:Duke/Team"><img class="top" src="https://static.igem.org/mediawiki/2015/1/1f/Duke-team-test-hover3.png" /></a> | ||
+ | </div></li>--> | ||
<a href="#"><li>PROJECT | <a href="#"><li>PROJECT | ||
Line 337: | Line 368: | ||
</div> | </div> | ||
− | <div id=" | + | <div id="globalWrapper"> |
− | <br><br> | + | <img class="resize" src="https://static.igem.org/mediawiki/2009/6/64/Header_revised.jpg"> |
+ | <!--<br><br> | ||
<h2> Add a banner to your wiki! </h2> | <h2> Add a banner to your wiki! </h2> | ||
<p>You can make the image 980px by 200px</p> | <p>You can make the image 980px by 200px</p> | ||
− | <p> Remember to call the file: "<i>Team_Duke_banner.jpg</i>" </p> | + | <p> Remember to call the file: "<i>Team_Duke_banner.jpg</i>" </p>--> |
</div> | </div> | ||
Line 352: | Line 384: | ||
</div> | </div> | ||
− | <div id="cf"> | + | <!--<div id="cf"> |
− | <img class="bottom" src=" | + | <img class="bottom" src="https://static.igem.org/mediawiki/2015/6/6e/Duke-team-hover-test1.jpg" /> |
− | <a href="http://youtube.com"><img class="top" src=" | + | <a href="http://youtube.com"><img class="top" src="https://static.igem.org/mediawiki/2015/d/de/Duke-team-hover-test2.jpg" /></a> |
− | </div> | + | </div>--> |
<div class="grow"> | <div class="grow"> |
Latest revision as of 17:07, 19 June 2015