Difference between revisions of "Template:TeamTemplateA"

m (Protected "Template:TeamTemplateA" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(126 intermediate revisions by 8 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 -->
+
/* PAGE LAYOUT */
<style type="text/css">
+
 
+
/* Change Background color*/
/* 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 white background */
+
 
body {  
 
body {  
width: 100%;
 
height: 100%;
 
 
background-color: #fff;
 
background-color: #fff;
 
}
 
}
  
/*-- Make page full width and remove borders */
+
/* Creates a container that will wrap all of the content inside your wiki pages. */
#globalWrapper, #content {
+
width: 100%;
+
height: 100%;
+
border: 0px;
+
background-color: transparent;
+
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 */
+
 
+
/* Main content wrap  */
+
 
#mainContainer {   
 
#mainContainer {   
width: 980px;
+
width: 978px;
background-color: #fff;  
+
 
overflow:hidden;
 
overflow:hidden;
margin:auto;
+
float:left;
 +
margin-left:20px;
 
margin-bottom: 10px;
 
margin-bottom: 10px;
border-bottom: 6px solid #565656;
+
background-color: #fff;
 +
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;
 
border-top: 2px solid #565656;
 +
font-family: "Trebuchet MS", Helvetica, sans-serif;
 
}
 
}
  
/* Creates the container for the menu */
+
/* Creates the container for the menu */
 
#menuContainer  {  
 
#menuContainer  {  
 
float:left;
 
float:left;
width: 135px;
+
width: 134px;
border-top: 6px solid #565656;
+
padding: 20px 0px;
}
+
border-top: 14px solid #565656;
 
+
/* Sets the style for lists inside menuContainer  */
+
#menuContainer ul {
+
margin-left: 2px;
+
width:100%;
+
list-style: none;
+
}
+
 
+
#menuContainer ul li {
+
 
background-color: #E8E8E9;
 
background-color: #E8E8E9;
text-align: center;
 
display: block;
 
padding: 10px;
 
 
}
 
}
  
/* defines the bullet element inside menu container */
+
/* Creates the container for the content */
#menuContainer li, #menuContainer li a  {
+
#contentContainer {
color: #1D1313;
+
padding-top:20px;
font-weight: bold;
+
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;
 
}
 
}
  
/* defines the style change when hover over bullet element */
+
/*Set up height place holder for the banner*/
#menuContainer li:hover, #menuContainer ul a:hover{
+
#bannerContainer {
text-decoration: none;
+
height:200px;
color: #fff;
+
margin:auto;
background-color: #24B694;
+
text-align:center;
}
+
color: #24B694;
+
/* sub menus are not displayed */
+
#menuContainer ul ul {
+
display: none;
+
 
}
 
}
  
 +
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
  
#menuContainer ul ul li {
+
/*Change the styling of text for everything inside main container*/
background-color: #24B694;
+
#mainContainer p {  
margin-left: -2px;
+
font-size: 13px;
margin-top: -4px;
+
color: #000000;
 
}
 
}
 
#menuContainer ul ul li:hover {
 
background-color: #59bf92;
 
}
 
 
/* sub menus are displayed when hovering on the ul */
 
#menuContainer ul li:hover > ul {
 
 
display: block;
 
top: 0;
 
left: 100%;
 
}
 
 
#contentContainer {
 
background-color: #fff;
 
width: 825px;
 
padding-left: 20px;
 
float: left;
 
margin-bottom: 20px;
 
border-top: 6px solid #565656;
 
}
 
 
/*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: "Trebuchet MS", Helvetica, sans-serif;
 
 
color: #565656;
 
color: #565656;
 
border-bottom: none;
 
border-bottom: none;
 
font-weight: bold;
 
font-weight: bold;
 +
font-family: "Trebuchet MS", Helvetica, sans-serif;
 +
margin-top:10px;
 
}
 
}
  
/*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 140: Line 82:
 
}
 
}
  
/*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: #59bf92;
 
color: #59bf92;
 
}
 
}
  
/*Change the styling of text */
+
/*Change the styling of tables */
#mainContainer p {
+
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
font-size: 12px;
+
color: #000000;
+
}
+
 
+
/* Clear float */
+
.clear{
+
clear:both;
+
}
+
 
+
        .simpleButton {
+
            width: 100px;
+
    background-color: #23B593;
+
    height: 25px;
+
    text-align: center;
+
        padding: 12px 7px 5px 7px;
+
        margin: auto;
+
color: #fff;
+
        font-weight: bold;
+
    }       
+
 
+
        .simpleButton:hover {
+
    background: #59bf92;
+
    }
+
 
+
 
         #contentContainer table {
 
         #contentContainer table {
 
     border: 1px solid #565656;
 
     border: 1px solid #565656;
Line 183: Line 99:
 
     }
 
     }
  
 +
/*Change the styling of table cells*/
 
     #contentContainer  td {
 
     #contentContainer  td {
    background-color: #fff;
 
 
     padding: 10px;
 
     padding: 10px;
 
     border: 1px solid #565656;
 
     border: 1px solid #565656;
Line 191: Line 107:
 
     }
 
     }
  
 +
/*Change the styling of table headers */
 
     #contentContainer th {
 
     #contentContainer th {
 
     background-color: #E8E8E9;
 
     background-color: #E8E8E9;
Line 198: Line 115:
 
     vertical-align: text-top;
 
     vertical-align: text-top;
 
     }
 
     }
 +
 +
 +
 +
/*MENU STYLING */
 +
 +
/*Styling for the links in the menu */
 +
#menuContainer a {
 +
color: #565656;
 +
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 */
 +
#menuContainer ul li {
 +
text-align: center;
 +
display: block;
 +
width: 100%;
 +
height:30px;
 +
padding-top:10px;
 +
}
 +
 +
/*For the menu buttons, changes the color when hovering*/
 +
#menuContainer li:hover {
 +
color:  #FFF;
 +
background-color: #24B694;
 +
}
 +
 +
/*Submenus are not displayed as default*/
 +
#menuContainer li ul {
 +
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 */
 +
 +
/*Clear class for all the pages, adds spacing too*/
 +
.clear{
 +
clear:both;
 +
height: 10px;
 +
}
 +
 +
 +
/* highlight box for special messages */
 +
    .highlightBox {
 +
        width:500px;
 +
        margin:auto;
 +
        background-color: #E8E8E9;
 +
margin-bottom: 15px;
 +
margin-top: 15px;
 +
padding: 15px;
 +
padding-top: 5px;
 +
    }
 +
  
 
</style>
 
</style>
<!-- end of css -->
+
<!-- End of CSS -->
<div id ="mainContainer">
+
 
<img src="https://static.igem.org/mediawiki/2015/e/eb/Demoteam_banner.jpg" width="980px">
+
 
 +
<!-- 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="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">
 
<div id="menuContainer">
 +
 +
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
 
<ul>
 
<ul>
<a href="#"><li>HOME</li></a>
+
<a href="https://2015.igem.org/Team:Example"><li>HOME</li></a>
<li>TEAM
+
            <ul>
+
<a href="#"><li>Item</li></a>
+
<a href="#"><li>Item</li></a
+
</ul>
+
</li>
+
  
<li>PROJECT
+
<a href="https://2015.igem.org/Team:Example/Team"><li>TEAM</li></a>
            <ul>
+
<a href="#"><li>Item</li></a>
+
<a href="#"><li>Item</li></a
+
</ul>
+
</li>
+
  
<li>PARTS
+
<a href="#"><li>PROJECT
 
             <ul>
 
             <ul>
<a href="#"><li>Item</li></a>
+
<a href="https://2015.igem.org/Team:Example/Description"><li>Description</li></a>
<a href="#"><li>Item</li></a>   
+
<a href="https://2015.igem.org/Team:Example/Experiments"><li>Experiments &amp; Protocols</li></a>   
 +
<a href="https://2015.igem.org/Team:Example/Results"><li>Results</li></a> 
 +
<a href="https://2015.igem.org/Team:Example/Design"><li>Design</li></a>
 
</ul>
 
</ul>
</li>
+
</li></a>
  
<li>OUTREACH
+
<a href="#"><li>PARTS
 
             <ul>
 
             <ul>
<a href="#"><li>Item</li></a>
+
<a href="https://2015.igem.org/Team:Example/Parts"><li>Team Parts</li></a>
<a href="#"><li>Item</li></a>   
+
<a href="https://2015.igem.org/Team:Example/Basic_Part"><li>Basic Parts</li></a> 
 +
<a href="https://2015.igem.org/Team:Example/Composite_Part"><li>Composite Parts</li></a>
 +
<a href="https://2015.igem.org/Team:Example/Part_Collection"><li>Part Collection</li></a>   
 
</ul>
 
</ul>
</li>
+
</li></a>
  
<a href="#"><li>SAFETY</li></a>
+
<a href="https://2015.igem.org/Team:Example/Notebook"><li>NOTEBOOK</li></a>
 
        
 
        
<li>MODELING
+
<a href="https://2015.igem.org/Team:Example/Attributions"><li>ATTRIBUTIONS</li></a>
            <ul>
+
 
<a href="#"><li>Item</li></a>
+
<a href="https://2015.igem.org/Team:Example/Collaborations"><li>COLLABORATIONS</li></a>
<a href="#"><li>Item</li></a>
+
 
</ul>
+
<a href="https://2015.igem.org/Team:Example/Practices"><li>HUMAN PRACTICES</li></a>
</li>
+
 
 +
<a href="https://2015.igem.org/Team:Example/Safety"><li>SAFETY</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:Example/Modeling"><li>MODELING</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:Example/Measurement"><li>MEASUREMENT</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:Example/Software"><li>SOFTWARE</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:Example/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
  
<a href="#"><li>NOTEBOOK</li></a>
 
 
</ul>
 
</ul>
 
</div>
 
</div>
 +
<!-- End of menu  -->
  
 
+
<!-- Start of content -->
<div id="contentContainer">
+
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
 
</html>
 
</html>

Latest revision as of 15:50, 29 July 2015