Difference between revisions of "Template:Leicester"

Line 1: Line 1:
 
{{Template_All_Teams}}
 
{{Template_All_Teams}}
  
<!-- Declare that you are going to use html code instead of wiki code -->
+
<!DOCTYPE html>
<html>
+
<html lang="en">
 +
<head>
 +
  <title>Live Preview</title>
 +
  <meta charset="utf-8">
 +
  <meta name="viewport" content="width=device-width, initial-scale=1">
 +
  <link rel="stylesheet" href="https://2015.igem.org/Template:Leicester/css">
 +
  <script src="jquery2.min.js"></script>
 +
  <script src="bootstrap.min.js"></script>
 +
  <style>
 +
  .carousel-inner > .item > img,
 +
  .carousel-inner > .item > a > img {
 +
      width: 70%;
 +
      margin: auto;
 +
  }
 +
      body {background-color: #34495e;}
 +
      a {color:#f1c40f;}
 +
      a.bodytext {color:#ffea79;}
 +
     
 +
      .nav-pills > li > a {
 +
  border-radius: 10px;
  
<!-- Start of CSS-->
+
/*
<style type="text/css">
+
  border-bottom-left-radius: 0px;
 
+
  border-top-right-radius: 0px;
/* PAGE LAYOUT */
+
*/
 
+
/* Change Background color*/
+
body {
+
background-color: #FFFFFF;
+
}
+
 
+
/* Creates a container that will wrap all of the content inside your wiki pages. */
+
#mainContainer { 
+
width: 980px;
+
overflow:hidden;
+
float:left;
+
margin-left:20px;
+
margin-bottom: 10px;
+
background-color: #E8E8E9;
+
border-bottom: 20px solid #14747D;
+
+
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
}
+
 
+
/* Creates the container for the menu */
+
#menuContainer  {
+
float:top;
+
width: 150px;
+
padding: 20px 0px;
+
border-top: 14px solid #14747D;
+
background-color: #22BDB9;
+
font family: "Lucida Sans Unicode", "Lucida Grande", sans serif;}
+
}
+
 
+
/* 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 {
+
width:980px;                               
+
height:200px;
+
margin:auto;
+
text-align:center;
+
background-image: url('https://static.igem.org/mediawiki/2015/8/82/Team_Leicester_banner.jpg');
+
background-size:cover;
+
}
+
 
+
/*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
+
float: left;
+
display: block;
+
}
+
 
+
/* Sets the style for lists inside menuContainer  */
+
#menuContainer ul {
+
list-style: none;
+
margin-left:0px;
+
padding:0;
+
overflow: hidden;
+
 
}
 
}
 +
     
 +
    </style>
 +
</head>
 +
<body>
  
 +
<nav class="navbar navbar-default">
 +
<div class="container">
 +
    <div class="navbar-header">
 +
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
 +
          <span class="icon-bar"></span>
 +
          <span class="icon-bar"></span>
 +
          <span class="icon-bar"></span>                       
 +
      </button>
 +
      <a class="navbar-brand" href="test2.html">University of Leicester</a>
 +
    </div>
 +
    <div>
 +
      <div class="collapse navbar-collapse" id="myNavbar">
 +
        <ul class="nav navbar-nav">
 +
          <li><a href="#section1">Team</a></li>
 +
          <li><a href="#section2">Project</a></li>
 +
          <li><a href="#section3">Measurement</a></li>
 +
          <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Parts<span class="caret"></span></a>
 +
            <ul class="dropdown-menu">
 +
              <li><a href="#section41">Section 4-1</a></li>
 +
              <li><a href="#section42">Section 4-2</a></li>
 +
            </ul>
 +
          </li>
 +
          <li><a href="#">Notebook</a></li>
 +
          <li><a href="#">Attributions</a></li>
 +
          <li><a href="#">Human Practises</a></li>
 +
          <li><a href="#">Saftey</a></li>
 +
         
 +
        </ul>
 +
      </div>
 +
    </div>
 +
  </div>
 +
    </nav>
  
/*Styles the list items to become menu buttons */
+
<div class="container">
#menuContainer ul li {
+
<div class="row">
text-align: center;
+
    <div class="col-sm-3" style="padding-top:26px;">
display: float;
+
<ul class="nav nav-pills nav-stacked">
width: 100%;
+
        <li class="active"><a href="#">Home</a></li>
height:30px;
+
        <li><a href="secondpg.html">Team</a></li>
padding-top:10px;
+
        <li><a href="#">Project</a></li>
}
+
        <li><a href="#">Measurement</a></li>
 
+
      </ul>
/*For the menu buttons, changes the color when hovering*/
+
    </div>
#menuContainer li:hover {
+
    <div class="col-sm-8" style="color:#fff; background-color: #3498db; border-radius: 50px; border-top-right-radius: 0px; border-bottom-left-radius: 0px; padding-left:30px; padding-right:30px; padding-top:30px; padding-bottom:20px; box-shadow: 10px 10px 50px #000000;">
color:  #FFF;
+
        <h1>Leicester iGEM</h1>
background-color: #24B694;
+
          <p>We will be updating this page as we go.</p>
}
+
        <div class="container" style="align:center;">
 
+
        <a class="twitter-timeline"   
/*Submenus are not displayed as default*/
+
data-widget-id="327381807010025474"
#menuContainer li ul {
+
href="https://twitter.com/iGEMLeicester"
display: none;
+
width="500"
padding-top:15px;
+
height="500">
margin-left: -19px;
+
Tweets by @iGEMLeicester
}
+
</a>
 
+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); </script>
/*Submenus are displayed when hovering the menu button */
+
        </div>
#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;
+
z index: 999;
+
}
+
 
+
/*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">
+
</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:Leicester"><li>HOME</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Leicester/Team"><li>TEAM</li></a>
+
 
+
<a href="#"><li>PROJECT
+
            <ul>
+
<a href="https://2015.igem.org/Team:Leicester/Description"><li>Description</li></a>
+
<a href="https://2015.igem.org/Team:Leicester/Experiments"><li>Experiments &amp; Protocols</li></a> 
+
<a href="https://2015.igem.org/Team:Leicester/Results"><li>Results</li></a>
+
<a href="https://2015.igem.org/Team:Leicester/Design"><li>Design</li></a>
+
<a href="https://2015.igem.org/Team:Leicester/Further_Consideration"><li>Further Consideration</li></a>
+
</ul>
+
</li></a>
+
 
+
<a href="#"><li>PARTS
+
            <ul>
+
<a href="https://2015.igem.org/Team:Leicester/Parts"><li>Team Parts</li></a>
+
<a href="https://2015.igem.org/Team:Leicester/Basic_Part"><li>Basic Parts</li></a>  
+
<a href="https://2015.igem.org/Team:Leicester/Composite_Part"><li>Composite Parts</li></a>
+
<a href="https://2015.igem.org/Team:Leicester/Part_Collection"><li>Part Collection</li></a>
+
</ul>
+
</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Leicester/Notebook"><li>NOTEBOOK</li></a>
+
 
        
 
        
<a href="https://2015.igem.org/Team:Leicester/Attributions"><li>ATTRIBUTIONS</li></a>
+
    </div>
 
+
    <div class="col-sm-1"><h1></h1></div>
<a href="https://2015.igem.org/Team:Leicester/Collaborations"><li>COLLABORATIONS</li></a>
+
   
 
+
   
<a href="https://2015.igem.org/Team:Leicester/Practices"><li>HUMAN PRACTICES</li></a>
+
    </div>  
 
+
</div>
<a href="https://2015.igem.org/Team:Leicester/Safety"><li>SAFETY</li></a>
+
   
 
+
</body>
<a href="https://2015.igem.org/Team:Leicester/Modeling"><li>MODELING</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Leicester/Measurement"><li>MEASUREMENT</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Leicester/Software"><li>SOFTWARE</li></a>
+
 
+
</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 08:54, 12 August 2015

<!DOCTYPE html> Live Preview

Leicester iGEM

We will be updating this page as we go.