Difference between revisions of "Template:TeamTemplateC"

m (Protected "Template:TeamTemplateC" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
 
(17 intermediate revisions by 6 users not shown)
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>
  
<!-- This part of the code sets the styling of the webpage, you can modify as you please. -->
+
<!-- Start of CSS-->
 +
<style type="text/css">
  
<!-- start of css -->
 
<style type="text/css">
 
 
/* First, clear the default wiki settings */             
 
 
 
/* Remove footer, catlinks and logos */   
 
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear, .firstHeading {
 
display: none;
 
}
 
 
/* Set up a width, height and color of the body wrapper*/
 
body {
 
width: 100%;
 
height: 100%;
 
background-color: #29221F;
 
}
 
  
#top_menu_inside {
 
margin-left: 20px;
 
}
 
  
/* since the background is dark, we change the color of the text and links so they are visible on "show preview" mode */
+
 
 +
/* since the background is dark, we change the color of the text and links so they are visible on "show preview" mode */
  
 
p, #content {
 
p, #content {
Line 37: Line 23:
  
  
/*-- Make page full width and remove borders */
+
/* PAGE LAYOUT */
#globalWrapper, #content {
+
 
width: 100%;
+
height: 100%;
+
/* Set up a width, height and color of the body wrapper*/
border: 0px;
+
body {  
background-color: transparent;
+
background-color: #29221F;
margin: 0px;
+
padding: 0px;
+
}
+
+
/*Clear wiki default settings for the top part of the wiki page */
+
#top-section {  
+
border: 0 none;
+
height: 14px;
+
z-index: 100;
+
top: 0;
+
position: fixed;
+
width: 100%;
+
margin:auto;
+
 
}
 
}
  
/* First, clear the default wiki settings */
+
/* Creates a container that will wrap all of the content inside your wiki pages. */
 
+
/* Main content wrap  */
+
 
#mainContainer {   
 
#mainContainer {   
 
width: 980px;
 
width: 980px;
height: 100%;
+
overflow:hidden;
 
float:left;
 
float:left;
 
margin-left:20px;
 
margin-left:20px;
background-color: #fff;
+
margin-bottom: 10px;
overflow:hidden;
+
background-color: #fff;  
 +
border-bottom: 20px solid #14747D;
 
}
 
}
  
/* Creates the container for the menu */
+
/* Creates the container for the menu */
#menuContainer {
+
#menuContainer {  
list-style: none;
+
float:left;
padding: 0px;
+
width: 150px;
margin: 0px;
+
padding: 20px 0px;
width:100%;
+
background-color: #DB1E39;
 +
border-top: 20px solid #14747D;
 
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
 
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
 
}
 
}
  
p #menuContainer {
+
/* Creates the container for the content */
 
+
#contentContainer {
}
+
padding-top:20px;
#menuContainer ul {
+
padding-right:10px;
list-style: none;
+
margin-bottom: 20px;
padding: 0px;
+
width: 800px;
margin: 0px;
+
padding-left: 20px;
 +
float: left;
 +
border-top: 20px solid #14747D;
 +
background-color: #fff;
 +
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
 
}
 
}
  
  
#menuContainer ul li {
+
/*Set up height place holder for the banner*/
display: block;
+
#bannerContainer {
position:relative;
+
height:200px;
float: left;  
+
margin:auto;
width:86px;
+
text-align:center;
font-size: 8px;
+
color: #24B694;
 
}
 
}
  
#menuContainer li ul {
+
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
display: none;
+
}
+
  
#menuContainer ul li a {
+
/*Change the styling of text for everything inside main container*/
display: block;
+
#mainContainer p {  
background-color:#db1d39; 
+
font-size: 13px;
padding: 10px 5px 10px 10px;
+
color: #000000;
text-decoration: none;
+
white-space: nowrap;
+
color: #fff;
+
 
}
 
}
 
 
#menuContainer ul ul li a {
 
margin-top:-2px;
 
}
 
 
 
#menuContainer li a:hover {
 
background-color: #14747d;
 
}
 
 
#menuContainer li:hover ul {
 
display: block;
 
position: absolute;
 
}
 
 
#menuContainer li:hover li {
 
float: none;
 
}
 
 
#menuContainer  li:hover a {
 
background-color: #14747d;
 
}
 
 
#menuContainer  li:hover li a:hover {
 
background-color: #22bcb9;
 
}
 
 
#menuContainer tr{
 
height: 34px;
 
text-align: center;
 
background-color:#db1d39; 
 
border-style:none;
 
}
 
 
#menuContainer table{
 
    border-collapse: collapse;
 
}
 
 
 
 
#contentContainer {
 
margin-top: 10px;
 
background-color: #fff;
 
width: 960px;
 
padding: 10px;
 
margin-bottom: 20px;
 
min-height:300px;
 
}
 
 
/*Styling the content*/
 
 
 
/*This changes the color and font family */
+
/*This changes the color and font family */
 
#contentContainer h1, h2, h3, h4, h5, h6 {  
 
#contentContainer h1, h2, h3, h4, h5, h6 {  
 
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
 
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
Line 170: Line 91:
 
}
 
}
  
/*Change the color of the link*/
+
/*Style of the links - links are different inside the menu */
 
#contentContainer a {  
 
#contentContainer a {  
 
font-weight: bold;
 
font-weight: bold;
Line 176: Line 97:
 
}
 
}
  
/*Change the color of the link on hover*/
+
  /* Styling links on hover- links are different inside the menu */
 
#contentContainer a:hover {  
 
#contentContainer a:hover {  
 
color: #14747D;
 
color: #14747D;
 
}
 
}
  
/*Change the styling of text */
+
/*Change the styling of tables */
#mainContainer p, #contentContainer{
+
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
+
color: #29221F;
+
font-size: 12px;
+
}
+
 
+
 
+
 
+
/* Clear float */
+
.clear{
+
clear:both;
+
}
+
 
+
 
+
 
         #contentContainer table {
 
         #contentContainer table {
 
     border: 2px solid #29221F;
 
     border: 2px solid #29221F;
Line 206: Line 113:
 
     }
 
     }
  
 +
/*Change the styling of table cells*/
 
     #contentContainer  td {
 
     #contentContainer  td {
 
     background-color: #fff;
 
     background-color: #fff;
Line 214: Line 122:
 
     }
 
     }
  
 +
 +
/*Change the styling of table headers */
 
     #contentContainer th {
 
     #contentContainer th {
 
     background-color: #F4F0D8;
 
     background-color: #F4F0D8;
Line 222: Line 132:
 
     }
 
     }
  
      .highlightBox {
 
        width:500px;
 
        margin:auto;
 
        background-color: #F4F0D8;
 
margin-bottom: 15px;
 
margin-top: 15px;
 
padding: 15px;
 
padding-top: 5px;
 
      }
 
  
  
</style>
 
<!-- end of css -->
 
  
<div id ="mainContainer">
+
/*MENU STYLING */
<img src="https://static.igem.org/mediawiki/2015/2/20/Banner_templateC.jpg">
+
  
<div id="menuContainer">
+
/*Styling for the links in the menu */
 +
#menuContainer a {
 +
color: #fff;
 +
text-decoration:none;
 +
font-weight: bold;
 +
}
  
<table>
+
/* Sets the style for lists inside menuContainer  */
<tr>
+
#menuContainer ul {
 +
list-style: none;
 +
margin-left:0px;
 +
}
  
 +
/*Styles the list items to become menu buttons */
 +
#menuContainer ul li {
 +
text-align: center;
 +
display: block;
 +
width: 100%;
 +
height:30px;
 +
padding-top:10px;
 +
}
  
<td>
+
/*For the menu buttons, changes the color when hovering*/
<ul> <li><a href="https://2015.igem.org/Team:Example2/Team">HOME</a></li></ul>
+
#menuContainer li:hover {
</td>
+
color: #FFF;
 +
background-color: #14747D;
 +
}
  
 +
/*Submenus are not displayed as default*/
 +
#menuContainer li ul {
 +
display: none;
 +
padding-top:15px;
 +
margin-left: -19px;
 +
}
  
<td>
+
/*Submenus are displayed when hovering the menu button */
<ul>
+
#menuContainer li:hover ul {
<li><a href="#">PROJECT</a>
+
/*display: inline-block; */
<ul>
+
display: block;
<li><a href="https://2015.igem.org/Team:Example2/Description">Description</a></li>
+
position: absolute;
<li><a href="https://2015.igem.org/Team:Example2/Data">Data</a></li>
+
float:right;
<li><a href="https://2015.igem.org/Team:Example2/Results">Results</a></li> 
+
margin-left: 150px;
</ul>
+
margin-top:-42px;
</li>
+
}
</ul>
+
</td>
+
  
 +
/*Style the submenu buttons*/
 +
#menuContainer li ul li{
 +
background-color: #22BCB9;
 +
padding-left:20px;
 +
padding-right:20px;
 +
height:30px;
 +
padding-top:10px;
 +
margin-top:-2px;
 +
color: #28221E;
 +
width: 170px;
 +
}
  
<td>
+
/*CLASSES */
<ul>
+
<li><a href="#">PARTS</a>
+
<ul>
+
<li><a href="https://2015.igem.org/Team:Example2/Parts">Team Parts</a></li>
+
<li><a href="https://2015.igem.org/Team:Example2/Basic_Part">Basic Parts</a></li>
+
<li><a href="https://2015.igem.org/Team:Example2/Composite_Part">Composite Parts</a></li>
+
<li><a href="https://2015.igem.org/Team:Example2/Part_Collection">Part Collection</a></li> 
+
</ul>
+
</li>
+
</ul>
+
</td>
+
+
<td>
+
<ul> <li><a href="https://2015.igem.org/Team:Example2/Notebook">NOTEBOOK</a></li></ul>
+
</td>
+
  
 +
/*Clear class for all the pages, adds spacing too*/
 +
.clear{
 +
clear:both;
 +
height: 10px;
 +
}
  
<td>
 
<ul> <li><a href="https://2015.igem.org/Team:Example2/Attributions">ATTRIBUTIONS</a></li></ul>
 
</td>
 
  
 +
/* highlight box for special messages */
 +
          .highlightBox {
 +
            width:500px;
 +
            margin:auto;
 +
            background-color: #F4F0D8;
 +
    margin-bottom: 15px;
 +
    margin-top: 15px;
 +
    padding: 15px;
 +
    padding-top: 5px;
 +
            }
 +
 +
 +
</style>
 +
<!-- End of CSS -->
 +
 +
 +
<!-- Start of the template html elements. -->
 +
<div id ="mainContainer"><!--This div will close on the 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_Example_banner.jpg</i>" </p>
 +
</div>
 +
 +
<!-- Start of menu -->
 +
<div id="menuContainer">
  
<td>
+
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
<ul> <li><a href="https://2015.igem.org/Team:Example2/Practices">HUMAN PRACTICES</a></li></ul>
+
<ul>
</td>
+
<a href="https://2015.igem.org/Team:Example2"><li>HOME</li></a>
  
<td>
+
<a href="https://2015.igem.org/Team:Example2/Team"><li>TEAM</li></a>
<ul> <li><a href="https://2015.igem.org/Team:Example2/Safety">SAFETY</a></li></ul>
+
</td>
+
  
<td>
+
<a href="#"><li>PROJECT
<ul> <li><a href="https://2015.igem.org/Team:Example2/Modeling">MODELING</a></li></ul>
+
            <ul>
</td>
+
<a href="https://2015.igem.org/Team:Example2/Description"><li>Description</li></a>
 +
<a href="https://2015.igem.org/Team:Example2/Experiments"><li>Experiments & Protocols</li></a>
 +
<a href="https://2015.igem.org/Team:Example2/Results"><li>Results</li></a> 
 +
</ul>
 +
</li></a>
  
 +
<a href="#"><li>PARTS
 +
            <ul>
 +
<a href="https://2015.igem.org/Team:Example2/Parts"><li>Team Parts</li></a>
 +
<a href="https://2015.igem.org/Team:Example2/Basic_Part"><li>Basic Parts</li></a> 
 +
<a href="https://2015.igem.org/Team:Example2/Composite_Part"><li>Composite Parts</li></a>
 +
<a href="https://2015.igem.org/Team:Example2/Part_Collection"><li>Part Collection</li></a> 
 +
</ul>
 +
</li></a>
  
<td>
+
<a href="https://2015.igem.org/Team:Example2/Notebook"><li>NOTEBOOK</li></a>
<ul> <li><a href="https://2015.igem.org/Team:Example2/Measurement">MEASUREMENT</a></li></ul>
+
     
</td>
+
<a href="https://2015.igem.org/Team:Example2/Attributions"><li>ATTRIBUTIONS</li></a>
  
<td>
+
<a href="https://2015.igem.org/Team:Example2/Collaborations"><li>COLLABORATIONS</li></a>
<ul> <li><a href="https://2015.igem.org/Team:Example2/Software">SOFTWARE</a></li></ul>
+
</td>
+
  
<td>
+
<a href="https://2015.igem.org/Team:Example2/Practices"><li>HUMAN PRACTICES</li></a>
<ul> <li><a href="https://2015.igem.org/Team:Example2/Entrepreneurship">ENTREPRENEURSHIP</a></li></ul>
+
</td>
+
  
</tr>
+
<a href="https://2015.igem.org/Team:Example2/Safety"><li>SAFETY</li></a>
</table>
+
  
 +
<a href="https://2015.igem.org/Team:Example2/Modeling"><li>MODELING</li></a>
  
 +
<a href="https://2015.igem.org/Team:Example2/Measurement"><li>MEASUREMENT</li></a>
  
</div>
+
<a href="https://2015.igem.org/Team:Example2/Software"><li>SOFTWARE</li></a>
  
 +
<a href="https://2015.igem.org/Team:Example2/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
  
<div id="contentContainer">
+
</ul>
 +
</div>
 +
<!-- End of menu  -->
  
 +
<!-- Start of content -->
 +
<div id="contentContainer"> <!--This div will close on the page.-->
 
</html>
 
</html>

Latest revision as of 15:45, 29 July 2015