Difference between revisions of "Template:Penn"

Line 6: Line 6:
 
<!-- Start of CSS-->
 
<!-- Start of CSS-->
 
<style type="text/css">
 
<style type="text/css">
 +
@charset "utf-8";
 +
/*
 +
Template Name: BusinessToday
 +
Author: <a href="http://www.os-templates.com/">OS Templates</a>
 +
Author URI: http://www.os-templates.com/
 +
Licence: Free to use under our free template licence terms
 +
Licence URI: http://www.os-templates.com/template-terms
 +
File: Layout CSS
 +
*/
  
/* PAGE LAYOUT */
+
#topnav{display:block; float:left; width:660px; margin:0; padding:0; list-style:none; font-size:13px; font-weight:normal; font-family:Verdana, Arial, Helvetica, sans-serif; color:#FFFFFF; background-color:#000000;}
 +
#topnav ul, #topnav li{float:left; list-style:none; margin:0; padding:0;}
 +
#topnav li a:link, #topnav li a:visited, #topnav li a:hover{display:block; margin:0; padding:15px 20px; color:#FFFFFF; background-color:#000000;}
 +
#topnav ul ul li a:link, #topnav ul ul li a:visited{border:none;}
 +
#topnav li.last a{margin-right:0;}
 +
#topnav li a:hover, #topnav ul li.active a{color:#FFFFFF; background-color:#059BD8;}
 +
#topnav li li a:link, #topnav li li a:visited{width:150px; float:none; margin:0; padding:7px 10px; font-size:12px; font-weight:normal; color:#FFFFFF; background-color:#000000;}
 +
#topnav li li a:hover{color:#FFFFFF; background-color:#059BD8;}
 +
#topnav li ul{background:#FFFFFF; z-index:9999; position:absolute; left:-999em; height:auto; width:170px; border-left:1px solid #FFFFFF; border-bottom:1px solid #FFFFFF;}
 +
#topnav li ul a{width:140px;}
 +
#topnav li ul ul{margin:-32px 0 0 0;}
 +
#topnav li:hover ul ul{left:-999em;}
 +
#topnav li:hover ul, #topnav li li:hover ul{left:auto;}
 +
#topnav li:hover{position:static;}
 +
#topnav li.last a{margin-right:0;}
  
/* Change Background color*/
+
/* ----------------------------------------------Column Navigation------------------------------------- */
body {
+
background-color: #fff;
+
}
+
  
/* Creates a container that will wrap all of the content inside your wiki pages. */
+
#column .subnav{display:block; width:250px; padding:25px; background-color:#F9F9F9; margin-bottom:30px;}
#mainContainer {
+
#column .subnav h2{margin:0 0 20px 0; padding:0 0 14px 0; font-size:20px; font-weight:normal; font-family:Georgia, "Times New Roman", Times, serif; color:#666666; background-color:#F9F9F9; line-height:normal; border-bottom:1px dotted #666666;}
width: 978px;
+
#column .subnav ul{margin:0; padding:0; list-style:none;}
overflow:hidden;
+
#column .subnav li{margin:0 0 3px 0; padding:0;}
float:left;
+
#column .subnav ul ul, #column .subnav ul ul ul, #column .subnav ul ul ul ul, #column .subnav ul ul ul ul ul{border-top:none; padding-top:0;}
margin-left:20px;
+
#column .subnav a{display:block; margin:0; padding:5px 10px 5px 20px; color:#777777; background:url("images/blue_file.gif") no-repeat 10px center #F9F9F9; text-decoration:none; border-bottom:1px dotted #666666;}
margin-bottom: 10px;
+
#column .subnav a:hover{color:#2684B7; background-color:#F9F9F9;}
background-color: #fff;  
+
#column .subnav ul ul a, #column .subnav ul ul ul a, #column .subnav ul ul ul ul a, #column .subnav ul ul ul ul ul a{background:url("images/black_file.gif") no-repeat #F9F9F9;}
border-bottom: 14px solid #565656;
+
#column .subnav ul ul a{padding-left:40px; background-position:30px center;}
border-right: 2px solid #565656;
+
#column .subnav ul ul ul a{padding-left:50px; background-position:40px center;}
border-left: 2px solid #565656;
+
#column .subnav ul ul ul ul a{padding-left:60px; background-position:50px center;}
border-top: 2px solid #565656;
+
#column .subnav ul ul ul ul ul a{padding-left:70px; background-position:60px center;}
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
}
+
  
/* Creates the container for the menu */
+
form, fieldset, legend{margin:0; padding:0; border:none;}
#menuContainer  {  
+
legend{display:none;}
float:left;
+
width: 134px;
+
padding: 20px 0px;
+
border-top: 14px solid #565656;
+
background-color: #E8E8E9;
+
}
+
  
/* Creates the container for the content */
+
/* ----------------------------------------------Newsletter Form------------------------------------- */
#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*/
+
#header input{display:block; float:left; width:155px; margin:0 11px 0 0; padding:5px; color:#4C4C4C; background-color:#FFFFFF; border:1px solid #396B86; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;}
#bannerContainer {
+
#header input#news_go{width:auto; height:auto; margin:0; padding:4px; font-weight:bold; text-transform:uppercase; color:#FFFFFF; background-color:#4D9FC7; cursor:pointer;}
height:200px;
+
margin:auto;
+
text-align:center;
+
color: #24B694;
+
}
+
  
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
+
/* ----------------------------------------------Search Form------------------------------------- */
  
/*Change the styling of text for everything inside main container*/
+
#topbar input{display:block; float:left; width:155px; margin:0 5px 0 0; padding:5px; color:#B6B6B6; background-color:#525252; border:1px solid #343434; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;}
#mainContainer p {  
+
#topbar input#go{width:68px; height:26px; margin:0; padding:4px 0; text-transform:uppercase; color:#FFFFFF; background-color:#059BD8; border-color:#396B86; cursor:pointer; font-weight:bold;}
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 */
+
/* ----------------------------------------------Forms in Content Area------------------------------------- */
#contentContainer a {
+
font-weight: bold;
+
color: #23b593;
+
}
+
  
  /* Styling links on hover- links are different inside the menu */
+
#container #respond{display:block; width:100%;}
#contentContainer a:hover {  
+
#container #respond input{width:170px; padding:2px; border:1px solid #CCCCCC; margin:5px 5px 0 0;}
color: #59bf92;
+
#container #respond textarea{width:98%; border:1px solid #CCCCCC; padding:2px; overflow:auto;}
}
+
#container #respond p{margin:5px 0;}
 +
#container #respond #submit, #container #respond #reset{margin:0; padding:5px; color:#666666; background-color:#F7F7F7; border:1px solid #CCCCCC; cursor:pointer;}
  
/*Change the styling of tables */
+
/* ----------------------------------------------Newsletter------------------------------------- */
        #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*/
+
#footer form{display:block; width:300px; margin:0; padding:10px 0 0 0; border:none;}
    #contentContainer  td {
+
#footer input{display:block; width:218px; margin:0 0 10px 0; padding:5px; color:#FFFFFF; background-color:#2684B7; border:1px solid #1C5E82; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px;}
    padding: 10px;
+
#footer input#login_go{width:58px; height:62px; margin:0; padding:0; font-weight:bold; text-transform:uppercase; font-family:Georgia, "Times New Roman", Times, serif; font-size:60px; cursor:pointer;}
    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;
 
    }
 
  
 +
table{width:100%; border-collapse:collapse; table-layout:auto; vertical-align:top; margin-bottom:15px; border:1px solid #CCCCCC;}
 +
table thead th{color:#FFFFFF; background-color:#666666; border:1px solid #CCCCCC; border-collapse:collapse; text-align:center; table-layout:auto; vertical-align:middle;}
 +
table tbody td{vertical-align:top; border-collapse:collapse; border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC;}
 +
table thead th, table tbody td{padding:5px; border-collapse:collapse;}
 +
table tbody tr.light{color:#666666; background-color:#F7F7F7;}
 +
table tbody tr.dark{color:#666666; background-color:#E8E8E8;}
  
  
/*MENU STYLING */
+
html{overflow-y:scroll;}
 +
body{margin:0; padding:0; font-size:12px; font-family:verdana, Arial, Helvetica, sans-serif; color:#FFFFFF; background-color:#29313C;}
  
/*Styling for the links in the menu */
+
.justify{text-align:justify;}
#menuContainer a {
+
.bold{font-weight:bold;}
color: #565656;
+
.center{text-align:center;}
text-decoration:none;
+
.right{text-align:right;}
font-weight: bold;
+
.nostart{margin:0; padding:0; list-style-type:none;}
}
+
  
/* Sets the style for lists inside menuContainer  */
+
.clear{clear:both;}
#menuContainer ul {  
+
br.clear{clear:both; margin-top:-15px;}
list-style: none;
+
margin-left:0px;
+
}
+
  
/*Styles the list items to become menu buttons */
+
a{outline:none; text-decoration:none;}
#menuContainer ul li {  
+
text-align: center;
+
display: block;
+
width: 100%;
+
height:30px;
+
padding-top:10px;
+
}
+
  
/*For the menu buttons, changes the color when hovering*/
+
.fl_left, .imgl{float:left;}
#menuContainer li:hover {
+
.fl_right, .imgr{float:right;}
color: #FFF;
+
background-color: #24B694;
+
}
+
  
/*Submenus are not displayed as default*/
+
img{display:block; margin:0; padding:0; border:0;}
#menuContainer li ul {
+
.imgl, .imgr{border:1px solid #DFDFDF; padding:5px; color:#666666; background-color:#FFFFFF;}
display: none;
+
.imgl{margin:0 8px 8px 0; clear:left;}
padding-top:15px;
+
.imgr{margin:0 0 8px 8px; clear:right;}
margin-left: -19px;
+
}
+
  
/*Submenus are displayed when hovering the menu button */
+
/* ----------------------------------------------Wrapper------------------------------------- */
#menuContainer li:hover ul {
+
/*display: inline-block; */
+
display: block;
+
position: absolute;
+
float:right;
+
margin-left: 134px;
+
margin-top:-42px;
+
}
+
  
/*Style the submenu buttons*/
+
div.wrapper{display:block; width:100%; margin:0; text-align:left;}
#menuContainer li ul li{
+
div.wrapper h1, div.wrapper h2, div.wrapper h3, div.wrapper h4, div.wrapper h5, div.wrapper h6{margin:0 0 20px 0; padding:0 0 8px 0; font-size:20px; font-weight:normal; font-family:Georgia, "Times New Roman", Times, serif; border-bottom:1px dotted #DDDDDD;}
background-color: #59BF92;  
+
.col1{color:#666666; background-color:#E3F1F9;}
padding-left:20px;
+
.col2{color:#FFFFFF; background-color:#000000;}
padding-right:20px;
+
.col3, .col4, .col5{color:#666666; background-color:#FFFFFF;}
height:30px;
+
.col6{color:#999999; background-color:#F3F3F3;}
padding-top:10px;
+
.col6 a{color:#2684B7; background-color:#F3F3F3;}
margin-top:-2px;
+
.col7, .col7 a{color:#FFFFFF; background-color:#29313C;}
color: #565656;
+
width: 150px;
+
}
+
  
/*CLASSES */
+
/* ----------------------------------------------Generalise------------------------------------- */
  
/*Clear class for all the pages, adds spacing too*/
+
#header, #topbar, #intro, #services, #breadcrumb, #container, #footer, #copyright{display:block; position:relative; width:960px; margin:0 auto;}
.clear{
+
clear:both;
+
height: 10px;
+
}
+
  
 +
/* ----------------------------------------------Header------------------------------------- */
  
/* highlight box for special messages */
+
#header{padding:30px 0; font-family:Georgia, "Times New Roman", Times, serif;}
    .highlightBox {
+
#header #logo{display:block; float:left; width:300px; margin-top:7px;}
        width:500px;  
+
#header #logo h1, #header #logo p{margin:0; padding:0; line-height:normal;}
        margin:auto;  
+
#header #logo h1{margin:0 0 10px 0; padding:0; font-size:36px; border:none;}
        background-color: #E8E8E9;  
+
#header h1 a{color:#3A6C86; background-color:#E3F1F9;}
margin-bottom: 15px;
+
#header #newsletter{float:right; padding:10px 10px 12px 10px; color:#000000; background-color:#ADD6ED;}
margin-top: 15px;
+
#header #newsletter p{margin:0 0 8px 0; font-family:Verdana, Arial, Helvetica, sans-serif;}
padding: 15px;
+
padding-top: 5px;
+
    }
+
  
 +
/* ----------------------------------------------Topbar------------------------------------- */
  
</style>
+
#topbar{z-index:1000;}
<!-- End of CSS -->
+
#topbar #search{display:block; float:right; width:242px; height:36px; margin:0; padding:10px 0 0 17px; color:#FFFFFF; background-color:#000000; border-left:1px dotted #666666; overflow:hidden;}
  
 +
/* ----------------------------------------------Homepage Intro------------------------------------- */
  
<!-- Start of the template html elements. -->
+
#intro{padding:30px 0 5px 0; font-size:16px; font-family:Georgia, "Times New Roman", Times, serif;}
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
+
#intro .fl_left{display:block; float:left; width:515px; height:240px; margin:0; padding:30px; color:#FFFFFF; background-color:#2684B7;}
 +
#intro .fl_left h2{font-size:46px; margin:0 0 15px 0; padding:0; border:none; color:#FFFFFF; background-color:#2684B7;}
 +
#intro .fl_left p{margin:0; padding:0; line-height:1.6em;}
 +
#intro .fl_left p.readmore{display:block; width:100%; margin:20px 0 0 0; padding:0; text-align:right; line-height:normal;}
 +
#intro .fl_left p.readmore a{padding:8px 15px; font-size:18px; color:#FFFFFF; background-color:#1C5E82;}
 +
#intro .fl_right{float:right;}
  
 +
/* ----------------------------------------------Services------------------------------------- */
  
 +
#services ul, #services p, #services h2, #services img{margin:0; padding:0; list-style:none;}
 +
#services li{display:block; float:left; width:294px; height:180px; margin:0 9px 0 0; padding:10px; color:#666666; background-color:#EFEFEF;}
 +
#services li:hover, #services li:hover h2{color:#666666; background-color:#E5E5E5;}
 +
#services li.last{margin-right:0;}
 +
#services .fl_right{display:block; float:right; width:185px; padding:10px 0 0 0;}
 +
#services h2{margin:0 0 5px 0; padding:0 0 3px 0; font-size:14px; font-weight:bold; color:#666666; background-color:#EFEFEF; border-bottom-color:#666666;}
 +
#services p{margin:0; padding:0; line-height:1.6em;}
 +
#services p.readmore{display:block; width:100%; margin:15px 0 0 0; padding:0; text-align:right; line-height:normal;}
 +
#services p.readmore a{padding:8px 15px; font-weight:bold; color:#FFFFFF; background-color:#666666;}
  
<div id="bannerContainer"> <img style = "width: 1000px; height: 200px"
+
/* ----------------------------------------------BreadCrumb------------------------------------- */
src = "https://static.igem.org/mediawiki/2015/5/50/PENN_IGEM_Banner.png">
+
</div>
+
  
<!-- Start of menu -->
+
#breadcrumb{padding:30px 0; border-bottom:1px solid #CCCCCC;}
<div id="menuContainer">
+
#breadcrumb a{color:#2684B7; background-color:#FFFFFF;}
 +
#breadcrumb ul{margin:0; padding:0; list-style:none;}
 +
#breadcrumb ul li{display:inline;}
 +
#breadcrumb ul li.current a{text-decoration:underline;}
  
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
+
/* ----------------------------------------------Content------------------------------------- */
<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>
+
#container{padding:30px 0; line-height:1.4em;}
 +
#container a{color:#2684B7; background-color:#FFFFFF;}
 +
#container h1, #container h2, #container h3, #container h4, #container h5, #container h6{padding-bottom:8px; border-bottom:1px dotted #CCCCCC;}
 +
#content{display:block; float:left; width:600px;}
  
<a href="#"><li>PROJECT
+
/* Comments */
            <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
+
#comments{margin-bottom:40px;}
            <ul>
+
#comments .commentlist{margin:0; padding:0;}
<a href="https://2015.igem.org/Team:Penn/Parts"><li>Team Parts</li></a>
+
#comments .commentlist ul{margin:0; padding:0; list-style:none;}
<a href="https://2015.igem.org/Team:Penn/Basic_Part"><li>Basic Parts</li></a
+
#comments .commentlist li.comment_odd, #comments .commentlist li.comment_even{margin:0 0 10px 0; padding:15px; list-style:none;}
<a href="https://2015.igem.org/Team:Penn/Composite_Part"><li>Composite Parts</li></a>
+
#comments .commentlist li.comment_odd{color:#666666; background-color:#FFFFFF;}
<a href="https://2015.igem.org/Team:Penn/Part_Collection"><li>Part Collection</li></a> 
+
#comments .commentlist li.comment_odd a{color:#3E7060; background-color:#FFFFFF;}
</ul>
+
#comments .commentlist li.comment_even{color:#666666; background-color:#E8E8E8;}
</li></a>
+
#comments .commentlist li.comment_even a{color:#3E7060; background-color:#E8E8E8;}
 +
#comments .commentlist .author .name{font-weight:bold;}
 +
#comments .commentlist .submitdate{font-size:smaller;}
 +
#comments .commentlist p{margin:10px 5px 10px 0; padding:0; font-weight:normal; text-transform:none;}
 +
#comments .commentlist li .avatar{float:right; border:1px solid #EEEEEE; margin:0 0 0 10px;}
  
<a href="https://2015.igem.org/Team:Penn/Notebook"><li>NOTEBOOK</li></a>
+
/* ----------------------------------------------Column------------------------------------- */
     
+
<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>
+
#column{display:block; float:right; width:300px;}
 +
.flickrbox ul{margin:0; padding:0; list-style:none;}
 +
.flickrbox li{display:block; float:left; width:80px; height:80px; margin:0 15px 15px 0; padding:4px; color:#666666; background-color:#FFFFFF; border:1px solid #CCCCCC;}
 +
.flickrbox li.last{margin-right:0;}
 +
#column .holder, #column #featured{display:block; width:300px; margin-bottom:20px;}
 +
#column .holder h2.title{display:block; width:100%; height:65px; margin:0; padding:15px 0 0 0; font-size:20px; line-height:normal; border-bottom:1px dashed #666666;}
 +
#column .holder h2.title img{float:left; margin:-15px 8px 0 0; padding:5px; border:1px solid #666666;}
 +
#column div.imgholder{display:block; width:290px; margin:0 0 10px 0; padding:4px; color:#666666; background-color:#FFFFFF; border:1px solid #CCCCCC;}
 +
#column .holder p.readmore{display:block; width:100%; font-weight:bold; text-align:right; line-height:normal;}
  
<a href="https://2015.igem.org/Team:Penn/Practices"><li>HUMAN PRACTICES</li></a>
+
/* Featured Block */
  
<a href="https://2015.igem.org/Team:Penn/Safety"><li>SAFETY</li></a>
+
#column #featured a{color:#666666; background-color:#F9F9F9;}
 +
#column #featured ul, #column #featured h2, #column #featured p{margin:0; padding:0; list-style:none;}
 +
#column #featured a{color:#2684B7; background-color:#F9F9F9;}
 +
#column #featured li{display:block; width:250px; margin:0; padding:20px 25px; color:#666666; background-color:#F9F9F9;}
 +
#column #featured li p.imgholder{display:block; width:240px; height:90px; margin:20px 0 15px 0; padding:4px; border:1px solid #CCCCCC;}
 +
#column #featured li h2{margin:0; padding:0 0 14px 0; font-weight:normal; font-family:Georgia, "Times New Roman", Times, serif; line-height:normal; border-bottom:1px dashed #666666;}
 +
#column #featured p.readmore{display:block; width:100%; margin-top:15px; font-weight:bold; text-align:right; line-height:normal;}
 +
#column #latestnews{display:block; width:100%; margin:0; padding:0; list-style:none;}
 +
#column #latestnews li{display:block; margin:0 0 20px 0; padding:0 0 15px 0; border-bottom:1px dotted #DDDDDD;}
 +
#column #latestnews li.last{margin-bottom:0;}
 +
#column #latestnews p{margin:0; padding:0; line-height:normal;}
 +
#column #latestnews .imgl{margin:0 10px 10px 0; padding:4px;}
  
<a href="https://2015.igem.org/Team:Penn/Modeling"><li>MODELING</li></a>
+
/* ----------------------------------------------Footer------------------------------------- */
  
<a href="https://2015.igem.org/Team:Penn/Measurement"><li>MEASUREMENT</li></a>
+
#footer{padding:30px 0;}
 +
#footer h2{margin-bottom:10px; border-bottom:1px dotted #999999;}
 +
#footer p, #footer ul, #footer a{margin:0; padding:0; font-weight:normal; list-style:none; line-height:normal;}
 +
#footer .footbox{display:block; float:right; width:190px; margin:0 0 0 30px; padding:0;}
 +
#footer li{margin-bottom:3px; line-height:1.6em;}
 +
#footer .last{margin:0;}
 +
#login{display:block; float:left; width:300px;}
  
<a href="https://2015.igem.org/Team:Penn/Software"><li>SOFTWARE</li></a>
+
/* ----------------------------------------------Copyright------------------------------------- */
  
<a href="https://2015.igem.org/Team:Penn/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
+
#copyright{padding:20px 0;}
 +
#copyright p{margin:0; padding:0;}
  
</ul>
+
</style>
</div>
+
<!-- End of CSS -->
<!-- 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>
+

Revision as of 19:24, 24 July 2015