Difference between revisions of "Template:Leicester"

(Prototype team template page)
 
 
(86 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: #fff;
+
    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: 978px;
+
    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: #fff;
+
    -ms-transition: all ease 0.3s;
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 */
+
.social .fa-facebook:hover {
#menuContainer  {
+
    background: #4060A5;
float:left;
+
}
width: 134px;
+
padding: 20px 0px;
+
border-top: 14px solid #565656;
+
background-color: #E8E8E9;
+
}
+
  
/* 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;
height:200px;
+
}
margin:auto;
+
text-align:center;
+
color: #24B694;
+
}
+
  
/*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;
+
}
+
  
/* Sets the style for lists inside menuContainer  */
+
.social .fa-stack-exchange:hover {
#menuContainer ul {
+
    background: #4D86C9;
list-style: none;
+
}
margin-left:0px;
+
}
+
  
/*Styles the list items to become menu buttons */
+
.social .fa-youtube:hover {
#menuContainer ul li {
+
    background: #FF1F25;
text-align: center;
+
}
display: block;
+
width: 100%;
+
height:30px;
+
padding-top:10px;
+
}
+
  
/*For the menu buttons, changes the color when hovering*/
+
.social .fa-xing:hover {
#menuContainer li:hover {
+
    background: #005C5E;
color:  #FFF;
+
}
background-color: #24B694;
+
}
+
  
/*Submenus are not displayed as default*/
+
.social .fa-rss:hover {
#menuContainer li ul {
+
    background: #e88845;
display: none;
+
}
padding-top:15px;
+
margin-left: -19px;
+
}
+
  
/*Submenus are displayed when hovering the menu button */
+
.social .fa-foursquare:hover {
#menuContainer li:hover ul {
+
    background: #09B9E0;
/*display: inline-block; */
+
}
display: block;
+
position: absolute;
+
float:right;
+
margin-left: 134px;
+
margin-top:-42px;
+
}
+
  
/*Style the submenu buttons*/
+
.social .fa-youtube-play:hover {
#menuContainer li ul li{
+
    background: #DF192A;
background-color: #59BF92;  
+
}
padding-left:20px;
+
<!-- end of social media buttons -->
padding-right:20px;
+
  .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {border-bottom: 0px}
height:30px;
+
      body {background-color: #242527;}
padding-top:10px;
+
      a {color:#f1c40f;}
margin-top:-2px;
+
      a:visited {
color: #565656;
+
      color: #f1c40f;}
width: 150px;
+
      a.bodytext {color:#ffea79;}
}
+
      a:hover {
 +
        color: #242527}
 +
     
 +
      .nav-pills > li > a {
 +
  border-radius: 10px;
  
/*CLASSES */
+
/*
 +
  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;}
  
/*Clear class for all the pages, adds spacing too*/
+
    </style>
.clear{
+
<style>
clear:both;
+
  .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {border-bottom: 0px}
height: 10px;
+
</style>
}
+
<script type="text/javascript">
 +
    $(document).ready(function() {
 +
        $("p").filter( function() {
 +
            return $.trim($(this).html()) == '';
 +
        }).remove()
 +
    });
 +
</script>
 +
</head>
 +
<body>
 +
<div class="container" style="padding-right: 0px;padding-left: 0px;">
 +
<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="https://2015.igem.org/Team:Leicester">University of Leicester</a>
 +
    </div>
 +
    <div>
 +
      <div class="collapse navbar-collapse" id="myNavbar">
 +
        <ul class="nav navbar-nav">
 +
<li class="dropdown">
 +
      <a class="dropdown-toggle" data-toggle="dropdown" href="#">Project<span class="caret"></span></a>
 +
      <ul class="dropdown-menu">
 +
        <li><a href="https://2015.igem.org/Team:Leicester/Description">Description</a></li>
 +
        <li><a href="https://2015.igem.org/Team:Leicester/Research">Research</a></li>                   
 +
      </ul>
 +
    </li>
 +
<li class="dropdown">
 +
      <a class="dropdown-toggle" data-toggle="dropdown" href="#">About Us<span class="caret"></span></a>
 +
      <ul class="dropdown-menu">
 +
        <li><a href="https://2015.igem.org/Team:Leicester/Team">Team</a></li>
 +
        <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>                 
 +
      </ul>
 +
    </li>
 +
<li class="dropdown">
 +
      <a class="dropdown-toggle" data-toggle="dropdown" href="#">Lab Work<span class="caret"></span></a>
 +
      <ul class="dropdown-menu">
 +
        <li><a href="https://2015.igem.org/Team:Leicester/labwork/methods">Methods</a></li>
 +
        <li><a href="https://2015.igem.org/Team:Leicester/labwork/results">Results</a></li>                 
 +
      </ul>
 +
    </li>
 +
          <li><a href="https://2015.igem.org/Team:Leicester/Notebook">Notebook</a></li>
 +
          <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>
 +
          <li><a href="https://2015.igem.org/Team:Leicester/Safety">Safety</a></li>       
 +
        </ul>
  
 
+
        <ul class="nav navbar-nav pull-right">
/* highlight box for special messages */
+
        <li><a href="https://www.facebook.com/LeicesteriGEM2015"><i class="fa fa-lg fa-facebook" style="padding-top:4px"></i></a></li>
    .highlightBox {
+
        <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>
        width:500px;
+
        </ul>
        margin:auto;
+
      </div>
        background-color: #E8E8E9;
+
    </div>
margin-bottom: 15px;
+
  </div>
margin-top: 15px;
+
    </nav>
padding: 15px;
+
</div>
padding-top: 5px;
+
   
    }
+
</body>
 
+
 
+
</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_Leicester_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: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>
+
</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>
+
 
+
<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>
+
 
+
<a href="https://2015.igem.org/Team:Leicester/Safety"><li>SAFETY</li></a>
+
 
+
<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 href="https://2015.igem.org/Team:Leicester/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>

Latest revision as of 22:55, 18 September 2015

Live Preview