Difference between revisions of "Template:Queens Canada"

Line 1: Line 1:
 
{{Template_All_Teams}}
 
{{Template_All_Teams}}
 +
 +
<!-- Declare that you are going to use html code instead of wiki code -->
 
<html>
 
<html>
<style type="text/css">
 
body {
 
    font-family: 'Verdana', sans-serif;
 
}
 
  
/* Standard font things */
+
<!-- Start of 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: 978px;
 +
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 */
 +
#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;
 +
}
  
a {
+
/*Style the submenu buttons*/
    text-decoration: none;
+
#menuContainer li ul li{
    color: #FFC107;
+
background-color: #59BF92;  
 +
padding-left:20px;
 +
padding-right:20px;
 +
height:30px;
 +
padding-top:10px;
 +
margin-top:-2px;
 +
color: #565656;
 +
width: 150px;
 +
}
  
}
+
/*CLASSES */
  
a:hover{
+
/*Clear class for all the pages, adds spacing too*/
    text-decoration: underline;
+
.clear{
}
+
clear:both;
 +
height: 10px;
 +
}
  
#webbanner img {
 
    height: auto;
 
    width: 100%;
 
    margin-top: -70px;
 
   
 
}
 
  
 +
/* highlight box for special messages */
 +
    .highlightBox {
 +
        width:500px;
 +
        margin:auto;
 +
        background-color: #E8E8E9;
 +
margin-bottom: 15px;
 +
margin-top: 15px;
 +
padding: 15px;
 +
padding-top: 5px;
 +
    }
  
/* The navbar! The menubar is the iGEM login bar*/
 
  
#navbar {
+
</style>
    display: block;
+
<!-- End of CSS -->
    height: 70px;
+
    width: 96em;
+
    margin-top: -21px;
+
    margin-left: auto;
+
    margin-right: auto;
+
    position: fixed;
+
    background-color: #3F72A7;
+
    z-index: 5;
+
 
+
}
+
  
#navbar ul li img {
 
    height: 30px;
 
    margin-top: -21px;
 
    margin-bottom: -7px;
 
}
 
  
#navbar a {
+
<!-- Start of the template html elements. -->
    text-decoration: none;
+
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
    font-size: 18px;
+
    font-family: 'Verdana', sans-serif;
+
    font-weight: bold;
+
}
+
  
nav ul {
 
    display: block;
 
    position: relative;
 
    list-style: none;
 
    margin-top: 27px;
 
    margin-left: auto;
 
    margin-right: auto;
 
    padding 0;
 
    border-radius: 5px;
 
    z-index: 5001;
 
   
 
}
 
  
nav ul li {
+
<div id="bannerContainer">
    display: list-item;
+
<br><br>
    float: right;
+
<h2> Add a banner to your wiki! </h2>
    list-style: none;
+
    background-color: #3F72A7;
+
<p>You can make the image 980px  by  200px</p>
    opacity: none;
+
<p> Remember to call the file: "<i>Team_Queens_Canada_banner.jpg</i>" </p>
}
+
</div>
  
nav ul li a {
+
<!-- Start of menu -->
    display: block;
+
<div id="menuContainer">
    text-decoration: none;
+
    padding: 10px 19px;/*space btwn the links */
+
    color: #d4dcef;
+
}
+
  
nav li a:hover {
+
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
    color: #0f4f91;
+
<ul>
    background-color: #d4dcef;
+
<a href="https://2015.igem.org/Team:Queens_Canada"><li>HOME</li></a>
}
+
  
nav ul ul{
+
<a href="https://2015.igem.org/Team:Queens_Canada/Team"><li>TEAM</li></a>
    display: none;
+
    position: absolute;
+
    top: 42px;
+
    margin-top: 1px;
+
   
+
}
+
  
nav ul li:hover > ul {
+
<a href="#"><li>PROJECT
    display: list-item;
+
            <ul>
}
+
<a href="https://2015.igem.org/Team:Queens_Canada/Description"><li>Description</li></a>
 +
<a href="https://2015.igem.org/Team:Queens_Canada/Experiments"><li>Experiments &amp; Protocols</li></a> 
 +
<a href="https://2015.igem.org/Team:Queens_Canada/Results"><li>Results</li></a> 
 +
<a href="https://2015.igem.org/Team:Queens_Canada/Design"><li>Design</li></a>
 +
</ul>
 +
</li></a>
  
nav ul ul li {
+
<a href="#"><li>PARTS
    position: relative;
+
            <ul>
    float: none; /* submenu display */
+
<a href="https://2015.igem.org/Team:Queens_Canada/Parts"><li>Team Parts</li></a>
 +
<a href="https://2015.igem.org/Team:Queens_Canada/Basic_Part"><li>Basic Parts</li></a> 
 +
<a href="https://2015.igem.org/Team:Queens_Canada/Composite_Part"><li>Composite Parts</li></a>
 +
<a href="https://2015.igem.org/Team:Queens_Canada/Part_Collection"><li>Part Collection</li></a> 
 +
</ul>
 +
</li></a>
  
}
+
<a href="https://2015.igem.org/Team:Queens_Canada/Notebook"><li>NOTEBOOK</li></a>
 +
     
 +
<a href="https://2015.igem.org/Team:Queens_Canada/Attributions"><li>ATTRIBUTIONS</li></a>
  
nav ul ul ul li {
+
<a href="https://2015.igem.org/Team:Queens_Canada/Collaborations"><li>COLLABORATIONS</li></a>
    position: absolute relative;
+
    top: -42px;
+
    left: 140px;
+
}
+
  
 +
<a href="https://2015.igem.org/Team:Queens_Canada/Practices"><li>HUMAN PRACTICES</li></a>
  
 +
<a href="https://2015.igem.org/Team:Queens_Canada/Safety"><li>SAFETY</li></a>
  
</style>
+
<a href="https://2015.igem.org/Team:Queens_Canada/Modeling"><li>MODELING</li></a>
  
    <div id="navbar">
+
<a href="https://2015.igem.org/Team:Queens_Canada/Measurement"><li>MEASUREMENT</li></a>
    <nav>
+
        <ul>
+
            <li><a href="https://2015.igem.org/Main_Page"><img src="Qqq_IGEM_official_logo.png" /></a></li>
+
            <li><a href="">Sponsorship</a></li>
+
            <li><a href="QGEM_Attributions_page.html">Attributions</a></li>
+
            <li><a href="QGEM_Safety_page.html">Safety</a></li>
+
            <li><a href="QGEM_Policy_Practice_page.html">Human Practices</a></li>
+
            <li><a href="QGEM_Notebook_page.html">Notebook</a></li>
+
            <li><a href="QGEM_Parts_page.html">Parts</a></li>
+
            <li><a href="QGEM_Overview_page.html">Project</a>
+
                <ul>
+
                    <li><a href="QGEM_backgroundinfo_page.html">Background</a></li>
+
                    <li><a href="QGEM_Modelling_page.html">Modeling</a></li>
+
                    <li><a href="QGEM_Experiments_scaff_page.html"> AFP-Scaffold Complex</a></li>
+
                    <li><a href="QGEM_Experiments_circ_page.html">Circularized AFP</a></li>
+
                </ul>
+
            </li>
+
            <li><a href="QGEM_Team_page.html">Team</a></li>
+
            <li><a href="QGEM_homepage.html">Home</a></li>
+
           
+
        </ul>
+
    </nav>
+
    </div>
+
  
    <div class="footer">
+
<a href="https://2015.igem.org/Team:Queens_Canada/Software"><li>SOFTWARE</li></a>
        <a href="https://www.facebook.com/iGEMQueens?fref=ts"><img src="qqq_QGEM_FB_FindUsOnFacebook.png" /> </a>
+
       
+
        <a href="https://twitter.com/igemqueens"><img id="twitter" src="qqq_QGEM_twitterlogo.png" /></a>
+
  
    </div>
+
<a href="https://2015.igem.org/Team:Queens_Canada/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>

Revision as of 13:48, 11 August 2015