Difference between revisions of "Template:Example"

m
Line 1: Line 1:
{{Template_All_Teams}}
 
 
<!-- Declare that you are going to use html code instead of wiki code -->
 
 
<html>
 
<html>
  
<!-- Start of CSS-->
+
<style>
<style type="text/css">
+
 
 +
/* Adjust default wiki setting */
 +
#sideMenu, #top_title {display:none;}
 +
#content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;}
 +
body {background-color:white; }
 +
 
 +
 
  
/* PAGE LAYOUT */
 
  
/* Change Background color*/
 
body {
 
background-color: #fff;
 
}
 
  
/* Creates a container that will wrap all of the content inside your wiki pages. */
 
#mainContainer { 
 
width: 978px;
 
overflow:hidden;
 
float:left;
 
margin-left:20px;
 
margin-bottom: 10px;
 
background-color: #fff;
 
border-bottom: 14px solid #565656;
 
border-right: 2px solid #565656;
 
border-left: 2px solid #565656;
 
border-top: 2px solid #565656;
 
font-family: "Trebuchet MS", Helvetica, sans-serif;
 
}
 
  
/* Creates the container for the menu */
 
#menuContainer  {
 
float:left;
 
width: 134px;
 
padding: 20px 0px;
 
border-top: 14px solid #565656;
 
background-color: #E8E8E9;
 
}
 
  
/* Creates the container for the content */
+
.menu_wrapper {background-color:#f2f2f2; width:15%; float:left; text-align:center; padding:10px 0px; height:100vh; }
#contentContainer {
+
.menu_wrapper ul  {list-style: none; width:100%; margin-left:0px; padding:0px;}
padding-top:20px;
+
padding-right:10px;
+
margin-bottom: 20px;
+
width: 814px;
+
padding-left: 20px;
+
float: left;
+
background-color: #fff;  
+
border-top: 14px solid #565656;
+
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
}
+
  
/*Set up height place holder for the banner*/
 
#bannerContainer {
 
height:200px;
 
margin:auto;
 
text-align:center;
 
color: #24B694;
 
}
 
  
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
+
.menu_wrapper  ul li { padding: 15px 0px; text-align:center; list-style-type:none; width:100%; border-bottom: 1px solid #d3d3d3;  margin-top:-2px; cursor:pointer; -webkit-transition: all 0.4s ease; -moz-transition: all 0.4s ease; -ms-transition: all 0.4s ease; -o-transition: all 0.4s ease; transition: all 0.4s ease;  text-decoration:none; color:black;  font-weight:bold;}
  
/*Change the styling of text for everything inside main container*/
+
.menu_wrapper ul li:hover {background-color: #32ddb5;}
#mainContainer p {  
+
font-size: 13px;
+
color: #000000;
+
}
+
+
/*This changes the color and font family */
+
#contentContainer h1, h2, h3, h4, h5, h6 {
+
color: #565656;
+
border-bottom: none;
+
font-weight: bold;
+
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
margin-top:10px;
+
}
+
  
/*Style of the links - links are different inside the menu */
 
#contentContainer a {
 
font-weight: bold;
 
color: #23b593;
 
}
 
  
  /* Styling links on hover- links are different inside the menu */
 
#contentContainer a:hover {
 
color: #59bf92;
 
}
 
  
/*Change the styling of tables */
 
        #contentContainer table {
 
    border: 1px solid #565656;
 
    border-collapse: collapse;
 
    width: 90%
 
    margin: auto;
 
    margin-bottom: 15px;
 
    margin-top: 15px;
 
    margin-right: 10px;
 
    margin-left: 10px;
 
    }
 
  
/*Change the styling of table cells*/
+
.content_wrapper {width: 85%;float:left; padding:10px 0px; background-color:white;}
    #contentContainer  td {
+
    padding: 10px;
+
    border: 1px solid #565656;
+
    border-collapse: collapse;
+
    vertical-align: text-top;
+
    }
+
  
/*Change the styling of table headers */
 
    #contentContainer th {
 
    background-color: #E8E8E9;
 
    padding: 10px;
 
    border: 1px solid #565656;
 
    border-collapse: collapse;
 
    vertical-align: text-top;
 
    }
 
  
 +
.content_wrapper h1 { color: #32ddb5; padding:0px 15px; }
 +
.content_wrapper h2 { color: #32ddb5; padding:0px 15px; }
 +
.content_wrapper h3 { color: black; padding:0px 15px; }
 +
.content_wrapper h4 { color: black; padding:0px 15px;}
 +
.content_wrapper h5 { color: black; padding:0px 15px;}
 +
.content_wrapper h6 { color: black; padding:0px 15px;}
  
  
/*MENU STYLING */
+
.content_wrapper p { padding:0px 15px;}
  
/*Styling for the links in the menu */
+
.content_wrapper a { font-weight: bold; text-decoration: underline; color: #32ddb5; text-decoration-color:#32ddb5; -webkit-transition: all 0.4s ease;
#menuContainer a {
+
-moz-transition: all 0.4s ease; -ms-transition: all 0.4s ease; -o-transition: all 0.4s ease; transition: all 0.4s ease;}
color: #565656;
+
.content_wrapper a:hover { text-decoration:none; color:black;}
text-decoration:none;
+
font-weight: bold;
+
}
+
  
/* Sets the style for lists inside menuContainer  */
 
#menuContainer ul {
 
list-style: none;
 
margin-left:0px;
 
}
 
  
/*Styles the list items to become menu buttons */
+
.column  { float:left; background-color:white; padding: 10px 0px;}
#menuContainer ul li {  
+
text-align: center;
+
display: block;
+
width: 100%;
+
height:30px;
+
padding-top:10px;
+
}
+
  
/*For the menu buttons, changes the color when hovering*/
+
.full_size {width:100%; }
#menuContainer li:hover {
+
.full_size img { width:96.5%; padding: 10px 15px;}
color: #FFF;
+
background-color: #24B694;
+
}
+
  
/*Submenus are not displayed as default*/
+
.half_size {width: 50%; }
#menuContainer li ul {
+
.half_size img { width: 93%; padding: 10px 15px;}
display: none;
+
padding-top:15px;
+
margin-left: -19px;
+
}
+
  
/*Submenus are displayed when hovering the menu button */
 
#menuContainer li:hover ul {
 
/*display: inline-block; */
 
display: block;
 
position: absolute;
 
float:right;
 
margin-left: 134px;
 
margin-top:-42px;
 
}
 
  
/*Style the submenu buttons*/
 
#menuContainer li ul li{
 
background-color: #59BF92;
 
padding-left:20px;
 
padding-right:20px;
 
height:30px;
 
padding-top:10px;
 
margin-top:-2px;
 
color: #565656;
 
width: 150px;
 
}
 
  
/*CLASSES */
+
.button_click { background-color: #32ddb5;  padding: 15px; width:12%;  font-weight:bold; text-align:center; cursor:pointer;  -webkit-transition: all 0.4s ease;
 +
-moz-transition: all 0.4s ease; -ms-transition: all 0.4s ease; -o-transition: all 0.4s ease; transition: all 0.4s ease; margin: 10px auto;}
 +
.button_click:hover {  background-color:black; color: #32ddb5;  }
  
/*Clear class for all the pages, adds spacing too*/
 
.clear{
 
clear:both;
 
height: 10px;
 
}
 
  
  
/* highlight box for special messages */
+
@media only screen and (max-width: 1000px) {
    .highlightBox {
+
#content {width:100%; }
        width:500px;
+
}
        margin:auto;
+
        background-color: #E8E8E9;
+
margin-bottom: 15px;
+
margin-top: 15px;
+
padding: 15px;
+
padding-top: 5px;
+
    }
+
  
  
</style>
+
@media only screen and (max-width: 850px) {
<!-- End of CSS -->
+
.menu_wrapper { width:100%; height: 15%; }
 +
.content_wrapper {width:100%; }
 +
.column.half_size {width:100%; }
 +
.column img { width: 100%; padding: 5px 0px;}
  
 +
}
  
<!-- Start of the template html elements. -->
+
</style>
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
+
  
  
<div id="bannerContainer">
+
<div class="menu_wrapper" >
<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_Example_banner.jpg</i>" </p>
+
</div>
+
  
<!-- Start of menu -->
+
<b>TEAM NAME</b>
<div id="menuContainer">
+
  
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
 
<ul>
 
<a href="https://2016.igem.org/Team:Example"><li>HOME</li></a>
 
  
<a href="https://2016.igem.org/Team:Example/Team"><li>TEAM</li></a>
+
<ul >
  
<a href="#"><li>PROJECT
+
<li onClick=" parent.location= ' '"> TEAM</LI>
            <ul>
+
<a href="https://2016.igem.org/Team:Example/Description"><li>Description</li></a>
+
<a href="https://2016.igem.org/Team:Example/Experiments"><li>Experiments &amp; Protocols</li></a> 
+
<a href="https://2016.igem.org/Team:Example/Results"><li>Results</li></a> 
+
<a href="https://2016.igem.org/Team:Example/Design"><li>Design</li></a>
+
</ul>
+
</li></a>
+
  
<a href="#"><li>PARTS
+
<li onClick=" parent.location= ' '">PROJECT </li>
            <ul>
+
<a href="https://2016.igem.org/Team:Example/Parts"><li>Team Parts</li></a>
+
<a href="https://2016.igem.org/Team:Example/Basic_Part"><li>Basic Parts</li></a> 
+
<a href="https://2016.igem.org/Team:Example/Composite_Part"><li>Composite Parts</li></a>
+
<a href="https://2016.igem.org/Team:Example/Part_Collection"><li>Part Collection</li></a> 
+
</ul>
+
</li></a>
+
  
<a href="https://2016.igem.org/Team:Example/Notebook"><li>NOTEBOOK</li></a>
+
<li onClick=" parent.location= ' '"> SAFETY </li>
     
+
<a href="https://2016.igem.org/Team:Example/Attributions"><li>ATTRIBUTIONS</li></a>
+
  
<a href="https://2016.igem.org/Team:Example/Collaborations"><li>COLLABORATIONS</li></a>
+
<li onClick=" parent.location= ' '"> HUMAN <br> PRACTICES </li>
  
<a href="https://2016.igem.org/Team:Example/Practices"><li>HUMAN PRACTICES</li></a>
+
<li onClick=" parent.location= ' '"> ATTRIBUTIONS </li>
  
<a href="https://2016.igem.org/Team:Example/Safety"><li>SAFETY</li></a>
+
<li onClick=" parent.location= ' '">   PARTS </li>
  
<a href="https://2016.igem.org/Team:Example/Modeling"><li>MODELING</li></a>
+
<li onClick=" parent.location= ' '"> AWARDS </li>
  
<a href="https://2016.igem.org/Team:Example/Measurement"><li>MEASUREMENT</li></a>
 
  
<a href="https://2016.igem.org/Team:Example/Software"><li>SOFTWARE</li></a>
+
</div>
  
<a href="https://2016.igem.org/Team:Example/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
 
  
</ul>
+
<div class="content_wrapper">
</div>
+
<!-- End of menu  -->
+
  
<!-- Start of content -->
 
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
 
 
</html>
 
</html>

Revision as of 20:35, 10 March 2016