Difference between revisions of "Template:UCLA"

 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template_All_Teams}}
+
{{:Team:UCLA/Template/Javascript}}
 +
{{:Team:UCLA/Template/CSS}}
  
<!-- Declare that you are going to use html code instead of wiki code -->
+
<html lang="en">
<html>
+
<link href='http://fonts.googleapis.com/css?family=Roboto:400,300' rel='stylesheet' type='text/css'>
 +
  <head>
 +
    <!-- META TAGS -->
 +
    <meta charset="utf-8">
 +
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 +
    <meta name="viewport" content="width=device-width, initial-scale=1">
 +
    <link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'>
 +
    <title>iGEM UCLA</title>
 +
  </head>
  
<!-- Start of CSS-->
 
<style type="text/css">
 
  
/* PAGE LAYOUT */
 
  
/* Change Background color*/
+
<!--TOP NAVIGATION MENU BAR-->
body {
+
<div id = "top_menu" >
background-color: #fff;
+
<ul id = "menu">
}
+
<li><a href="/Team:UCLA">Home</a></li>
 +
 +
        <li><a href="/Team:UCLA/Team/Meet_the_Team">Team</a>
 +
        <ul>
 +
    <li><a href="/Team:UCLA/Team/Meet_the_Team">Meet the Team</a></li>
 +
    <li><a href="/Team:UCLA/Attributions">Attributions</a></li>
 +
            <li><a href="/Team:UCLA/Collaborations">Collaborations</a></li>
 +
        </ul>
 +
        </li>
 +
 +
        <li><a href="/Team:UCLA/Project">Projects</a>
 +
<ul>
 +
    <li><a href="/Team:UCLA/Project/Programming Spider Silk">Programming Spider Silk</a></li>
 +
    <li><a href="/Team:UCLA/Project/Functionalizing Silk">Functionalizing Silk</a></li>
 +
    <li><a href="/Team:UCLA/Project/Honeybee Silk">Honeybee Silk</a></li>
 +
            <li><a href="/Team:UCLA/Project/Protein Expression and Processing">Materials Processing</a></li>
 +
            <li><a href="/Team:UCLA/Project/Protein Cages">Protein Cages</a></li>
 +
            <li><a href="/Team:UCLA/Practices">Human Practices</a></li>
 +
            <li><a href="/Team:UCLA/Project/Interlab Study">Interlab Study</a></li>
 +
</ul>
 +
</li>
 +
       
 +
        <li><a href="/Team:UCLA/Parts">Parts</a>
 +
<ul>
 +
            <li><a href="/Team:UCLA/Parts">Team Parts</a></li>
 +
            <li><a href="/Team:UCLA/Basic_Part">Basic Parts</a></li>
 +
            <li><a href="/Team:UCLA/Composite_Parts">Composite Parts</a></li>
 +
            <li><a href="/Team:UCLA/Part_Collection">Part Collection</a></li>
  
/* Creates a container that will wrap all of the content inside your wiki pages. */
+
</ul>
#mainContainer { 
+
</li>
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 */
+
        <li><a href="/Team:UCLA/Notebook/Weekly Notes">Notebook</a>
#contentContainer {
+
<ul>
padding-top:20px;
+
            <li><a href="/Team:UCLA/Notebook/Spider_Silk_Genetics">Programming Spider Silk</a></li>
padding-right:10px;
+
            <li><a href="/Team:UCLA/Notebook/Recombinant_Expression">Functionalizing Silk</a></li>
margin-bottom: 20px;
+
    <li><a href="/Team:UCLA/Notebook/Honeybee_Silk">Honeybee Silk</a></li>
width: 814px;
+
            <li><a href="/Team:UCLA/Notebook/Materials">Materials Processing</a></li>
padding-left: 20px;
+
            <li><a href="/Team:UCLA/Notebook/Protein_Cages">Protein Cages</a></li>
float: left;
+
            <li><a href="/Team:UCLA/Notebook/Interlab_Study">Interlab Study</a></li>
background-color: #fff;
+
</ul>
border-top: 14px solid #565656;
+
        </li>
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
}
+
  
/*Set up height place holder for the banner*/
+
        <li><a href="/Team:UCLA/Safety">Safety</a></li>
#bannerContainer {
+
        <li><a href="https://igem.org/Judging_Form.cgi?id=1763">Judging</a></li>
height:200px;
+
</ul>
margin:auto;
+
<a href="https://2015.igem.org/Main_Page"><img src="https://static.igem.org/mediawiki/igem.org/1/17/IGEM_basic_Logo_white_stylized.png" width="95px"/></a>
text-align:center;
+
</div>
                                background-image: url("https://static.igem.org/mediawiki/2015/4/48/Team_UCLA_banner.jpg");
+
                                background-size: cover;
+
color: #24B694;
+
}
+
  
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
+
<br/><br/><br/>
  
/*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 */
+
  <!--SIDEBAR NAV-->
#contentContainer a {
+
<!--
font-weight: bold;
+
<div id="side_menu">
color: #23b593;
+
    <h1 id="side_menu_title">The Silk Road Map</h1>
}
+
    <h4 id="side_menu_title">Navigate Our Wiki!</h4>
 
+
    <div class= "sidebar_link" id= "link1"><a href="/Team:UCLA/Project"><b>Silk Background</b></a></div>
  /* Styling links on hover- links are different inside the menu */
+
    <div class= "sidebar_link" id= "link2"><a href="/Team:UCLA/Project/Customizing_Silk"><b>Programming Silk</b></a></div>
#contentContainer a:hover {
+
    <div class= "sidebar_link" id= "link3"><a href="/Team:UCLA/Project/Functionalizing_Fibers"><b>Functionalizing Silk</b></a></div>
color: #59bf92;
+
    <div class= "sidebar_link" id= "link4"><a href="/Team:UCLA/Project/Spinning_Silk"><b>Processing Silk</b></a></div>
}
+
    <div class= "sidebar_link" id= "link5"><a href="/Team:UCLA/Team/Meet_the_Team"><b>Meet the Team</b></a></div>
 
+
    <div class= "sidebar_link" id= "link6"></div>
/*Change the styling of tables */
+
</div>
        #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;
+
                                padding-bottom: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">
+
</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:UCLA"><li>HOME</li></a>
+
 
+
<a href="https://2015.igem.org/Team:UCLA/Team"><li>TEAM</li></a>
+
 
+
<a href="#"><li>PROJECTS
+
            <ul>
+
<!-- <a href="https://2015.igem.org/Team:UCLA/Description"><li>Description</li></a>
+
<a href="https://2015.igem.org/Team:UCLA/Experiments"><li>Experiments &amp; Protocols</li></a> 
+
<a href="https://2015.igem.org/Team:UCLA/Results"><li>Results</li></a> 
+
<a href="https://2015.igem.org/Team:UCLA/Design"><li>Design</li></a>-->
+
<a href="https://2015.igem.org/Team:UCLA/Projects/Silks"><li>Silk Genetics</li></a>
+
<a href="https://2015.igem.org/Team:UCLA/Projects/Functionalization"><li>Functionalization</li></a>
+
<a href="https://2015.igem.org/Team:UCLA/Projects/Materials"><li>Materials Processing</li></a>
+
<a href="https://2015.igem.org/Team:UCLA/Projects/Protein_Cages"><li>Protein Cages</li></a>
+
</ul>
+
</li></a>
+
 
+
<a href="#"><li>PARTS
+
            <ul>
+
<a href="https://2015.igem.org/Team:UCLA/Parts"><li>Team Parts</li></a>
+
<a href="https://2015.igem.org/Team:UCLA/Basic_Part"><li>Basic Parts</li></a>
+
<a href="https://2015.igem.org/Team:UCLA/Composite_Part"><li>Composite Parts</li></a>
+
<a href="https://2015.igem.org/Team:UCLA/Part_Collection"><li>Part Collection</li></a> 
+
</ul>
+
</li></a>
+
 
+
<a href="https://2015.igem.org/Team:UCLA/Notebook"><li>NOTEBOOKS
+
                                                <ul>
+
<a href="https://2015.igem.org/Team:UCLA/Notebook/Spider_Silk_Genetics"><li>Spider Silk Genetics</li></a>
+
<a href="https://2015.igem.org/Team:UCLA/Notebook/Honeybee_Silk"><li>Honeybee Silk</li></a>
+
<a href="https://2015.igem.org/Team:UCLA/Notebook/Recombinant_Expression"><li>Recombinant Silk Functionalization</li></a> 
+
<a href="https://2015.igem.org/Team:UCLA/Notebook/Materials"><li>Materials  Processing</li></a> 
+
<a href="https://2015.igem.org/Team:UCLA/Notebook/Protein_Cages"><li>Protein Cages</li></a>
+
                                                        <a href="https://2015.igem.org/Team:UCLA/Notebook/Interlab_Study"><li>UCLA Measurement Interlab Study</li></a>
+
</ul>
+
                                        </li></a>
+
 
+
<a href="#"><li>MEETING NOTES
+
                                                <ul>
+
<a href="https://2015.igem.org/Team:UCLA/Notebook/General_Meetings"><li>General Meetings</li></a>
+
                                                        <a href="https://2015.igem.org/Team:UCLA/Notebook/Coordinator_Meetings"><li>Coordinator Meetings</li></a>
+
<a href="https://2015.igem.org/Team:UCLA/Notebook/Advisor_Meetings"><li>Advisor Meetings</li></a>   
+
</ul>
+
                                        </li></a>
+
 
+
     
+
<a href="https://2015.igem.org/Team:UCLA/Attributions"><li>ATTRIBUTIONS</li></a>
+
 
+
<a href="https://2015.igem.org/Team:UCLA/Collaborations"><li>COLLABORATIONS</li></a>
+
 
+
<a href="https://2015.igem.org/Team:UCLA/Practices"><li>HUMAN PRACTICES</li></a>
+
 
+
<a href="https://2015.igem.org/Team:UCLA/Safety"><li>SAFETY</li></a>
+
 
+
<a href="https://2015.igem.org/Team:UCLA/Modeling"><li>MODELING</li></a>
+
 
+
<a href="https://2015.igem.org/Team:UCLA/Measurement"><li>MEASUREMENT STUDY</li></a>
+
 
+
<a href="https://2015.igem.org/Team:UCLA/Software"><li>SOFTWARE</li></a>
+
 
+
<a href="https://2015.igem.org/Team:UCLA/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 03:56, 19 September 2015

iGEM UCLA