Difference between revisions of "Template:Birkbeck"

(New Header)
Line 1: Line 1:
 
<!-- Declare that you are going to use html code instead of wiki code -->
 
<!-- Declare that you are going to use html code instead of wiki code -->
  
 +
<!-- Declare that you are going to use html code instead of wiki code -->
 
<html>
 
<html>
<head>
 
  
<style type="text/css">
+
<!-- Start of CSS-->
 +
<style type="text/css">
  
#contentSub, #footer-box, #catlinks, #search-controls,
+
/* PAGE LAYOUT */
#p-logo, .printfooter, .firstHeading, .visualClear {
+
display: none;
+
}
+
  
#top-section {
+
/* Change Background color*/
border: 0 none;
+
body {
height: 14px;
+
background-color: #fff;
z-index: 100;
+
}
top: 0;
+
                       
position: fixed;
+
                        #content {
width: 975px;
+
                                position: relative;
left: 50%;
+
                                width: 99.5%;
margin-left: -487px;
+
                                margin: 0 auto;
}
+
                                padding: 0px;
+
                               
#globalWrapper, #content {
+
                                background: white;
width: 100%;
+
                                color: black;
height: 100%;
+
                                /*border-left: 1px solid #444444;
border: 0px;
+
                                border-right: 1px solid #444444;*/
background-color: transparent;
+
                                line-height: 1.5em;
margin: 0px;
+
                                z-index: 2;
padding: 0px;
+
}
font-size: 100%;
+
}
+
+
html, body, .wrapper {
+
width: 100%;
+
height: 100%;
+
background-color: transparent;
+
}
+
  
.navbar {
+
/* Creates a container that will wrap all of the content inside your wiki pages. */
margin: 0 auto;
+
#mainContainer {
margin-top: 1em;
+
width: 100%;
padding: 1em;
+
overflow:hidden;
border-radius: 10px;
+
/*float:left;*/
}
+
/*margin-left:20px;*/
img.displayed {
+
margin-bottom: 10px;
        display: block;
+
background-color: #fff;  
        margin-left: auto;
+
border-bottom: 14px solid #565656;
        margin-right: auto }
+
/*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;
 +
}
 +
                        .firstHeading {
 +
                                display: none;
 +
                        }
  
</style>
+
/* Creates the container for the content */
 +
#contentContainer {
 +
padding-top:20px;
 +
padding-right:10px;
 +
margin-bottom: 20px;
 +
width: 80%;
 +
padding-left: 20px;
 +
float: left;
 +
background-color: #fff;
 +
border-top: 14px solid #565656;
 +
font-family: "Trebuchet MS", Helvetica, sans-serif;
 +
}
  
<link rel="stylesheet" href="https://2015.igem.org/Team:Birkbeck/bootstrap.min.css?action=raw&ctype=text/css" type="text/css">
+
/*Set up height place holder for the banner*/
<link rel="stylesheet" href="https://2015.igem.org/Template:Birkbeck/CSS?action=raw&ctype=text/css" type="text/css">
+
#bannerContainer {
<meta name= "viewport" content = "initial-scale=1.0, width= device-width" />
+
height:200px;
</head>
+
margin:auto;
 +
text-align:center;
 +
color: #24B694;
 +
}
  
<header>
+
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
    <div class= "navbar navbar-default navbar-fixed-top">
+
        <div class="text-center col-sm-12" id="navigation">
+
            <nav>
+
                <a href="https://2015.igem.org/Team:Birkbeck" id="home">Home</a>
+
                <a href="https://2015.igem.org/Team:Birkbeck/Team">Team</a>
+
                <a href="https://2015.igem.org/Team:Birkbeck/Research">Research</a>
+
                <a href="https://2015.igem.org/Team:Birkbeck/Modeling">Modeling</a>
+
                <a href="https://2015.igem.org/Team:Birkbeck/Cooperation">Cooperation</a>
+
                <a href="https://2015.igem.org/Team:Birkbeck/Outreach">Outreach</a>
+
                <a href="https://2015.igem.org/Team:Birkbeck/Journal">Journal</a>
+
            </nav>
+
        </div>
+
    </div>
+
  
<!-- EP EXTRA STARTS-->
+
/*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;
 +
}
  
    <div id="bannerContainer">
+
/*Style of the links - links are different inside the menu */
<!--Only added in the below line, and commented out the other lines just before the div closes. YKH, 23/07/15)-->
+
#contentContainer a {
<img class="displayed" src="https://static.igem.org/mediawiki/2015/3/3a/Team_Birkbeck_Banner.jpg" height=100% width=auto>
+
font-weight: bold;
<!--
+
color: #23b593;
<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_Birkbeck_banner.jpg</i>" </p>-->
+
</div>
+
  
<!-- EP EXTRA STOPS-->
+
  /* Styling links on hover- links are different inside the menu */
 +
#contentContainer a:hover {
 +
color: #59bf92;
 +
}
  
</header>
+
/*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">
 +
<!--Only added in the below line, and commented out the other lines just before the div closes. YKH, 23/07/15)-->
 +
<img src="https://static.igem.org/mediawiki/2015/3/3a/Team_Birkbeck_Banner.jpg" height=100% width=auto>
 +
<!--
 +
<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_Birkbeck_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:Birkbeck"><li>HOME</li></a>
 +
 +
<a href="https://2015.igem.org/Team:Birkbeck/Team"><li>TEAM</li></a>
 +
 +
<a href="#"><li>PROJECT
 +
            <ul>
 +
<a href="https://2015.igem.org/Team:Birkbeck/Description"><li>Description</li></a>
 +
<a href="https://2015.igem.org/Team:Birkbeck/pp"><li>Policy & practice</li></a>
 +
<a href="https://2015.igem.org/Team:Birkbeck/Experiments"><li>Experiments &amp; Protocols</li></a> 
 +
<a href="https://2015.igem.org/Team:Birkbeck/Results"><li>Results</li></a> 
 +
<a href="https://2015.igem.org/Team:Birkbeck/Design"><li>Design</li></a>
 +
</ul>
 +
</li></a>
 +
 +
<a href="#"><li>PARTS
 +
            <ul>
 +
<a href="https://2015.igem.org/Team:Birkbeck/Parts"><li>Team Parts</li></a>
 +
<a href="https://2015.igem.org/Team:Birkbeck/Basic_Part"><li>Basic Parts</li></a> 
 +
<a href="https://2015.igem.org/Team:Birkbeck/Composite_Part"><li>Composite Parts</li></a>
 +
<a href="https://2015.igem.org/Team:Birkbeck/Part_Collection"><li>Part Collection</li></a> 
 +
</ul>
 +
</li></a>
 +
 +
<a href="https://2015.igem.org/Team:Birkbeck/Notebook"><li>NOTEBOOK</li></a>
 +
     
 +
<a href="https://2015.igem.org/Team:Birkbeck/Attributions"><li>ATTRIBUTIONS</li></a>
 +
 +
<a href="https://2015.igem.org/Team:Birkbeck/Collaborations"><li>COLLABORATIONS</li></a>
 +
 +
<a href="https://2015.igem.org/Team:Birkbeck/Practices"><li>HUMAN PRACTICES</li></a>
 +
 +
<a href="https://2015.igem.org/Team:Birkbeck/Safety"><li>SAFETY</li></a>
 +
 +
<a href="https://2015.igem.org/Team:Birkbeck/Modeling"><li>MODELING</li></a>
 +
 +
<a href="https://2015.igem.org/Team:Birkbeck/Measurement"><li>MEASUREMENT</li></a>
 +
 +
<a href="https://2015.igem.org/Team:Birkbeck/Software"><li>SOFTWARE</li></a>
 +
 +
<a href="https://2015.igem.org/Team:Birkbeck/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
 +
                                        <a href="https://2015.igem.org/Team:Birkbeck/InterLab Study"><li>INTERLAB STUDY</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 16:04, 18 August 2015