Difference between revisions of "Template:Leicester"

 
(82 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template_All_Teams}}
+
<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="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" type="text/css">
 +
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
 +
  <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
 +
    <!--load font awesome-->
 +
    <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
  
<!-- Declare that you are going to use html code instead of wiki code -->
+
  <style>
<html>
+
<!-- start of social media buttons -->
 +
.social {
 +
    margin: 0;
 +
    padding: 0;
 +
}
  
<!-- Start of CSS-->
+
.social ul {
<style type="text/css">
+
    margin: 0;
 +
    padding: 5px;
 +
}
  
/* PAGE LAYOUT */
+
.social ul li {
 +
    margin: 5px;
 +
    list-style: none outside none;
 +
    display: inline-block;
 +
}
  
/* Change Background color*/
+
.social i {
body {  
+
    width: 40px;
background-color: #FFFFFF;
+
    height: 40px;
}
+
    color: #FFF;
 +
    background-color: #909AA0;
 +
    font-size: 22px;
 +
    text-align:center;
 +
    padding-top: 12px;
 +
    border-radius: 50%;
 +
    -moz-border-radius: 50%;
 +
    -webkit-border-radius: 50%;
 +
    -o-border-radius: 50%;
 +
    transition: all ease 0.3s;
 +
    -moz-transition: all ease 0.3s;
 +
    -webkit-transition: all ease 0.3s;
 +
    -o-transition: all ease 0.3s;
 +
    -ms-transition: all ease 0.3s;
 +
}
  
/* Creates a container that will wrap all of the content inside your wiki pages. */
+
.social i:hover {
#mainContainer {
+
    color: #FFF;
width: 980px;
+
    text-decoration: none;
overflow:hidden;
+
    transition: all ease 0.3s;
float:left;
+
    -moz-transition: all ease 0.3s;
margin-left:20px;
+
    -webkit-transition: all ease 0.3s;
margin-bottom: 10px;
+
    -o-transition: all ease 0.3s;
background-color: #E8E8E9;  
+
    -ms-transition: all ease 0.3s;
border-bottom: 20px solid #14747D;
+
}
+
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
}
+
  
/* Creates the container for the menu */
+
.social .fa-facebook:hover {
#menuContainer  {
+
    background: #4060A5;
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 */
+
.social .fa-twitter:hover {
#contentContainer {
+
    background: #00ABE3;
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*/
+
.social .fa-google-plus:hover {
#bannerContainer {
+
    background: #e64522;
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) */
+
.social .fa-github:hover {
 +
    background: #343434;
 +
}
  
/*Change the styling of text for everything inside main container*/
+
.social .fa-pinterest:hover {
#mainContainer p {
+
    background: #cb2027;
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 */
+
.social .fa-linkedin:hover {
#contentContainer a {  
+
    background: #0094BC;
font-weight: bold;
+
}
color: #23b593;
+
}
+
  
  /* Styling links on hover- links are different inside the menu */
+
.social .fa-flickr:hover {
#contentContainer a:hover {  
+
    background: #FF57AE;
color: #59bf92;
+
}
}
+
  
/*Change the styling of tables */
+
.social .fa-instagram:hover {
        #contentContainer table {
+
    background: #375989;
    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*/
+
.social .fa-vimeo-square:hover {
    #contentContainer  td {
+
    background: #83DAEB;
    padding: 10px;
+
}
    border: 1px solid #565656;
+
    border-collapse: collapse;
+
    vertical-align: text-top;
+
    }
+
  
/*Change the styling of table headers */
+
.social .fa-stack-overflow:hover {
    #contentContainer th {
+
    background: #FEA501;
    background-color: #E8E8E9;
+
}
    padding: 10px;
+
    border: 1px solid #565656;
+
    border-collapse: collapse;
+
    vertical-align: text-top;
+
    }
+
  
 +
.social .fa-dropbox:hover {
 +
    background: #017FE5;
 +
}
  
 +
.social .fa-tumblr:hover {
 +
    background: #3a5876;
 +
}
  
/*MENU STYLING */
+
.social .fa-dribbble:hover {
 +
    background: #F46899;
 +
}
  
/*Styling for the links in the menu */
+
.social .fa-skype:hover {
#menuContainer a {
+
    background: #00C6FF;
color: #565656;
+
}
text-decoration:none;
+
font-weight: bold
+
float: left;
+
display: block;
+
}
+
  
/* Sets the style for lists inside menuContainer  */
+
.social .fa-stack-exchange:hover {
#menuContainer ul {
+
    background: #4D86C9;
list-style: none;
+
margin-left:0px;
+
padding:0;
+
overflow: hidden;
+
 
}
 
}
  
 +
.social .fa-youtube:hover {
 +
    background: #FF1F25;
 +
}
  
/*Styles the list items to become menu buttons */
+
.social .fa-xing:hover {
#menuContainer ul li {
+
    background: #005C5E;
text-align: center;
+
}
display: float;
+
width: 100%;
+
height:30px;
+
padding-top:10px;
+
}
+
  
/*For the menu buttons, changes the color when hovering*/
+
.social .fa-rss:hover {
#menuContainer li:hover {
+
    background: #e88845;
color:  #FFF;
+
}
background-color: #24B694;
+
}
+
  
/*Submenus are not displayed as default*/
+
.social .fa-foursquare:hover {
#menuContainer li ul {
+
    background: #09B9E0;
display: none;
+
}
padding-top:15px;
+
margin-left: -19px;
+
}
+
  
/*Submenus are displayed when hovering the menu button */
+
.social .fa-youtube-play:hover {
#menuContainer li:hover ul {
+
    background: #DF192A;
/*display: inline-block; */
+
}
display: block;
+
<!-- end of social media buttons -->
position: absolute;
+
  .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {border-bottom: 0px}
float:right;
+
      body {background-color: #242527;}
margin-left: 134px;
+
      a {color:#f1c40f;}
margin-top:-42px;
+
      a:visited {
}
+
      color: #f1c40f;}
 
+
      a.bodytext {color:#ffea79;}
/*Style the submenu buttons*/
+
      a:hover {
#menuContainer li ul li{
+
        color: #242527}
background-color: #59BF92;  
+
     
padding-left:20px;
+
      .nav-pills > li > a {
padding-right:20px;
+
  border-radius: 10px;
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;
+
    }
+
  
 +
/*
 +
  border-bottom-left-radius: 0px;
 +
  border-top-right-radius: 0px;
 +
*/
 +
}
 +
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
 +
    display:none;}
 +
#top-section {
 +
    border: none;
 +
    height: 0px;}
 +
#content {
 +
    border: 0px;
 +
    background-color: #242527;
 +
    width:  auto;
 +
    margin-left: 0px;
 +
    margin: 0 auto;
 +
    padding: 0px 0px 0px 0px;
 +
    color: black;
 +
    border-left: 0px solid #444444;
 +
    border-right: 0px solid #444444;
 +
    line-height: 1.5em;
 +
    z-index: 2;
 +
}
 +
#globalWrapper {
 +
  font-size: 100%;
 +
  padding: 0px 0px 0px;
 +
}
 +
#contentContainer {padding-top:0px;}
  
</style>
+
    </style>
<!-- End of CSS -->
+
<style>
 
+
  .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {border-bottom: 0px}
 
+
</style>
<!-- Start of the template html elements. -->
+
<script type="text/javascript">
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
+
    $(document).ready(function() {
 
+
        $("p").filter( function() {
 
+
            return $.trim($(this).html()) == '';
<div id="bannerContainer">
+
        }).remove()
</div>
+
    });
 
+
</script>
<!-- Start of menu -->
+
</head>
<div id="menuContainer">
+
<body>
 
+
<div class="container" style="padding-right: 0px;padding-left: 0px;">
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
+
<nav class="navbar navbar-default">
<ul>
+
<div class="container">
<a href="https://2015.igem.org/Team:Leicester"><li>HOME</li></a>
+
    <div class="navbar-header">
 
+
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<a href="https://2015.igem.org/Team:Leicester/Team"><li>TEAM</li></a>
+
          <span class="icon-bar"></span>
 
+
          <span class="icon-bar"></span>
<a href="#"><li>PROJECT
+
          <span class="icon-bar"></span>                      
            <ul>
+
      </button>
<a href="https://2015.igem.org/Team:Leicester/Description"><li>Description</li></a>
+
      <a class="navbar-brand" href="https://2015.igem.org/Team:Leicester">University of Leicester</a>
<a href="https://2015.igem.org/Team:Leicester/Experiments"><li>Experiments &amp; Protocols</li></a> 
+
    </div>
<a href="https://2015.igem.org/Team:Leicester/Results"><li>Results</li></a>
+
    <div>
<a href="https://2015.igem.org/Team:Leicester/Design"><li>Design</li></a>
+
      <div class="collapse navbar-collapse" id="myNavbar">
</ul>
+
        <ul class="nav navbar-nav">
</li></a>
+
<li class="dropdown">
 
+
      <a class="dropdown-toggle" data-toggle="dropdown" href="#">Project<span class="caret"></span></a>
<a href="#"><li>PARTS
+
      <ul class="dropdown-menu">
            <ul>
+
        <li><a href="https://2015.igem.org/Team:Leicester/Description">Description</a></li>
<a href="https://2015.igem.org/Team:Leicester/Parts"><li>Team Parts</li></a>
+
        <li><a href="https://2015.igem.org/Team:Leicester/Research">Research</a></li>                  
<a href="https://2015.igem.org/Team:Leicester/Basic_Part"><li>Basic Parts</li></a>
+
      </ul>
<a href="https://2015.igem.org/Team:Leicester/Composite_Part"><li>Composite Parts</li></a>
+
    </li>
<a href="https://2015.igem.org/Team:Leicester/Part_Collection"><li>Part Collection</li></a> 
+
<li class="dropdown">
</ul>
+
      <a class="dropdown-toggle" data-toggle="dropdown" href="#">About Us<span class="caret"></span></a>
</li></a>
+
      <ul class="dropdown-menu">
 
+
        <li><a href="https://2015.igem.org/Team:Leicester/Team">Team</a></li>
<a href="https://2015.igem.org/Team:Leicester/Notebook"><li>NOTEBOOK</li></a>
+
        <li><a href="https://2015.igem.org/Team:Leicester/Attributions">Attributions</a></li>  
     
+
<li><a href="https://2015.igem.org/Team:Leicester/Sponsors">Sponsors</a></li>                  
<a href="https://2015.igem.org/Team:Leicester/Attributions"><li>ATTRIBUTIONS</li></a>
+
      </ul>
 
+
    </li>
<a href="https://2015.igem.org/Team:Leicester/Collaborations"><li>COLLABORATIONS</li></a>
+
<li class="dropdown">
 
+
      <a class="dropdown-toggle" data-toggle="dropdown" href="#">Lab Work<span class="caret"></span></a>
<a href="https://2015.igem.org/Team:Leicester/Practices"><li>HUMAN PRACTICES</li></a>
+
      <ul class="dropdown-menu">
 
+
        <li><a href="https://2015.igem.org/Team:Leicester/labwork/methods">Methods</a></li>  
<a href="https://2015.igem.org/Team:Leicester/Safety"><li>SAFETY</li></a>
+
        <li><a href="https://2015.igem.org/Team:Leicester/labwork/results">Results</a></li>                  
 
+
      </ul>
<a href="https://2015.igem.org/Team:Leicester/Modeling"><li>MODELING</li></a>
+
    </li>
 
+
          <li><a href="https://2015.igem.org/Team:Leicester/Notebook">Notebook</a></li>
<a href="https://2015.igem.org/Team:Leicester/Measurement"><li>MEASUREMENT</li></a>
+
          <li><a href="https://2015.igem.org/Team:Leicester/Measurement">Interlab Study</a></li>
 
+
          <li><a href="https://2015.igem.org/Team:Leicester/Practices">Human Practices</a></li>
<a href="https://2015.igem.org/Team:Leicester/Software"><li>SOFTWARE</li></a>
+
          <li><a href="https://2015.igem.org/Team:Leicester/Safety">Safety</a></li>      
 
+
        </ul>
</a>
+
 
+
</ul>
+
</div>
+
<!-- End of menu  -->
+
  
<!-- Start of content -->
+
        <ul class="nav navbar-nav pull-right">
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
+
        <li><a href="https://www.facebook.com/LeicesteriGEM2015"><i class="fa fa-lg fa-facebook" style="padding-top:4px"></i></a></li>
 +
        <li><a href="https://twitter.com/iGEMLeicester?ref_src=twsrc%5Etfw"><i class="fa fa-lg fa-twitter" style="padding-top:4px"></i></a></li>
 +
        </ul>
 +
      </div>
 +
    </div>
 +
  </div>
 +
    </nav>
 +
</div>
 +
   
 +
</body>
 
</html>
 
</html>

Latest revision as of 22:55, 18 September 2015

Live Preview