Difference between revisions of "Template:USTC"

Line 1: Line 1:
{{Template_All_Teams}}
+
<!DOCTYPE html>
 
+
<!-- Declare that you are going to use html code instead of wiki code -->
+
 
<html>
 
<html>
 
+
  <head>
<!-- Start of CSS-->
+
    <!--Import materialize.css-->
<style type="text/css">
+
    <link type="text/css" rel="stylesheet" href="https://2015.igem.org/Template:USTC/css/materialize.min.css?action=raw&amp;ctype=text/css"  media="screen,projection"/>
 
+
    <style type="text/css">
/* PAGE LAYOUT */
+
    .position_center{
 
+
    margin: 0 auto;
/* Change Background color*/
+
    }
body {  
+
    .wrap{
background-color: #fff;
+
    width:600px;
}
+
    height:300px;
 
+
    background:#ffffff;
/* Creates a container that will wrap all of the content inside your wiki pages. */
+
    margin:auto;
#mainContainer {
+
    position:relative;
width: 978px;
+
    top:-200px;
overflow:hidden;
+
    border:2px solid #eeeeee;
float:left;
+
    margin-bottom: 10px;
margin-left:20px;
+
   
margin-bottom: 10px;
+
    }
background-color: #fff;
+
    .ilike-blue-container {
border-bottom: 14px solid #565656;
+
    @extend .blue, .lighten-4;
border-right: 2px solid #565656;
+
    }
border-left: 2px solid #565656;
+
    .tabs{
border-top: 2px solid #565656;
+
    background-color: transparent;
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
    }
}
+
    .tabs .tab a {
 
+
    color: white;
/* Creates the container for the menu */
+
    display: block;
#menuContainer  {
+
    width: 100%;
float:left;
+
    height: 100%;
width: 134px;
+
    }
padding: 20px 0px;
+
    .tabs .tab a:hover {
border-top: 14px solid #565656;
+
    color: #82d1f4;
background-color: #E8E8E9;
+
    }
}
+
    .tabs .indicator {
 
+
    position: absolute;
/* Creates the container for the content */
+
    bottom: 0;
#contentContainer {
+
    height: 2px;
padding-top:20px;
+
    background-color: white;
padding-right:10px;
+
    will-change: left, right;
margin-bottom: 20px;
+
    }
width: 814px;
+
    .team_logo
padding-left: 20px;
+
    {
float: left;
+
    background-image : url(img/index/team_logo.png);
background-color: #fff;
+
    background-repeat : no-repeat;
border-top: 14px solid #565656;
+
    width : 563px;
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
    height : 357px;
}
+
   
 
+
    position:fixed;
/*Set up height place holder for the banner*/
+
    right:0;
#bannerContainer {
+
    }
height:200px;
+
    body {background-position: center;
margin:auto;
+
    background-repeat: no-repeat;
text-align:center;
+
    background-attachment: fixed;}
color: #24B694;
+
    nav{
}
+
    background-color: rgba(70, 136, 241, 0.67);
 
+
    }
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
+
    footer .footer-copyright{
 
+
    background-color: rgba(70, 136, 241, 0.67);
/*Change the styling of text for everything inside main container*/
+
    }
#mainContainer p {  
+
    </style>
font-size: 13px;
+
    <!--Let browser know website is optimized for mobile-->
color: #000000;
+
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
}
+
  </head>
+
  <body background="https://static.igem.org/mediawiki/2015/6/6a/WP3.png">
/*This changes the color and font family */
+
    <div class="navbar-fixed" >
#contentContainer h1, h2, h3, h4, h5, h6 {
+
      <nav class ="z-depth-0  top">
color: #565656;
+
        <div class="nav-wrapper  ilike-blue-container">
border-bottom: none;
+
          <a href="#" class="brand-logo"> <img src="img/index/igem_logo.png" alt=""></a>
font-weight: bold;
+
          <ul id="nav-mobile" class="right hide-on-med-and-down">
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
            <li><a href="sass.html">Project</a></li>
margin-top:10px;
+
            <li><a href="badges.html">Modeling</a></li>
}
+
            <li><a href="collapsible.html">NoteBook</a></li>
 
+
            <li><a href="collapsible.html">Human Practice</a></li>
/*Style of the links - links are different inside the menu */
+
            <li><a href="collapsible.html">Team</a></li>
#contentContainer a {
+
            <li><a href="collapsible.html">Safety</a></li>
font-weight: bold;
+
          </ul>
color: #23b593;
+
        </div>
}
+
      </nav>
 
+
    </div>
  /* Styling links on hover- links are different inside the menu */
+
    <div class="team_logo"></div>
#contentContainer a:hover {  
+
   
color: #59bf92;
+
   
}
+
   
 
+
   
/*Change the styling of tables */
+
    <!--Import jQuery before materialize.js-->
        #contentContainer table {
+
    <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
    border: 1px solid #565656;
+
    <script type="text/javascript" src="https://2015.igem.org/Template:USTC/js/materialize.min.js?action=raw&amp;ctype=text/javascript"></script>
    border-collapse: collapse;
+
  </body>
    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">
+
                                <img src="https://static.igem.org/mediawiki/2015/6/61/Team_USTC_banner.jpg" />
+
</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:USTC"><li>HOME</li></a>
+
 
+
<a href="https://2015.igem.org/Team:USTC/Team"><li>TEAM</li></a>
+
 
+
<a href="#"><li>PROJECT
+
            <ul>
+
<a href="https://2015.igem.org/Team:USTC/Description"><li>Description</li></a>
+
<a href="https://2015.igem.org/Team:USTC/Experiments"><li>Experiments &amp; Protocols</li></a>
+
<a href="https://2015.igem.org/Team:USTC/Results"><li>Results</li></a> 
+
<a href="https://2015.igem.org/Team:USTC/Design"><li>Design</li></a>
+
</ul>
+
</li></a>
+
 
+
<a href="#"><li>PARTS
+
            <ul>
+
<a href="https://2015.igem.org/Team:USTC/Parts"><li>Team Parts</li></a>
+
<a href="https://2015.igem.org/Team:USTC/Basic_Part"><li>Basic Parts</li></a>
+
<a href="https://2015.igem.org/Team:USTC/Composite_Part"><li>Composite Parts</li></a>
+
<a href="https://2015.igem.org/Team:USTC/Part_Collection"><li>Part Collection</li></a>
+
</ul>
+
</li></a>
+
 
+
<a href="https://2015.igem.org/Team:USTC/Notebook"><li>NOTEBOOK</li></a>
+
     
+
<a href="https://2015.igem.org/Team:USTC/Attributions"><li>ATTRIBUTIONS</li></a>
+
 
+
<a href="https://2015.igem.org/Team:USTC/Collaborations"><li>COLLABORATIONS</li></a>
+
 
+
<a href="https://2015.igem.org/Team:USTC/Practices"><li>HUMAN PRACTICES</li></a>
+
 
+
<a href="https://2015.igem.org/Team:USTC/Safety"><li>SAFETY</li></a>
+
 
+
<a href="https://2015.igem.org/Team:USTC/Modeling"><li>MODELING</li></a>
+
 
+
<a href="https://2015.igem.org/Team:USTC/Measurement"><li>MEASUREMENT</li></a>
+
 
+
<a href="https://2015.igem.org/Team:USTC/Software"><li>SOFTWARE</li></a>
+
 
+
<a href="https://2015.igem.org/Team:USTC/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
+
 
+
</ul>
+
</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 09:47, 12 August 2015

<!DOCTYPE html>