Difference between revisions of "Template:Penn"

Line 1: Line 1:
{{Team:Penn/CSS}}
+
{{Template_All_Teams}}
  
 +
<!-- Declare that you are going to use html code instead of wiki code -->
 
<html>
 
<html>
<head>
 
<!--<link rel="stylesheet" type="text/css" media="screen, projection" href="https://98c43ce680a0761e7c3ad3c1d7ae34f6de6db886.googledrive.com/host/0B9QyOqpKYA2gdGV2aGFRMWh4aXM/style.css" />-->
 
<title>University of Pennsylvania iGEM</title>
 
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
 
 
</head>
 
  
<body>
+
<!-- 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;
 +
}
 
 
<div id="redbox">
+
/*This changes the color and font family */
<div style="margin: 0 auto; width:600px"> <img width="550px" src="https://static.igem.org/mediawiki/2014/1/16/Penn_2014_Project-title.png"></div><br><br>
+
#contentContainer h1, h2, h3, h4, h5, h6 {
<div id = "PhotoBox" width="800px">
+
color: #565656;
<video width="600" controls poster="https://static.igem.org/mediawiki/2014/5/55/Penn_2014_logo.png"><source src="https://static.igem.org/mediawiki/2014/a/a5/Penn_2014_team_introduction.mp4" type="video/mp4" />
+
border-bottom: none;
</video>
+
font-weight: bold;
</div>
+
font-family: "Trebuchet MS", Helvetica, sans-serif;
<br>
+
margin-top:10px;
<br>
+
}
<table style="font-size:18px">
+
<tr>
+
<td style = "width:250;"><a href="https://2014.igem.org/Team:Penn/Microbio"><img id = "menuicon" src="https://static.igem.org/mediawiki/2014/d/df/Magnetic_bacteria_graphic.png"></a></td>
+
<td style = "width:250;"><a href="https://2014.igem.org/Team:Penn/Synbio"><img id = "menuicon" src="https://static.igem.org/mediawiki/2014/6/6e/Penn_2014_wiki_2.png"></a></td>
+
<td style = "width:250;"><a href="https://2014.igem.org/Team:Penn/CdTolerance"><img id = "menuicon" src="https://static.igem.org/mediawiki/2014/9/9e/Penn_2014_wiki_3.png"></a></td>
+
</tr><tr>
+
<td style = "text-align: center;"><a href="https://2014.igem.org/Team:Penn/Microbio">Microbiology in AMB-1</a></td>
+
<td style = "text-align: center;"><a href="https://2014.igem.org/Team:Penn/Microbio/Synbio">Synthetic Biology in AMB-1</a></td>
+
<td style = "text-align: center;"><a href="https://2014.igem.org/Team:Penn/CdTolerance">Cadmium Tolerance in E. Coli vs. AMB-1</a></td>
+
</tr><tr>
+
<td style = "width:250;" ><a href="https://2014.igem.org/Team:Penn/Magnetism"><img id = "menuicon" src="https://static.igem.org/mediawiki/2014/8/86/Penn_2014_wiki_4.png"></a></td>
+
<td style = "width:250;"><a href="https://2014.igem.org/Team:Penn/Specsheet"><img id = "menuicon" src="https://static.igem.org/mediawiki/2014/5/50/Penn_2014_wiki_5.png"></a></td>
+
<td style = "width:250;"><a href="https://2014.igem.org/Team:Penn/Outreach"><img id = "menuicon" src="https://static.igem.org/mediawiki/2014/b/bb/Penn_2014_wiki_6.png"></a></td>
+
</tr><tr>
+
<td style = "text-align: center;"><a href="https://2014.igem.org/Team:Penn/Magnetism">Magnetism of AMB-1</a></td>
+
<td style = "text-align: center;"><a href="https://2014.igem.org/Team:Penn/Specsheet">Spec Sheet</a></td>
+
<td style = "text-align: center;"><a href="https://2014.igem.org/Team:Penn/Outreach">Human Practices</a></td>
+
</tr>
+
</table>
+
</div>
+
  
<div style="position:absolute;right:5px;bottom:50px">
+
/*Style of the links - links are different inside the menu */
<a href="https://2014.igem.org/Team:Penn/Overview"><img width="80px" src="https://static.igem.org/mediawiki/2014/thumb/archive/c/ca/20141018025849%21Syn-bio-amb-1-flow-arrow.png/120px-Syn-bio-amb-1-flow-arrow.png">;
+
#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;
 +
}
 +
 
 +
/*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"> <img style = "width: 1000px; height: 200px"
 +
src = "https://static.igem.org/mediawiki/2015/5/50/PENN_IGEM_Banner.png">
 
</div>
 
</div>
</body>
+
 
 +
<!-- 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:Penn"><li>HOME</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:Penn/Team"><li>TEAM</li></a>
 +
 
 +
<a href="#"><li>PROJECT
 +
            <ul>
 +
<a href="https://2015.igem.org/Team:Penn/Description"><li>Description</li></a>
 +
<a href="https://2015.igem.org/Team:Penn/Experiments"><li>Experiments &amp; Protocols</li></a> 
 +
<a href="https://2015.igem.org/Team:Penn/Results"><li>Results</li></a> 
 +
<a href="https://2015.igem.org/Team:Penn/Design"><li>Design</li></a>
 +
</ul>
 +
</li></a>
 +
 
 +
<a href="#"><li>PARTS
 +
            <ul>
 +
<a href="https://2015.igem.org/Team:Penn/Parts"><li>Team Parts</li></a>
 +
<a href="https://2015.igem.org/Team:Penn/Basic_Part"><li>Basic Parts</li></a> 
 +
<a href="https://2015.igem.org/Team:Penn/Composite_Part"><li>Composite Parts</li></a>
 +
<a href="https://2015.igem.org/Team:Penn/Part_Collection"><li>Part Collection</li></a> 
 +
</ul>
 +
</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:Penn/Notebook"><li>NOTEBOOK</li></a>
 +
     
 +
<a href="https://2015.igem.org/Team:Penn/Attributions"><li>ATTRIBUTIONS</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:Penn/Collaborations"><li>COLLABORATIONS</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:Penn/Practices"><li>HUMAN PRACTICES</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:Penn/Safety"><li>SAFETY</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:Penn/Modeling"><li>MODELING</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:Penn/Measurement"><li>MEASUREMENT</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:Penn/Software"><li>SOFTWARE</li></a>
 +
 
 +
<a href="https://2015.igem.org/Team:Penn/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 00:33, 23 July 2015