Difference between revisions of "Template:Duke"

Line 1: Line 1:
{{Template_All_Teams}}
 
 
 
<!-- 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: 978px;
+
width: 100%;
 +
height: 100%
 
overflow:hidden;
 
overflow:hidden;
 
float:left;
 
float:left;
margin-left:20px;
+
margin: 0px;
margin-bottom: 10px;
+
margin-top: -7px;
background-color: #fff;
+
background-color: transparent;  
border-bottom: 14px solid #565656;
+
 
border-right: 2px solid #565656;
 
border-right: 2px solid #565656;
 
border-left: 2px solid #565656;
 
border-left: 2px solid #565656;
border-top: 2px solid #565656;
 
 
font-family: "Trebuchet MS", Helvetica, sans-serif;
 
font-family: "Trebuchet MS", Helvetica, sans-serif;
 
}
 
}
Line 31: Line 51:
 
/* Creates the container for the menu */
 
/* Creates the container for the menu */
 
#menuContainer  {  
 
#menuContainer  {  
float:left;
+
float:top;
width: 134px;
+
position: fixed;
 +
z-index:100;
 +
width: 100%;
 +
height: 35px;
 
padding: 20px 0px;
 
padding: 20px 0px;
border-top: 14px solid #565656;
+
border-top: 6px solid #565656;
 +
border-bottom: 6px solid #565656;
 
background-color: #235F9C;
 
background-color: #235F9C;
 
}
 
}
Line 42: Line 66:
 
padding-top:20px;
 
padding-top:20px;
 
padding-right:10px;
 
padding-right:10px;
margin-bottom: 20px;
+
margin-bottom: 0px;
width: 814px;
+
width: 100%;
 
padding-left: 20px;
 
padding-left: 20px;
 +
padding-right: 20px;
 
float: left;
 
float: left;
 
background-color: #fff;  
 
background-color: #fff;  
border-top: 14px solid #565656;
+
border-top: 6px solid #565656;
 
font-family: "Trebuchet MS", Helvetica, sans-serif;
 
font-family: "Trebuchet MS", Helvetica, sans-serif;
 
}
 
}
  
/*Set up height place holder for the banner*/
+
/*Spacer for menu*/
#bannerContainer {
+
#menuSpacer{
height:200px;
+
height:85px;
 +
width: 100%;
 
margin:auto;
 
margin:auto;
text-align:center;
 
color: #24B694;
 
 
}
 
}
 +
  
 
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
 
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
Line 84: Line 109:
 
  /* Styling links on hover- links are different inside the menu */
 
  /* Styling links on hover- links are different inside the menu */
 
#contentContainer a:hover {  
 
#contentContainer a:hover {  
color: #808080;
+
color: #FFFFFF;
 
}
 
}
  
Line 125: Line 150:
 
text-decoration:none;
 
text-decoration:none;
 
font-weight: bold;
 
font-weight: bold;
 +
font-size: 1em;
 
}
 
}
  
Line 130: Line 156:
 
#menuContainer ul {  
 
#menuContainer ul {  
 
list-style: none;
 
list-style: none;
margin-left:0px;
+
margin-top:10px;
 
}
 
}
  
Line 137: Line 163:
 
text-align: center;
 
text-align: center;
 
display: block;
 
display: block;
width: 100%;
+
width: 10%;
height:30px;
+
height:40px;
padding-top:10px;
+
margin-top:-30px;
 +
padding-top: 25px;
 
}
 
}
  
Line 151: Line 178:
 
#menuContainer li ul {
 
#menuContainer li ul {
 
display: none;
 
display: none;
padding-top:15px;
+
padding-top:0px;
margin-left: -19px;
+
margin-left: 0px;
 
}
 
}
  
Line 160: Line 187:
 
display: block;  
 
display: block;  
 
position: absolute;  
 
position: absolute;  
float:right;
+
float:none;
margin-left: 134px;
+
margin-left: -5px;
margin-top:-42px;
+
margin-top:25px;
 
  }
 
  }
  
Line 172: Line 199:
 
height:30px;
 
height:30px;
 
padding-top:10px;
 
padding-top:10px;
margin-top:-2px;
+
padding-bottom:10px;
 +
margin-top:-3px;
 
color: #565656;
 
color: #565656;
width: 150px;
+
width: 85px;
 
}
 
}
 +
ul {list-style: none;padding: 5px;margin: 10px;}
 +
  ul li {display: block;position: relative;float: left;}
  
 
/*CLASSES */
 
/*CLASSES */
Line 214: Line 244:
 
color:#001A57;
 
color:#001A57;
 
}
 
}
 +
 +
#test{
 +
border-radius:100%;
 +
width:100px;
 +
height:100px;
 +
transition: background 0.5s ease;
 +
background-color: red;
 +
}
 +
#test:hover{
 +
background-color: blue;
 +
}
 +
 +
#cf {
 +
  position:relative;
 +
  height:100px;
 +
  width:100px;
 +
  margin:0 auto;
 +
}
 +
 +
#cf img {
 +
  position:absolute;
 +
  float: right;
 +
  border-radius:100%;
 +
  width:100px;
 +
  height:100px;
 +
  left:0;
 +
  -webkit-transition: opacity 0.5s ease-in-out;
 +
  -moz-transition: opacity 0.5s ease-in-out;
 +
  -o-transition: opacity 0.5s ease-in-out;
 +
  transition: opacity 0.5s ease-in-out;
 +
}
 +
 +
#cf img.top:hover {
 +
  opacity:0;
 +
}
 +
 +
.grow img{
 +
transition: 1s ease;
 +
}
 +
 +
.grow img:hover{
 +
-webkit-transform: scale(1.5);
 +
-ms-transform: scale(1.5);
 +
transform: scale(1.5);
 +
transition: 1s ease;
 +
}
 +
 +
img.resize{
 +
  width:100%;
 +
max-height:20%;
 +
}
 +
 
<!-- End Header-->
 
<!-- End Header-->
  
Line 222: Line 304:
 
<!-- Start of the template html elements. -->
 
<!-- Start of the template html elements. -->
 
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
 
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
 
 
<div id="bannerContainer">
 
<br><br>
 
<h2> Add a banner to your wiki! </h2>
 
 
<p>You can make the image 980px  by  200px</p>
 
<p> Remember to call the file: "<i>Team_Duke_banner.jpg</i>" </p>
 
</div>
 
  
 
<!-- Start of menu -->
 
<!-- Start of menu -->
Line 247: Line 320:
 
<a href="https://2015.igem.org/Team:Duke/Results"><li>Results</li></a>   
 
<a href="https://2015.igem.org/Team:Duke/Results"><li>Results</li></a>   
 
<a href="https://2015.igem.org/Team:Duke/Design"><li>Design</li></a>
 
<a href="https://2015.igem.org/Team:Duke/Design"><li>Design</li></a>
 +
<a href="https://2015.igem.org/Team:Duke/Notebook"><li>Notebook</li></a>
 +
 
</ul>
 
</ul>
 
</li></a>
 
</li></a>
Line 258: Line 333:
 
</ul>
 
</ul>
 
</li></a>
 
</li></a>
 
<a href="https://2015.igem.org/Team:Duke/Notebook"><li>NOTEBOOK</li></a>
 
 
        
 
        
 
<a href="https://2015.igem.org/Team:Duke/Attributions"><li>ATTRIBUTIONS</li></a>
 
<a href="https://2015.igem.org/Team:Duke/Attributions"><li>ATTRIBUTIONS</li></a>
Line 278: Line 351:
 
</li></a>
 
</li></a>
  
<a href="https://2015.igem.org/Team:Duke/Software"><li>SOFTWARE</li></a>
+
<!--<a href="https://2015.igem.org/Team:Duke/Software"><li>SOFTWARE</li></a>
  
<a href="https://2015.igem.org/Team:Duke/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
+
<a href="https://2015.igem.org/Team:Duke/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>-->
  
 
</ul>
 
</ul>
 
</div>
 
</div>
 
<!-- End of menu  -->
 
<!-- End of menu  -->
 +
 +
<div id="menuSpacer">
 +
</div>
 +
 +
<div id="globalWrapper">
 +
<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>
 +
 +
<p>You can make the image 980px  by  200px</p>
 +
<p> Remember to call the file: "<i>Team_Duke_banner.jpg</i>" </p>
 +
-->
 +
</div>
  
 
<!-- Start of content -->
 
<!-- Start of content -->
 
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
 
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
 +
 +
<!--
 +
<div>
 +
<a href="https://2015.igem.org/Team:Duke"><img src="http://qph.is.quoracdn.net/main-qimg-826a2483ab9104e55abf64f8ddaf2251?convert_to_webp=true"/></a>
 +
</div>
 +
 +
<div id="cf">
 +
  <img class="bottom" src="http://www.clickerzoneuk.co.uk/cz/wp-content/uploads/2010/10/PuppySmall.jpg" />
 +
  <a href="http://youtube.com"><img class="top" src="http://media.mydogspace.com.s3.amazonaws.com/wp-content/uploads/2013/08/puppy-500x350.jpg" /></a>
 +
</div>
 +
 +
<div class="grow">
 +
<a href="http://www.gmail.com"><img src="http://siberianhuskycentral.com/wp-content/uploads/2011/06/Alaskan-Husky-Puppies-2471.jpg"/></a>
 +
</div>
 +
-->
 +
 
</html>
 
</html>

Revision as of 20:40, 18 June 2015