Difference between revisions of "Template:TeamTemplateA"

(Reverted edits since 2 April 2015)
Line 1: Line 1:
 +
{{Template_All_Teams}}
 +
 +
<!-- Declare that you are going to use html code instead of wiki code -->
 
<html>
 
<html>
<style>
 
  
 +
<!-- Start of CSS-->
 +
<style type="text/css">
 +
 +
/* 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 */
 +
#contentContainer {
 +
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) */
 +
 +
/*Change the styling of text for everything inside main container*/
 +
#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*/
 +
    #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;
 +
    }
 +
 +
 +
 +
/*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>
 +
<!-- End of CSS -->
 +
 +
 +
<!-- 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">
 +
 +
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
 +
<ul>
 +
<a href="https://2015.igem.org/Team:Example"><li>HOME</li></a>
  
 +
<a href="https://2015.igem.org/Team:Example/Team"><li>TEAM</li></a>
  
body{
+
<a href="#"><li>PROJECT
background: url(http://desktopwallpapers.org.ua/images/201301/desktopwallpapers.org.ua_23793.jpg);
+
            <ul>
background-size: 500px;
+
<a href="https://2015.igem.org/Team:Example/Description"><li>Description</li></a>
    margin-top:0px;
+
<a href="https://2015.igem.org/Team:Example/Experiments"><li>Experiments &amp; Protocols</li></a> 
    margin-left:0px;
+
<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>
 +
</li></a>
  
 +
<a href="#"><li>PARTS
 +
            <ul>
 +
<a href="https://2015.igem.org/Team:Example/Parts"><li>Team Parts</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>
 +
</li></a>
  
/*--------------General end-----------------*/
+
<a href="https://2015.igem.org/Team:Example/Notebook"><li>NOTEBOOK</li></a>
 +
     
 +
<a href="https://2015.igem.org/Team:Example/Attributions"><li>ATTRIBUTIONS</li></a>
  
/*--------------Global/content start----------------*/
+
<a href="https://2015.igem.org/Team:Example/Collaborations"><li>COLLABORATIONS</li></a>
  
 +
<a href="https://2015.igem.org/Team:Example/Practices"><li>HUMAN PRACTICES</li></a>
  
#content { /*-- changes default wiki settings --*/
+
<a href="https://2015.igem.org/Team:Example/Safety"><li>SAFETY</li></a>
width: 100%;
+
height: 100%;
+
border: 0px;
+
background-color: white;
+
margin: 0px;
+
padding: 0px;
+
}
+
  
/*--------------Global end------------------*/
+
<a href="https://2015.igem.org/Team:Example/Modeling"><li>MODELING</li></a>
  
top
+
<a href="https://2015.igem.org/Team:Example/Measurement"><li>MEASUREMENT</li></a>
{
+
margin-top: 0px;
+
background: url(https://static.igem.org/mediawiki/2015/2/2d/Intro-bg.jpg);
+
}
+
  
#navigation {
+
<a href="https://2015.igem.org/Team:Example/Software"><li>SOFTWARE</li></a>
position: fixed;
+
top: 0;
+
width: 100%;
+
color: #ffffff;
+
height: 35px;
+
text-align: center;
+
padding-top: 15px;
+
/* Adds shadow to the bottom of the bar */
+
-webkit-box-shadow: 0px 0px 8px 0px #000000;
+
-moz-box-shadow: 0px 0px 8px 0px #000000;
+
box-shadow: 0px 0px 8px 0px #000000;
+
/* Adds the transparent background */
+
background-color: rgba(1, 1, 1, 0.8);
+
color: rgba(1, 1, 1, 0.8);
+
}
+
#navigation a {
+
font-size: 14px;
+
padding-left: 15px;
+
padding-right: 15px;
+
color: white;
+
text-decoration: none;
+
}
+
  
#navigation a:hover {
+
<a href="https://2015.igem.org/Team:Example/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
color: grey;
+
}
+
        .button {
+
          width: 130px;
+
    border: 1px solid #000000;
+
    background-color: #000000;
+
    height: 30px;
+
    text-align: center;
+
        border-radius: 5px;
+
        padding: 10px 5px 0px 5px;
+
        margin: auto;
+
/*animate transition */
+
-webkit-transition: background 0.2s linear;
+
-moz-transition: background 0.2s linear;
+
-ms-transition: background 0.2s linear;
+
-o-transition: background 0.2s linear;
+
transition: background 0.2s linear;
+
    }
+
  
.button:hover {
+
</ul>
    background-color: #3aa76c;
+
</div>
    color: white;
+
<!-- End of menu  -->
    }
+
</style>
+
<body>
+
  
<div id="navigation">
+
<!-- Start of content -->
<button size="1" type="button" class="button" onclick="location.href='https://2015.igem.org/Team:NU_Kazakhstan';">HOME
+
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
</button>
+
<button size="1" type="button" class="button" onclick="location.href='https://2015.igem.org/Team:NU_Kazakhstan/Team';">
+
TEAM </button>
+
<button size="1" type="button" class="button" onclick="location.href='https://2015.igem.org/Team:NU_Kazakhstan/Project';">
+
PROJECT </button>
+
<button size="1" type="button" class="button" onclick="location.href='https://2015.igem.org/Team:NU_Kazakhstan/Parts';">
+
PARTS </button>
+
<button size="1" type="button" class="button" onclick="location.href='https://2015.igem.org/Team:NU_Kazakhstan/Notebook';">
+
NOTEBOOK </button>
+
<button size="1" type="button" class="button" onclick="location.href='https://2015.igem.org/Team:NU_Kazakhstan/Attributions';">
+
ATTRIBUTIONS </button>
+
<button size="1" type="button" class="button" onclick="location.href='https://2015.igem.org/Team:NU_Kazakhstan/Practices';">
+
HUMAN PRACTICE </button>
+
<button size="1" type="button" class="button" onclick="location.href='https://2015.igem.org/Team:NU_Kazakhstan/Software';">
+
SOFTWARE </button>
+
<button size="1" type="button" class="button" onclick="location.href='https://2015.igem.org/Team:NU_Kazakhstan/Safety';">
+
SAFETY </button>
+
</div>
+
</body>
+
 
</html>
 
</html>

Revision as of 15:50, 29 July 2015