Difference between revisions of "Template:Edinburgh"

 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Template_All_Teams}}
 
 
 
<!-- 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>
  
 
<!-- Start of CSS-->
 
<!-- Start of CSS-->
<style type="text/css">
+
<style type="text/css">
 
+
/* PAGE LAYOUT */
+
 
+
/* Change Background color*/
+
body {
+
background-color: #fff;
+
}
+
 
+
/* Creates a container that will wrap all of the content inside your wiki pages. */
+
#mainContainer { 
+
width: 90%;
+
overflow:hidden;
+
                                float: left;
+
        margin-left:20px;
+
margin-bottom: 10px;
+
background-color: #fff;
+
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 */
+
#menuContainer  {
+
float:left;
+
width: 134px;
+
padding: 20px 0px;
+
border-top: 14px solid #565656;
+
background-color: #E8E8E9;
+
}
+
 
+
/* 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 {
+
height:200px;
+
margin:auto;
+
text-align:center;
+
color: #24B694;
+
}
+
 
+
/*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;
+
}
+
  
/* Sets the style for lists inside menuContainer  */
 
#menuContainer ul {
 
list-style: none;
 
margin-left:0px;
 
}
 
  
/*Styles the list items to become menu buttons */
+
#footer-box, #siteSub, #search-controls, .firstHeading, #contentSub, #catlinks, #p-logo
#menuContainer ul li {
+
{
text-align: center;
+
display: block;
+
width: 100%;
+
height:30px;
+
padding-top:10px;
+
}
+
  
/*For the menu buttons, changes the color when hovering*/
+
  display:none;
#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 */
+
#top_menu_under
#menuContainer li:hover ul {
+
{
/*display: inline-block; */
+
height: 0;
display: block;
+
}
position: absolute;
+
float:right;
+
margin-left: 134px;
+
margin-top:-42px;
+
}
+
  
/*Style the submenu buttons*/
+
#top-section {
#menuContainer li ul li{
+
height: 0px;
background-color: #59BF92;  
+
border-top: 0;
padding-left:20px;
+
border-left: none;
padding-right:20px;
+
border-right: none;
height:30px;
+
}
padding-top:10px;
+
  #globalWrapper
margin-top:-2px;
+
    {
color: #565656;
+
width: 100%;
width: 150px;
+
height: 100%;
}
+
border: 0px;
 +
background-color: transparent;
 +
margin: 0px;
 +
padding: 0px;
 +
font-size: 100%
 +
}
  
/*CLASSES */
+
#content
 +
{
 +
width: 100%;
 +
height: 100%;
 +
margin-left: auto;
 +
margin-right: auto;
 +
background-color: transparent;
 +
padding: 0px;
 +
font-size: 100%;
 +
}
  
/*Clear class for all the pages, adds spacing too*/
+
html, body, .wrapper { /*-- changes default wiki settings --
.clear{
+
clear:both;
+
height: 10px;
+
}
+
  
 +
*/
 +
width: 100%;
 +
height: 100%;
 +
        margin: 0px;
 +
        padding: 0px;
 +
        background-color: black;
 +
        -webkit-background-size: cover;
 +
        -moz-background-size: cover;
 +
        -o-background-size: cover;
 +
        background-size: cover;
 +
}
  
/* highlight box for special messages */
 
    .highlightBox {
 
        width:500px;
 
        margin:auto;
 
        background-color: #E8E8E9;
 
margin-bottom: 15px;
 
margin-top: 15px;
 
padding: 15px;
 
padding-top: 5px;
 
    }
 
  
 +
.row
 +
{
 +
    width:100%;
 +
    height:100%;
 +
    margin-left: none;
 +
    margin-right: none;
 +
    padding-top:10px;
 +
    padding-bottom: 10px;
 +
    padding-left: 10px;
 +
    padding-right: 10px;
 +
    background-color: black;
 +
    overflow:hidden;
 +
}
  
</style>
+
.left
<!-- End of CSS -->
+
{
 +
margin-left: none;
 +
width:100%;
 +
height:100%;
  
 +
}
  
<!-- Start of the template html elements. -->
+
.right
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
+
{
 +
    background-color: #F5F5F5;
 +
width:100%;
 +
margin-right:none;
 +
    height:100%;
 +
    overflow: hidden;
  
 +
   
 +
}
  
<div id="bannerContainer">
+
.logo
<br><br>
+
{
<h2> Add a banner to your wiki! </h2>
+
    max-width: 500px;
+
    max-height: 500px;
<p>You can make the image 980px  by  200px</p>
+
    margin-top: auto;
<p> Remember to call the file: "<i>Team_Edinburgh_banner.jpg</i>" </p>
+
    margin-bottom: auto;
</div>
+
    margin-left: auto;
 +
    margin-right: auto;
 +
}
  
<!-- Start of menu -->
+
.left h2
<div id="menuContainer">
+
{
 +
    margin-top: 20px;
 +
    margin-bottom: 10px;
 +
    font-size: 20px;
 +
    color: white;
 +
border-bottom: none;
 +
    font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
 +
    font-style: italic;
 +
    font-weight: 200;
  
<!-- 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:Edinburgh"><li>HOME</li></a>
+
  
<a href="https://2015.igem.org/Team:Edinburgh/Team"><li>TEAM</li></a>
+
p{
 +
    float: left;
 +
    text-align: justify;
 +
    margin-bottom: 15px;
 +
    text-transform: none;
 +
    font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
 +
    font-size: 14px;
 +
    font-style: italic;
 +
    font-weight: 200;
 +
    color: white;
 +
}
  
<a href="#"><li>PROJECT
+
/* Black and White drop Drown Menu for Blogger by labstrikes.blogspot.com */
            <ul>
+
ul.dropdown li a {
<a href="https://2015.igem.org/Team:Edinburgh/Description"><li>Description</li></a>
+
display: block;
<a href="https://2015.igem.org/Team:Edinburgh/Experiments"><li>Experiments &amp; Protocols</li></a> 
+
padding: 3px 13px;
<a href="https://2015.igem.org/Team:Edinburgh/Results"><li>Results</li></a>  
+
}
<a href="https://2015.igem.org/Team:Edinburgh/Design"><li>Design</li></a>
+
ul.dropdown li {
</ul>
+
  padding: 0;
</li></a>
+
}
  
<a href="#"><li>PARTS
+
ul.dropdown li.dir {
            <ul>
+
padding: 7px 20px 7px 12px;
<a href="https://2015.igem.org/Team:Edinburgh/Parts"><li>Team Parts</li></a>
+
}
<a href="https://2015.igem.org/Team:Edinburgh/Basic_Part"><li>Basic Parts</li></a>  
+
ul.dropdown ul li.dir {
<a href="https://2015.igem.org/Team:Edinburgh/Composite_Part"><li>Composite Parts</li></a>
+
padding-right: 15px;
<a href="https://2015.igem.org/Team:Edinburgh/Part_Collection"><li>Part Collection</li></a>   
+
}
</ul>
+
ul.dropdown ul a {
</li></a>
+
padding: 4px 5px 4px 12px;
 +
}
 +
ul.dropdown ul a:hover {
 +
padding: 3px 5px 3px 11px;
 +
border: solid 1px #ddd;
 +
background-color: #eee;
 +
font-weight: bold;
 +
}
 +
ul.dropdown,
 +
ul.dropdown li,
 +
ul.dropdown ul {
 +
list-style: none;
 +
margin: 0;
 +
padding: 0;
 +
}
 +
ul.dropdown {
 +
position: relative;
 +
z-index: 597;
 +
float: left;
 +
}
 +
ul.dropdown li {
 +
float: left;
 +
min-height: 1px;
 +
line-height: 1.3em;
 +
vertical-align: middle;
 +
}
 +
ul.dropdown li.hover,
 +
ul.dropdown li:hover {
 +
  position: relative;
 +
z-index: 599;
 +
cursor: default;
 +
}
 +
ul.dropdown ul {
 +
visibility: hidden;
 +
position: absolute;
 +
top: 100%;
 +
left: 0;
 +
z-index: 598;
 +
width: 100%;
 +
}
 +
ul.dropdown ul li {
 +
float: none;
 +
}
 +
ul.dropdown ul ul {
 +
top: 1px;
 +
left: 99%;
 +
}
 +
ul.dropdown li:hover > ul {
 +
  visibility: visible;
 +
}
 +
ul.dropdown {
 +
font: bold 12px Arial, Helvetica, sans-serif;
 +
}
 +
    ul.dropdown li {
 +
    padding: 3px 12px;
 +
    background-color: #000;
 +
    color: #fff;
 +
    }
  
<a href="https://2015.igem.org/Team:Edinburgh/Notebook"><li>NOTEBOOK</li></a>
+
    ul.dropdown li.hover,
     
+
    ul.dropdown li:hover {
<a href="https://2015.igem.org/Team:Edinburgh/Attributions"><li>ATTRIBUTIONS</li></a>
+
    background-color: #222;
 +
    }
 +
    ul.dropdown a:link,
 +
    ul.dropdown a:visited { color: #fff; text-decoration: none; }
 +
    ul.dropdown a:hover { color: #fff; text-decoration: underline; }
 +
    ul.dropdown a:active { color: #fff; }
  
<a href="https://2015.igem.org/Team:Edinburgh/Collaborations"><li>COLLABORATIONS</li></a>
+
    /* -- level mark -- */
  
<a href="https://2015.igem.org/Team:Edinburgh/Practices"><li>HUMAN PRACTICES</li></a>
+
    ul.dropdown ul {
 +
    margin-left: -6px;
 +
    width: 170px;
 +
    padding-bottom: 9px;
 +
    background: url(http://4.bp.blogspot.com/-MwgiNzVwW8Q/UIixwkBTy5I/AAAAAAAAFdg/0UQSjWZV1zU/s1600/dropdown_pane.png) 0 100% no-repeat;
 +
    color: #000;
 +
    font-size: 11px;
 +
    font-weight: normal;
 +
    }
  
<a href="https://2015.igem.org/Team:Edinburgh/Safety"><li>SAFETY</li></a>
+
        ul.dropdown ul li {
 +
        background-color: transparent;
 +
        color: #000;
 +
        }
  
<a href="https://2015.igem.org/Team:Edinburgh/Modeling"><li>MODELING</li></a>
+
        ul.dropdown ul li.hover,
 +
        ul.dropdown ul li:hover {
 +
        background-color: transparent;
 +
        }
  
<a href="https://2015.igem.org/Team:Edinburgh/Measurement"><li>MEASUREMENT</li></a>
+
        ul.dropdown ul li.empty {
 +
        padding: 12px 12px 7px !important;
 +
        font-weight: bold;
 +
        }
  
<a href="https://2015.igem.org/Team:Edinburgh/Software"><li>SOFTWARE</li></a>
+
        ul.dropdown ul a:link,
 +
        ul.dropdown ul a:visited { color: #000; }
 +
        ul.dropdown ul a:hover { color: #000; text-decoration: none; }
 +
        ul.dropdown ul a:active { color: #000; }
  
<a href="https://2015.igem.org/Team:Edinburgh/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
+
        /* -- level mark -- */
  
</ul>
+
        ul.dropdown ul ul {
</div>
+
        display: none;
<!-- End of menu -->
+
        }
 +
/* -- Supporting class `dir` -- */
 +
ul.dropdown *.dir {
 +
padding-right: 12px;
 +
background-image: none;
 +
  background-position: 100% 50%;
 +
background-repeat: no-repeat;
 +
}
 +
</style>
  
<!-- 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 12:33, 21 August 2015