Difference between revisions of "Template:Penn"

Line 1: Line 1:
<!-- Declare that you are going to use html code instead of wiki code -->
 
 
<html>
 
<html>
 +
<head>
 +
<style>
 +
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;} /*-- hides default wiki settings --*/
  
<!-- Start of CSS-->
+
#content { /*-- changes default wiki settings --*/
<style type="text/css">
+
width: 100%;
 +
height: 100%;
 +
border: none;
 +
background-color: transparent;
 +
margin: 0px;
 +
padding: 0px;
 +
}
  
/* PAGE LAYOUT */
+
#menubar {
 +
    width: auto;}
  
/* Change Background color*/
+
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
body {  
+
    display:none;}
background-color: #fff;
+
#top-section {
}
+
    border: none;
 +
    height: 0px;}
 +
#top-section-bar {
 +
border: none;
 +
    height: 0px;
 +
}
 +
/*Remove "teams" from the menubar*/
 +
#menubar > ul > li:last-child {
 +
    display: none;}
 +
/*Transparent the log in/out button*/
 +
#menubar {
 +
background-color: transparent;
 +
}
 +
#menubar li a {
 +
    color: transparent;
 +
    background-color: transparent;}
 +
#menubar li{
 +
    background-color: transparent;}
 +
#menubar:hover li a {
 +
    color: #777;}
 +
   
 +
#redbox a {
 +
    text-decoration: none;
 +
}
  
/* 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 */
+
a:link {
#menuContainer  {  
+
color: #FFF;
float:left;
+
text-decoration: none;
width: 134px;
+
}
padding: 20px 0px;
+
border-top: 14px solid #565656;
+
background-color: #E8E8E9;
+
}
+
  
/* Creates the container for the content */
+
a:visited {
#contentContainer {
+
color: #FFF;
padding-top:20px;
+
text-decoration: none;
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*/
+
p {
#bannerContainer {
+
text-indent: 3em;
height:200px;
+
font-size:15px;
margin:auto;
+
color:#000;
text-align:center;
+
}
color: #24B694;
+
h3,ol, h3 a {
}
+
    color:#000;
 +
}
  
/*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 */
+
body {
#contentContainer a:hover {
+
background-image: url("https://static.igem.org/mediawiki/2014/4/43/Penn_2014_wiki_background.jpg");
color: #59bf92;
+
background-size: 100%;
}
+
background-repeat: repeat;
 +
font-family: "Open Sans";
 +
color: white;
 +
margin-left: auto;
 +
margin-right: auto;
 +
min-width:1200px;
 +
}
  
/*Change the styling of tables */
+
td {
        #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*/
+
#figureBox {
    #contentContainer  td {
+
background: #585d8a; /* Old browsers */
    padding: 10px;
+
background: -moz-linear-gradient(top, #585d8a 0%, #2e335f 100%); /* FF3.6+ */
    border: 1px solid #565656;
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#585d8a), color-stop(100%,#2e335f)); /* Chrome,Safari4+ */
    border-collapse: collapse;
+
background: -webkit-linear-gradient(top, #585d8a 0%,#2e335f 100%); /* Chrome10+,Safari5.1+ */
    vertical-align: text-top;
+
background: -o-linear-gradient(top, #585d8a 0%,#2e335f 100%); /* Opera 11.10+ */
    }
+
background: -ms-linear-gradient(top, #585d8a 0%,#2e335f 100%); /* IE10+ */
 +
background: linear-gradient(to bottom, #585d8a 0%,#2e335f 100%); /* W3C */
 +
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#585d8a', endColorstr='#2e335f',GradientType=0 ); /* IE6-9 */
 +
box-shadow: 0px 0px 20px #222222;
  
/*Change the styling of table headers */
+
padding: 20px;
    #contentContainer th {
+
margin: 50px;
    background-color: #E8E8E9;
+
}
    padding: 10px;
+
    border: 1px solid #565656;
+
    border-collapse: collapse;
+
    vertical-align: text-top;
+
    }
+
  
 +
#redbox {
  
 +
font-family:"Open Sans";
  
/*MENU STYLING */
 
  
/*Styling for the links in the menu */
+
background: #c15d62; /* Old browsers */
#menuContainer a {
+
background: -moz-linear-gradient(top, #c15d62 2%, #963d42 100%); /* FF3.6+ */
color: #565656;
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(2%,#c15d62), color-stop(100%,#963d42)); /* Chrome,Safari4+ */
text-decoration:none;
+
background: -webkit-linear-gradient(top, #c15d62 2%,#963d42 100%); /* Chrome10+,Safari5.1+ */
font-weight: bold;
+
background: -o-linear-gradient(top, #c15d62 2%,#963d42 100%); /* Opera 11.10+ */
}
+
background: -ms-linear-gradient(top, #c15d62 2%,#963d42 100%); /* IE10+ */
 +
background: linear-gradient(to bottom, #c15d62 2%,#963d42 100%); /* W3C */
 +
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c15d62', endColorstr='#963d42',GradientType=0 ); /* IE6-9 */
  
/* Sets the style for lists inside menuContainer  */
+
/*text-align:center;*/
#menuContainer ul {
+
content-align:center;
list-style: none;
+
margin-left:0px;
+
}
+
  
/*Styles the list items to become menu buttons */
+
width:80%;
#menuContainer ul li {
+
margin-right: auto;
text-align: center;
+
margin-left:auto;
display: block;
+
padding:35px;
width: 100%;
+
height:30px;
+
padding-top:10px;
+
}
+
  
/*For the menu buttons, changes the color when hovering*/
+
box-shadow: 0px 0px 50px #000000;
#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 */
+
#redbox #textbox {
#menuContainer li:hover ul {
+
width: 800px;
/*display: inline-block; */
+
margin: 0 auto;
display: block;
+
position: absolute;
+
}
float:right;
+
margin-left: 134px;
+
margin-top:-42px;
+
}
+
  
/*Style the submenu buttons*/
+
#PhotoBox {
#menuContainer li ul li{
+
background-color: #59BF92;  
+
background: #585d8a; /* Old browsers */
padding-left:20px;
+
background: -moz-linear-gradient(top, #585d8a 0%, #2e335f 100%); /* FF3.6+ */
padding-right:20px;
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#585d8a), color-stop(100%,#2e335f)); /* Chrome,Safari4+ */
height:30px;
+
background: -webkit-linear-gradient(top, #585d8a 0%,#2e335f 100%); /* Chrome10+,Safari5.1+ */
padding-top:10px;
+
background: -o-linear-gradient(top, #585d8a 0%,#2e335f 100%); /* Opera 11.10+ */
margin-top:-2px;
+
background: -ms-linear-gradient(top, #585d8a 0%,#2e335f 100%); /* IE10+ */
color: #565656;
+
background: linear-gradient(to bottom, #585d8a 0%,#2e335f 100%); /* W3C */
width: 150px;
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#585d8a', endColorstr='#2e335f',GradientType=0 ); /* IE6-9 */
}
+
box-shadow: 0px 0px 20px #000000;
  
/*CLASSES */
+
padding:25px;
 +
width: 600px;
 +
text-align: center;
  
/*Clear class for all the pages, adds spacing too*/
+
margin-left: auto;
.clear{
+
margin-right:auto;
clear:both;
+
}
height: 10px;
+
}
+
  
 +
#MenuBox {
 +
 +
background: #585d8a; /* Old browsers */
 +
background: -moz-linear-gradient(top, #585d8a 0%, #2e335f 100%); /* FF3.6+ */
 +
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#585d8a), color-stop(100%,#2e335f)); /* Chrome,Safari4+ */
 +
background: -webkit-linear-gradient(top, #585d8a 0%,#2e335f 100%); /* Chrome10+,Safari5.1+ */
 +
background: -o-linear-gradient(top, #585d8a 0%,#2e335f 100%); /* Opera 11.10+ */
 +
background: -ms-linear-gradient(top, #585d8a 0%,#2e335f 100%); /* IE10+ */
 +
background: linear-gradient(to bottom, #585d8a 0%,#2e335f 100%); /* W3C */
 +
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#585d8a', endColorstr='#2e335f',GradientType=0 ); /* IE6-9 */
 +
box-shadow: 0px 0px 20px #000000;
  
/* highlight box for special messages */
+
text-align:center;  
    .highlightBox {
+
vertical-align:center;
        width:500px;
+
        margin:auto;
+
        background-color: #E8E8E9;  
+
margin-bottom: 15px;
+
margin-top: 15px;
+
padding: 15px;
+
padding-top: 5px;
+
    }
+
  
 +
padding-top:10px;
  
</style>
+
width: 200px;
<!-- End of CSS -->
+
height: 35px;
  
 +
}
  
<!-- Start of the template html elements. -->
+
img {
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
+
text-align:center;
 +
}
  
 +
iframe {
 +
display:block;
 +
text-align:center;
 +
width:600px;;
 +
height:450px;
 +
margin-left:auto;
 +
margin-right:auto;
 +
}
 +
#redbox table {
 +
    width:90%;
 +
margin-left:auto;
 +
margin-right:auto;
 +
background:inherit;
 +
}
  
 +
#menuicon {
 +
width: 250px;
 +
height: 250px;
 +
margin-left: auto;
 +
margin-right: auto;
 +
vertical-align: center;
 +
margin: 25px;
 +
box-shadow: 0px 0px 10px #000000;
 +
}
  
<div id="bannerContainer"> <img style = "width: 1000px; height: 200px"
+
#menuicon:hover {
src = "https://static.igem.org/mediawiki/2015/5/50/PENN_IGEM_Banner.png">
+
</div>
+
}
  
<!-- Start of menu -->
+
#menuicon2 {
<div id="menuContainer">
+
width: 200px;
 +
height: 200px;
 +
margin-left: auto;
 +
margin-right: auto;
 +
vertical-align: center;
 +
margin: 25px;
 +
box-shadow: 0px 0px 10px #000000;
 +
}
  
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
+
/*Dropdown menu hack*/
<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>
+
#nav {
 +
  text-align: left;
 +
  display: inline;
 +
  margin: 0;
 +
  padding: 15px 4px 17px 0;
 +
  list-style: none;
 +
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
 +
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
 +
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
 +
}
 +
#nav li {
 +
  color:#FFF;
 +
  display: inline-block;
 +
  position: relative;
 +
  padding: 10px 20px;
 +
 
 +
  background: #585d8a; /* Old browsers */
 +
background: -moz-linear-gradient(top, #585d8a 0%, #2e335f 100%); /* FF3.6+ */
 +
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#585d8a), color-stop(100%,#2e335f)); /* Chrome,Safari4+ */
 +
background: -webkit-linear-gradient(top, #585d8a 0%,#2e335f 100%); /* Chrome10+,Safari5.1+ */
 +
background: -o-linear-gradient(top, #585d8a 0%,#2e335f 100%); /* Opera 11.10+ */
 +
background: -ms-linear-gradient(top, #585d8a 0%,#2e335f 100%); /* IE10+ */
 +
background: linear-gradient(to bottom, #585d8a 0%,#2e335f 100%); /* W3C */
 +
 +
 
 +
  cursor: pointer;
 +
  -webkit-transition: all 0.2s;
 +
  -moz-transition: all 0.2s;
 +
  -ms-transition: all 0.2s;
 +
  -o-transition: all 0.2s;
 +
  transition: all 0.2s;
 +
 
 +
  margin-left: 20px;
 +
}
 +
#nav li ul li:hover {
 +
  background: #fff;
 +
  color: #4e5680;
 +
}
  
<a href="#"><li>PROJECT
+
#nav li ul {
            <ul>
+
  padding: 0;
<a href="https://2015.igem.org/Team:Penn/Description"><li>Description</li></a>
+
  position: absolute;
<a href="https://2015.igem.org/Team:Penn/Experiments"><li>Experiments &amp; Protocols</li></a> 
+
  top: 36px;
<a href="https://2015.igem.org/Team:Penn/Results"><li>Results</li></a> 
+
  left: -30px;
<a href="https://2015.igem.org/Team:Penn/Design"><li>Design</li></a>
+
  width: 180px;
</ul>
+
  -webkit-box-shadow: none;
</li></a>
+
  -moz-box-shadow: none;
 +
  box-shadow: none;
 +
  display: none;
 +
  opacity: 0;
 +
  visibility: hidden;
 +
  -webkit-transiton: opacity 0.2s;
 +
  -moz-transition: opacity 0.2s;
 +
  -ms-transition: opacity 0.2s;
 +
  -o-transition: opacity 0.2s;
 +
  -transition: opacity 0.2s;
 +
}
 +
#nav li ul li {
 +
  background: #ffffff;
 +
  display: block;
 +
  color: #4e5680;
 +
}
 +
#nav li ul li:hover { background: #4e5680; color: #ffffff; }
 +
#nav li:hover ul {
 +
  display: block;
 +
  opacity: 1;
 +
  visibility: visible;
 +
}
  
<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>
+
.people_table{
     
+
width: 900px;
<a href="https://2015.igem.org/Team:Penn/Attributions"><li>ATTRIBUTIONS</li></a>
+
background-color:inherit;
 +
border-spacing: 0px 5px;
 +
}
  
<a href="https://2015.igem.org/Team:Penn/Collaborations"><li>COLLABORATIONS</li></a>
+
.people_table tr td{
 +
width: 220px;
 +
min-width:220px;
 +
background-color: #444;
 +
vertical-align: top;
 +
text-align:center;
 +
}
  
<a href="https://2015.igem.org/Team:Penn/Practices"><li>HUMAN PRACTICES</li></a>
+
.people_table tr td p{
 +
    padding-top: 10px;
 +
    text-align:center;
 +
    text-indent:0;
 +
}
  
<a href="https://2015.igem.org/Team:Penn/Safety"><li>SAFETY</li></a>
+
.name {
 +
    font-size: 16px;
 +
    font-weight:bold;
 +
}
  
<a href="https://2015.igem.org/Team:Penn/Modeling"><li>MODELING</li></a>
+
.major {
 +
    font-weight: 500;
 +
font-style: normal; 
 +
font-size: 15px;
 +
}
  
<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>
+
.protrait {
 +
    width:100%;
 +
height: 300px;
 +
}
  
<a href="https://2015.igem.org/Team:Penn/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
 
  
</ul>
+
#header_block{
</div>
+
font-weight: 500;
<!-- End of menu  -->
+
font-style: normal; 
 +
font-size: 15px;
 +
margin-top:10px;
 +
}
 +
 
 +
.members {
 +
    font-weight:bold;
 +
    margin-top:40px;
 +
    font-size: 18px;
 +
}
 +
 
 +
.sponsor_table {
 +
border-collapse: separate;
 +
border-spacing:30px;
 +
background-color:inherit;
 +
}
 +
 
 +
.sponsor_table tr {
 +
    height:150px;
 +
}
 +
 
 +
.sponsor_table tr td{
 +
  width: 25%;
 +
background-color: #fff;
 +
vertical-align: middle;
 +
}
 +
.sponsor_table tr td img{
 +
  width: 100%;
 +
display:block;
 +
}
 +
</style>
 +
</head>
 +
<body>
 +
<ul id="nav">
 +
<a href="https://2014.igem.org/Team:Penn"><li>Home</li></a>
 +
  <li><a style="hover:"href="https://2014.igem.org/Team:Penn/Overview">Project</a>
 +
  <ul>
 +
      <a href="https://2014.igem.org/Team:Penn/Overview"> <li>Overview</li> </a>
 +
    <a href="https://2014.igem.org/Team:Penn/Magnetism"> <li>Magnetism</li> </a>
 +
    <a href="https://2014.igem.org/Team:Penn/Microbio"> <li>Microbiology</li> </a>
 +
    <a href="https://2014.igem.org/Team:Penn/Synbio"> <li>SynBio in AMB-1</li> </a>
 +
    <a href="https://2014.igem.org/Team:Penn/CdTolerance"> <li>Cadmium Tolerance</li> </a>
 +
  </ul>
 +
  </li>
 +
 
 +
  <li><a href="https://2014.igem.org/Team:Penn/Specsheet">Human Practices</a>
 +
    <ul>
 +
      <a href="https://2014.igem.org/Team:Penn/Specsheet"><li>Spec Sheet</li></a>
 +
    <a href="https://2014.igem.org/Team:Penn/Outreach"><li>Outreach</li></a>
 +
    <a href="https://2014.igem.org/Team:Penn/Biomeme"><li>Biomeme</li></a>
 +
  </ul>
 +
</li>
 +
  <li><a href="https://2014.igem.org/Team:Penn/Notebook">Notebook</a>
 +
  <ul>
 +
      <a href="https://2014.igem.org/Team:Penn/Notebook"><li>Timeline</li></a>
 +
      <a href="https://2014.igem.org/Team:Penn/Safety"><li>Safety</li></a>
 +
    <a href="https://2014.igem.org/Team:Penn/Protocol"><li>Protocols</li></a>
 +
    <a href="https://2014.igem.org/Team:Penn/Supplement"><li>Supplementary Materials</li></a>
 +
  </ul>
 +
  </li>
 +
  <li><a href="https://2014.igem.org/Team:Penn/Team">About</a>
 +
  <ul>
 +
      <a href="https://2014.igem.org/Team:Penn/Team"><li>Team</li></a>
 +
                        <a href="https://2014.igem.org/Team:Penn/Achievements"><li>BioBricks</li></a>
 +
    <a href="https://2014.igem.org/Team:Penn/Sponsors"><li>Sponsors</li></a>
 +
    <a href="https://2014.igem.org/Team:Penn/Resources"><li>References</li></a>
 +
  </ul>
 +
  </li>
 +
                <a href="https://2014.igem.org/Main_Page"> <img style="margin-left:30px" src="https://static.igem.org/mediawiki/igem.org/6/60/Igemlogo_300px.png" width="40px"></a>
 +
</ul>
 +
 
 +
 +
<div style = "background: url('https://static.igem.org/mediawiki/2014/2/24/JaneText.png'); position: inherited; height:350px; background-size: 80%; background-repeat: no-repeat; background-position:center top;">
 +
</div>
 +
 
 +
 
 +
</body>
 +
 
  
<!-- 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:27, 23 July 2015