Difference between revisions of "Template:Cornell"

(Undo revision 52289 by Jacky96Cheung (talk))
Line 1: Line 1:
{{Template_All_Teams}}
+
<!-- HTML START -->
 
+
<!-- Declare that you are going to use html code instead of wiki code -->
+
 
<html>
 
<html>
  
<!-- Start of CSS-->
+
<!-- Terminating Default Wiki Divs -->
<style type="text/css">
+
</div>
 
+
</div>
/* 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 */
+
<head>
  
/*Styling for the links in the menu */
+
<!-- CSS START -->
#menuContainer a {
+
<style>
color: #565656;
+
text-decoration:none;
+
font-weight: bold;
+
}
+
  
/* Sets the style for lists inside menuContainer  */
+
/* Masking Wiki Contents START */
#menuContainer ul {  
+
/* Hiding Default Wiki Content Divs */
list-style: none;
+
#content {
margin-left:0px;
+
visibility: hidden;
}
+
height: 0;
 +
padding: 0;
 +
margin: 0;
 +
}
  
/*Styles the list items to become menu buttons */
+
#bodyContent {
#menuContainer ul li {  
+
visibility: hidden;
text-align: center;
+
}
display: block;
+
width: 100%;
+
height:30px;
+
padding-top:10px;
+
}
+
  
/*For the menu buttons, changes the color when hovering*/
+
/* Hiding Default Wiki Title */
#menuContainer li:hover {
+
#content h1.firstheading {
color: #FFF;
+
visibility: hidden;
background-color: #24B694;
+
}
}
+
  
/*Submenus are not displayed as default*/
+
/* Maintaining Wiki globalWrapper */
#menuContainer li ul {
+
#globalWrapper {
display: none;
+
width: 100%;
padding-top:15px;
+
max-height: 20px;
margin-left: -19px;
+
padding: 0;
}
+
}
  
/*Submenus are displayed when hovering the menu button */
+
/* Masking Wiki Contents END */
#menuContainer li:hover ul {
+
/*display: inline-block; */
+
display: block;
+
position: absolute;
+
float:right;
+
margin-left: 134px;
+
margin-top:-42px;
+
}
+
  
/*Style the submenu buttons*/
+
/* Changing Background */
#menuContainer li ul li{
+
body {
background-color: #59BF92;
+
background-image: url("https://static.igem.org/mediawiki/2015/d/db/Columbia_NYC_Background.png")
padding-left:20px;
+
}
padding-right:20px;
+
height:30px;
+
padding-top:10px;
+
margin-top:-2px;
+
color: #565656;
+
width: 150px;
+
}
+
  
/*CLASSES */
+
/* Menu Formatting START*/
 +
#menu {
 +
position: fixed;
 +
height: 100%;
 +
margin: 0;
 +
border-right: 2px solid gray;
 +
background-color: rgba(196, 216, 226, 0.314);
 +
}
  
/*Clear class for all the pages, adds spacing too*/
+
#menu ul {
.clear{
+
list-style: none;
clear:both;
+
text-align: center;
height: 10px;
+
padding: 0;
}
+
}
  
 +
#menu li {
 +
padding: 10px 0;
 +
border-bottom: 2px solid gray;
 +
}
  
/* highlight box for special messages */
+
#menu li:hover {
    .highlightBox {
+
background-color: rgba(207, 207, 207, 0.5);
        width:500px;
+
}
        margin:auto;
+
        background-color: #E8E8E9;
+
margin-bottom: 15px;
+
margin-top: 15px;
+
padding: 15px;
+
padding-top: 5px;
+
    }
+
  
 +
#menu a {
 +
color: white;
 +
text-decoration: none;
 +
font-family: Verdana, Geneva, sans-serif;
 +
font-weight: bold;
 +
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
 +
}
  
</style>
+
/* Hiding Sub-Menu */
<!-- End of CSS -->
+
#menu ul.subTab {
 +
display: none;
 +
}
  
 +
/* Showing Sub-Menu On Mouse-Over */
 +
#menu li:hover ul.subTab {
 +
display: block;
 +
position: absolute;
 +
width: 100%;
 +
margin-top: -33px;
 +
margin-left: 176px;
 +
padding: 0;
 +
text-align: center;
 +
background-color: #EBEBEB;
 +
}
  
<!-- Start of the template html elements. -->
+
/* Making Sub-Menu Navigable */
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
+
#menu ul.subTab:hover {
 +
display: block;
 +
}
 +
/* Menu Formatting END */
  
 +
</style>
 +
<!-- CSS END -->
  
<div id="bannerContainer">
+
<!-- Menu START -->
<br><br>
+
<div id = "menu">
<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_Cornell_banner.jpg</i>" </p>
+
</div>
+
  
<!-- Start of menu -->
+
<a href = "https://2015.igem.org/Team:Columbia_NYC/Description"> <img src = "https://static.igem.org/mediawiki/2015/9/9f/Columbia_NYC_ColumbiaUniversityLogo.png" alt = "Columbia Logo" style = "width: 180px; height: auto;"> </a>
<div id="menuContainer">
+
 +
<ul class = "tab">
  
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
+
<a href = "https://2015.igem.org/Team:Columbia_NYC"> <li> HOME PAGE</li></a>
<ul>
+
<a href="https://2015.igem.org/Team:Cornell"><li>HOME</li></a>
+
  
<a href="https://2015.igem.org/Team:Cornell/Team"><li>TEAM</li></a>
+
<a href = "https://2015.igem.org/Team:Columbia_NYC/Team"> <li> THE TEAM </li></a>
  
<a href="#"><li>PROJECT
+
<a href = "#"> <li> OUR PROJECT
            <ul>
+
<ul class = "subTab">
<a href="https://2015.igem.org/Team:Cornell/Description"><li>Description</li></a>
+
<a href = "https://2015.igem.org/Team:Columbia_NYC/Description"> <li> DESCRIPTION </li></a>
<a href="https://2015.igem.org/Team:Cornell/Experiments"><li>Experiments &amp; Protocols</li></a>
+
<a href = "https://2015.igem.org/Team:Columbia_NYC/Design"> <li> DESIGN </li></a>
<a href="https://2015.igem.org/Team:Cornell/Results"><li>Results</li></a>
+
<a href = "https://2015.igem.org/Team:Columbia_NYC/Experiments"> <li> EXPERIMENTS </li></a>
<a href="https://2015.igem.org/Team:Cornell/Design"><li>Design</li></a>
+
<a href="https://2015.igem.org/Team:Columbia_NYC/Measurement"><li>MEASUREMENTS</li></a>
</ul>
+
<a href = "https://2015.igem.org/Team:Columbia_NYC/Results"> <li> RESULTS </li></a>
</li></a>
+
</ul>
 +
</li></a>
  
<a href="#"><li>PARTS
+
<a href = "#"> <li> PARTS LIST
            <ul>
+
<ul class = "subTab">
<a href="https://2015.igem.org/Team:Cornell/Parts"><li>Team Parts</li></a>
+
<a href = "https://2015.igem.org/Team:Columbia_NYC/Parts"> <li> TEAM PARTS </li></a>
<a href="https://2015.igem.org/Team:Cornell/Basic_Part"><li>Basic Parts</li></a>
+
<a href = "https://2015.igem.org/Team:Columbia_NYC/Basic_Part"> <li> BASIC PARTS </li></a>
<a href="https://2015.igem.org/Team:Cornell/Composite_Part"><li>Composite Parts</li></a>
+
<a href = "https://2015.igem.org/Team:Columbia_NYC/Composite_Part"> <li> COMPOSITE PARTS </li></a>
<a href="https://2015.igem.org/Team:Cornell/Part_Collection"><li>Part Collection</li></a>
+
<a href = "https://2015.igem.org/Team:Columbia_NYC/Part_Collection"> <li> PART COLLECTION </li></a>
</ul>
+
</ul>
</li></a>
+
</li></a>
  
<a href="https://2015.igem.org/Team:Cornell/Notebook"><li>NOTEBOOK</li></a>
+
<a href="https://2015.igem.org/Team:Columbia_NYC/Notebook"><li> NOTEBOOK </li></a>
     
+
<a href="https://2015.igem.org/Team:Cornell/Attributions"><li>ATTRIBUTIONS</li></a>
+
  
<a href="https://2015.igem.org/Team:Cornell/Collaborations"><li>COLLABORATIONS</li></a>
+
<a href = "https://2015.igem.org/Team:Columbia_NYC/Attributions"> <li> ATTRIBUTIONS </li></a>
  
<a href="https://2015.igem.org/Team:Cornell/Practices"><li>HUMAN PRACTICES</li></a>
+
<a href = "https://2015.igem.org/Team:Columbia_NYC/Collaborations"><li> COLLABORATION </li></a>
  
<a href="https://2015.igem.org/Team:Cornell/Safety"><li>SAFETY</li></a>
+
<a href="https://2015.igem.org/Team:Columbia_NYC/Safety"><li> LAB SAFETY </li></a>
  
<a href="https://2015.igem.org/Team:Cornell/Modeling"><li>MODELING</li></a>
+
<a href = "https://2015.igem.org/Team:Columbia_NYC/Practices"><li> HUMAN PRACTICE </li></a>
  
<a href="https://2015.igem.org/Team:Cornell/Measurement"><li>MEASUREMENT</li></a>
+
<a href = "https://2015.igem.org/Team:Columbia_NYC/Sponsors"> <li> OUR SPONSORS </a>
  
<a href="https://2015.igem.org/Team:Cornell/Software"><li>SOFTWARE</li></a>
+
</div>
 +
<!--Menu END -->
  
<a href="https://2015.igem.org/Team:Cornell/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
+
</head>
  
</ul>
+
<body>
</div>
+
<!-- End of menu  -->
+
  
<!-- Start of content -->
+
<!-- END OF TEMPLATE CODING -->
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
+
</html>
+

Revision as of 20:40, 7 August 2015