Difference between revisions of "Template:Team:MIT/Header"

(Created page with "__NOTOC__<html lang="en"> <head> <script> $(document).ready(function(){ $('p:empty').css('display','none'); }); function nav_notebook( dest ){ if (window.location.pathname =...")
 
 
(39 intermediate revisions by one other user not shown)
Line 1: Line 1:
__NOTOC__<html lang="en">
+
<!--To insert this as a template use {{Team:MIT/Header}}-->
<head>
+
<script>
+
$(document).ready(function(){
+
$('p:empty').css('display','none');
+
});
+
  
function nav_notebook( dest ){
+
<!-- Declare that you are going to use html code instead of wiki code -->
  if (window.location.pathname == "/Team:MIT/Notebook"){
+
<html>
    window.location.hash=dest;
+
 
    window.location.reload();
+
<link href='http://fonts.googleapis.com/css?family=Permanent+Marker|Cantarell:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
  }
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
  else{
+
<style type="text/css">
    window.location.href="https://2014.igem.org/Team:MIT/Notebook#" + dest;
+
 
  }
+
#contentSub, #contentcontainer, #footer-box, #sitesub, #catlinks, #search-controls, #p-logo, .h3, .printfooter, .firstHeading, .visualClear {display: none;} /*-- hides default wiki settings --*/
 +
 
 +
.topWikiNavBackground {
 +
    height:18px;
 +
    margin-top: -32px;
 +
    background-color:transparent;
 
}
 
}
  
</script>
+
.headerimage {
</head>
+
position: relative;
<!-- wiki hacks --><style type="text/css"><!--
+
top:26px;
/*------------------------------------*\
+
margin: auto;
RESET
+
width: 100%;
\*------------------------------------*/
+
height: 100%;
table{
+
 
border-collapse:collapse;
+
border-spacing:0;
+
background-color:transparent;
+
 
}
 
}
a {
+
 
color:teal;
+
#globalWrapper, #content { /*-- changes default wiki settings --*/
 +
width: 100%;
 +
height: 100%;
 +
border: 0px;
 +
background-color: transparent;
 +
margin: 0px;
 +
padding: 0px;
 
}
 
}
a:visited {
+
 
color:teal;
+
/*Title fonts*/
 +
#title, .subtitle, .smallersubtitle{
 +
margin: 40px;
 +
text-align: center;
 +
font-family: 'Permanent Marker', cursive;
 +
color: white;
 
}
 
}
fieldset,img{
+
 
border:0;
+
.subtitle{
 +
font-size: 30px;
 
}
 
}
address,caption,cite,code,dfn,th,var{
+
 
font-style:normal;
+
#title{
font-weight:normal;
+
font-size: 40px;
 
}
 
}
caption,th{
+
 
text-align:left;
+
table, th, td {
 +
    border: 1px solid white;
 +
    border-collapse: collapse;
 +
    padding: 10px;
 
}
 
}
q:before,q:after{
+
 
content:'';
+
a:link {
 +
color: white;
 
}
 
}
abbr,acronym{
 
border:0;
 
}
 
/*End reset*/
 
  
OL {
+
a:visited{
padding-left:2em;
+
color: white;
 
}
 
}
  
#top-section
+
a:hover {
{
+
color: #ccff00;
    height: 1em;
+
text-decoration:none;
    background-color: #FFFFFF;
+
}
 +
 
 +
a:active {
 +
color: white;
 
}
 
}
#search-controls
+
 
{
+
.smallersubtitle{
    display: none;
+
font-size:25px;
 
}
 
}
  
#globalwrapper {
+
#spacer{
    width:1000px;
+
width: 60%;
    padding:20px 0px;
+
margin: auto;
    margin: 0 auto;
+
position: relative;
    /*background-color:#ffffff;*/
+
    height:100%;
+
 
}
 
}
#footer-box {
+
#largerspacer{
    width:990px;
+
margin-top: 20px;
 +
margin-bottom: 20px;
 +
width: 75%;
 +
margin: auto;
 +
position: relative;
 
}
 
}
.firstHeading {
+
.col-md-6{
    height:0px;
+
padding: 0px;
display:none;
+
 
}
 
}
body {
+
 
    background: #404040;
+
#contents{
    /*background-image: url('https://static.igem.org/mediawiki/2014/a/aa/MIT_2014_Background_gradient_1050px.png');*/
+
display: inline-block;
    /*MIT_2014_Background_gradient_1050px.png*/
+
width: 20%;
    background-position: center;
+
text-align: right;
    background-repeat: repeat-y;
+
float: left;
    height:100%;
+
 
}
 
}
/*page title*/
+
 
h1 {
+
/*Text font for regular paragraph text on all pages*/
font-weight:bold;
+
.text{
padding-top:20px;
+
font-size: 15px;
 +
font-family: 'Cantarell', sans-serif;
 +
margin: auto;
 +
position:relative;
 +
color: white;
 
}
 
}
/*page sections*/
+
 
h2 {
+
html, body, .wrapper { /*-- changes default wiki settings --*/
}
+
width: 100%;
/*title on header*/
+
height: 100%;
h5 {
+
background-color: transparent;
font-size:20pt;
+
 
}
 
}
  
#p-logo {
+
body{
    height:1px; overflow:hidden; display: none;
+
        background-color: black
 
}
 
}
  
#content {
+
.navmenu {
    border-left-width:0px;
+
position:fixed;
    border-right-width:0px;
+
top:16px;
    padding:0;
+
left:0;
    padding-top: 0;
+
right:0;
    width:1000px;
+
background:black;
    border-top: none;
+
        z-index : 100;
    background: #f3f3f3;
+
        height : 50px;
    height:100%;
+
        align : center;
    font-family: verdana;
+
    font-weight: 300;
+
 
}
 
}
#menubar {  
+
#mainLogo {  
    background-color: #FFFFFF;
+
 
}
 
}
#menubar ul li a {  
+
#navmenubox {
    color: #999999; }
+
padding:0;
    .right-menu li a {
+
margin-left:0;
    color: black;
+
margin-right:0;
    background-color: #FFFFFF;
+
width:100%;
 +
height:45px;
 
}
 
}
 
+
.sidelogos {
.nav{
+
float:left;
float:left;
+
display:block;
width:100%;
+
margin-left:auto;
margin:0;
+
height:100%;
color:#FFFFFF;
+
width:auto;
list-style:none;
+
top : 0;  
position:relative;
+
}
z-index:5;
+
#logos{
text-align:center;
+
float:right;
/*CHANGE THIS TO CENTER*/
+
}
padding:0 0px; /*12px;*/
+
#home {
 +
    width : 40px;
 +
    top : 0;
 
}
 
}
  
.nav table{
+
#mainpage {
background-color:#505050;
+
    float : left;
clear:both;
+
    margin-left : 50px;
align:center;
+
    margin-top : 7px;
 
}
 
}
.nav tr{
+
#facebookicon{
background-color:#505050;
+
margin-right: 0.75em;
 +
width:1.9em;
 
}
 
}
.nav tbody tr td{
+
#twittericon{
float:left;
+
width:2.375em;
position:relative;
+
margin-right:auto;
display:inline;
+
width:16%;
+
line-height: 2.2em;
+
 
}
 
}
 
+
#igemlogo img{
.nav a{
+
width:2.3em;
height:1.5em;
+
    position: relative;
padding: 0.2em;
+
background-color: white;
color:#FFF;;
+
font-size:13pt;
+
background-color:#505050;
+
border-right:0px solid white;
+
white-space:nowrap;
+
text-decoration:none;
+
display:block;
+
width:100%;
+
 
}
 
}
 
+
#igemlogo:hover img {
.nav a:hover{
+
background-color:rgb(0,153,102);
background-color:#303030!important;
+
 
}
 
}
 
+
#twittericon img, #facebookicon img, #igemlogo img{
/*--- DROPDOWN ---*/
+
margin-top:8px;
.nav ul{
+
margin-bottom:2px;
background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
+
background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
+
list-style:none;
+
position:absolute;
+
left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
+
margin-top: 0;
+
margin-left:0;
+
margin-right:0;
+
 
+
 
}
 
}
 
+
#twitapp, #fbapp {
 
+
display:none;
.nav ul li{
+
width:250px;
padding-top:1px;
+
height:auto;
 
}
 
}
 
+
#fbapp{
.nav ul a{
+
margin-left:-149px;
padding-top: 0px;
+
float:left;
+
padding-bottom:0px; /*Introducing a padding between the li and the a give the illusion spaced items */
+
white-space:normal;
+
text-decoration:none;
+
height:auto;
+
width: 13em;
+
line-height: 1.5em;
+
 
}
 
}
 
+
#twitapp{
.nav td:hover ul{ /* Display the dropdown on hover */
+
margin-left:-111px;
left:0; /* Bring back on-screen when needed */
+
text-decoration:none;
+
 
}
 
}
 
+
#nav, #nav ul{
.nav td:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
+
padding:0;
background:#505050;
+
margin:0;
text-decoration:none;
+
list-style:none;
 +
    text-align : center;
 
}
 
}
 
+
#nav li{
.nav td:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
+
font-family:'Permanent Marker', cursive;
text-decoration:none;
+
display:inline-block;
 +
color: white;
 +
position:relative;
 +
top : 12px;
 +
font-size : 16px;
 +
height : 40px;
 +
    vertical-align : middle;
 +
    padding : 0;
 +
    margin : 0;
 
}
 
}
 
+
#nav li ul{
.nav td:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
+
    vertical-align : bottom;
background:#000;
+
text-decoration:none;
+
 
}
 
}
 
+
#nav li ul li {
.links {
+
font-family: 'Cantarell', sans-serif;
background-color:#c5c5c5;
+
    height : 60px;
float:left;
+
    vertical-align : top;
width:125px;
+
    width : 200px;
height:100%;
+
    background : rgba(0,0,0,0.65);
padding-top:10px;
+
    padding : 15px 0;
 +
    color : rgb(0,0,0);
 +
    border-bottom: 1px solid rgba(255,255,255,.2);
 +
    display: block;
 
}
 
}
.links ul{
+
#nav ul{
width:100%;
+
    display : block;
 +
    width : 125px;
 +
max-height:0px;
 +
left: 0;
 +
right: 0;
 +
visibility:hidden;
 +
-moz-transition: .0s all .0s;
 +
-webkit-transition: .0s all .0s;
 +
transition: .0s all .0s;
 
}
 
}
 
+
#nav li:hover ul{
 
+
visibility: visible;
 
+
overflow: visible;
#long {
+
max-height:30em;
width:10em;
+
}
 +
#nav a{
 +
text-decoration:none;
 +
display:block;
 +
font-weight : bold;
 +
color : white;
 +
vertical-align : middle;
 +
}
 +
#nav li:hover a {
 +
        color : #ccff00;
 +
}
 +
#nav li:hover ul .liste {
 +
        color : white;
 +
}
 +
#nav li ul li .liste:hover {
 +
    color : #ccff00;
 +
}
 +
.side-by-side{
 +
display: inline;
 +
}
 +
#nav li ul div{
 +
display: inline;
 
}
 
}
#project_title a:hover { text-decoration: none; }
+
</style>
#project_title { margin: 0; padding: 0; }
+
--></style>
+
  
 +
<div class="navmenu">
 +
<div id="navmenubox">
 +
<ul id="nav" class = "col-md-10">
 +
<!--<li>
 +
<a id = "mainLogo" href="https://2015.igem.org/Team:MIT" title="MIT iGEM" target="_blank"><img src="https://static.igem.org/mediawiki/2015/6/61/Team-MIT-MainLogo1.png" height="45px">
 +
</a>
 +
</li>
 +
-->
 +
<li><a href="https://2015.igem.org/Team:MIT">Home</a></li>
  
<body>
+
<li><a href="https://2015.igem.org/Team:MIT/Description"><img src="https://static.igem.org/mediawiki/2014/e/e1/MIT_2014_dropdown_arrow.png">Project</a>
<div style="margin-top:-50px;Background-color:#FFF"> <br><br><br></div>
+
<ul>
<div id="project_header" style="margin-top: -1em; position:relative;align:center;">
+
<li><a class = liste href="https://2015.igem.org/Team:MIT/Coculture">The Co-Culture</a></li>
<img id="headerImage" src="https://static.igem.org/mediawiki/2014/5/59/MIT_monolith_header_image.png" border="0" width="1000" height="77" orgWidth="1000" orgHeight="77" usemap="#image-maps-2014-10-16-234534" alt="" />
+
<li><a class = liste href="https://2015.igem.org/Team:MIT/Chutch">C. Hutchinsonii</a></li>
<map name="image-maps-2014-10-16-234534" id="ImageMapsCom-image-maps-2014-10-16-234534">
+
<li><a class = liste href="https://2015.igem.org/Team:MIT/BiodieselProduction">Biodiesel Production</a></li>
<area  alt="" title="" href="https://www.facebook.com/mitigem2014" shape="rect" coords="887,17,935,61" style="outline:none;" target="_self"     />
+
<li><a class = liste href="https://2015.igem.org/Team:MIT/Parts">Parts</a></li>
<area  alt="" title="" href="https://twitter.com/MIT_iGEM" shape="rect" coords="938,17,981,60" style="outline:none;" target="_self"     />
+
<li><a class = liste href="https://2015.igem.org/Team:MIT/Circuit">Circuit</a></li>
<area  alt="" title="" href="https://2014.igem.org" shape="rect" coords="797,7,874,69" style="outline:none;" target="_self"     />
+
<li><a class = liste href="https://2015.igem.org/Team:MIT/Modeling">Modeling</a></li>
<area  alt="" title="" href="https://2014.igem.org/Team:MIT" shape="rect" coords="0,0,794,77" style="outline:none;" target="_self"     />
+
<li><a class = liste href="https://2015.igem.org/Team:MIT/Promoter">Promoter Characterization</a></li>
<area shape="rect" coords="998,75,1000,77" alt="Image Map" style="outline:none;" title="Image Map" href="http://www.image-maps.com/index.php?aff=mapped_users_0" />
+
</ul>
</map>
+
</li>
 +
<li><a href="https://2015.igem.org/Team:MIT/Practices"><img src="https://static.igem.org/mediawiki/2014/e/e1/MIT_2014_dropdown_arrow.png"> Human Practices</a>
 +
<ul>
 +
<li><a class = liste href="https://2015.igem.org/Team:MIT/CBP">Consolidated Bioprocessing</a></li>
 +
<li><a class = liste href="https://2015.igem.org/Team:MIT/Economics">Economics</a></li>
 +
<li><a class = liste href="https://2015.igem.org/Team:MIT/Experts">Experts</a></li>
 +
</ul>
 +
</li>
 +
<li><a href="https://2015.igem.org/Team:MIT/WetlabDrylab"><img src="https://static.igem.org/mediawiki/2014/e/e1/MIT_2014_dropdown_arrow.png">Notebooks</a>
 +
<ul>
 +
<li><a class = liste href="https://2015.igem.org/Team:MIT/WetlabDrylab">Wetlab/Drylab</a></li>
 +
<li><a class = liste href="https://2015.igem.org/Team:MIT/Measurement">Measurement</a></li>
 +
<li><a class = liste href="https://2015.igem.org/Team:MIT/Protocols">Protocols</a></li>
 +
</ul>
 +
</li>
 +
<li><a href="https://2015.igem.org/Team:MIT/Team"><img src="https://static.igem.org/mediawiki/2014/e/e1/MIT_2014_dropdown_arrow.png">About Us</a>
 +
<ul>
 +
<li><a class = liste href="https://2015.igem.org/Team:MIT/Team">Team Bios</a></li>
 +
<li><a class = liste href="https://2015.igem.org/Team:MIT/Acknowledgements">Acknowledgements</a></li>
 +
<li><a class = liste href="https://2015.igem.org/Team:MIT/Attributions">Attributions</a></li>
 +
<li><a class = liste href="https://2015.igem.org/Team:MIT/Medals">Medals</a></li>
 +
</ul>
 +
            </li>
 +
<li><a href="https://2015.igem.org/Team:MIT/Collaborations"><img src="https://static.igem.org/mediawiki/2014/e/e1/MIT_2014_dropdown_arrow.png"> Externals</a>
 +
<ul>
 +
<li><a class = liste href="https://2015.igem.org/Team:MIT/Collaborations">Collaborations</a></li>
 +
<li><a class = liste href="https://2015.igem.org/Team:MIT/InterlabStudy">Interlab Study</a></li>
 +
        </ul>
 +
            </li>
 +
</ul>
 +
<div class= "col-md-2">
 +
<div id = "logos">
 +
<div id="twittericon" class="sidelogos">
 +
<a href="http://twitter.com/MIT_iGEM" target="_blank">
 +
<img id="twitterimg" src="https://static.igem.org/mediawiki/2015/5/52/Team_MIT_TwitterLogo.png" height="30px"/>
 +
<div id="twitapp">
 +
<a class="twitter-timeline" href="https://twitter.com/MIT_iGEM" data-widget-id="608663252705374209">@MIT_iGEM</a>
 +
</div>
 +
</a>
 +
</div>
 +
<div id="facebookicon" class="sidelogos">
 +
<a href="https://www.facebook.com/MITiGEM" target="_blank">
 +
<img id="fblogo" src="https://static.igem.org/mediawiki/2015/4/42/Team_MIT_facebook_logo.png" height="30px"/>                      
 +
<div id="fbapp">
 +
<div class="fb-like-box" data-href="https://www.facebook.com/MITiGEM" data-width="250" data-height="400" data-colorscheme="light" data-show-faces="true" data-header="true" data-stream="true" data-show-border="true"></div>
 +
</div>
 +
</a>
 +
</div>
 +
<div id="igemlogo" class="sidelogos">
 +
<a href="https://2015.igem.org/Main_Page" title="iGEM 2015" target="_blank">
 +
<img src="https://static.igem.org/mediawiki/2015/0/0a/Team_MIT_iGEM_logo.gif" height="30px">
 +
</a>
 +
</div>
 +
</div>
 +
</div>
 +
</div>
 +
</div>
 
</div>
 
</div>
  
<div style="float:left; clear:left;  margin-top: -2.5em; z-index:1; position:relative;">
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  
</div>
+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
  
 +
<script>
  
<div id="project_title" style="text-align: center; margin-top: -0.8em; float:left; z-index:1; position:relative;
+
$(document).ready(function(){
margin-left:3em;">
+
$('div #twittericon').mouseover(function(){
<a href="https://2014.igem.org/Team:MIT">
+
div = $('#twitapp');
<!--<h5 style="border: none; line-height: 1.2em; margin: 0; padding: 0; padding-top: 0.7em;">
+
div.show();
 +
}).mouseout(function(){
 +
div.hide();
 +
});
 +
});
  
Genetic Diagnosis and Treatment of Alzheimer's Disease
+
//On hover the twitter logo turns clear and the blue shows through
</h5>-->
+
$(document).ready(function(){
</a>
+
    $('#twitterimg').hover(function () {
</div></div>
+
        this.src = "https://static.igem.org/mediawiki/2015/a/a1/Team_MIT_TwitterLogo2.png";
<table class="nav">
+
     }, function () {
<tr>
+
        this.src = "https://static.igem.org/mediawiki/2015/5/52/Team_MIT_TwitterLogo.png";
  <td><a href="https://2014.igem.org/Team:MIT">Home</a></td>
+
     });
  <td><a href="https://2014.igem.org/Team:MIT/Project"><img src="https://static.igem.org/mediawiki/2014/e/e1/MIT_2014_dropdown_arrow.png"> Our Project</a>
+
});
  <ul>
+
     <li><a href="https://2014.igem.org/Team:MIT/Project">Motivation</a></li>
+
    <li><a href="https://2014.igem.org/Team:MIT/Protein_sensor">Native Receptor</a></li>
+
    <li><a href="https://2014.igem.org/Team:MIT/BCR">B-Cell Receptor</a></li>
+
    <li><a href="https://2014.igem.org/Team:MIT/miRNA">miRNA Detection</a></li>
+
    <li><a href="https://2014.igem.org/Team:MIT/Treatment">Treatment Module</a></li>
+
    <li><a href="https://2014.igem.org/Team:MIT/Delivery">Delivery</a></li>
+
    <li><a href="https://2014.igem.org/Team:MIT/Modeling">Modeling</a></li>
+
  </ul>
+
  </td>
+
  <td><a href="https://2014.igem.org/Team:MIT/Parts"><img src="https://static.igem.org/mediawiki/2014/e/e1/MIT_2014_dropdown_arrow.png"> Lab Work</a>
+
  <ul>
+
     <li><a href="https://2014.igem.org/Team:MIT/Parts">Parts</a></li>
+
    <li><a href="https://2014.igem.org/Team:MIT/Safety">Safety</a></li>
+
    <li><a href="https://2014.igem.org/Team:MIT/Notebook">Notebook</a></li>
+
    <li><a href="https://2014.igem.org/Team:MIT/Protocols">Protocols</a></li>
+
  </ul>
+
  
  </td>
+
//On hover faceboook logo turns blue (changes images)
  <td><a href="https://2014.igem.org/Team:MIT/Outreach"><img src="https://static.igem.org/mediawiki/2014/e/e1/MIT_2014_dropdown_arrow.png"> Outreach</a>
+
$(document).ready(function(){
  <ul>
+
    $('#fblogo').hover(function () {
    <li><a href="https://2014.igem.org/Team:MIT/Outreach">Outreach</a></li>
+
        this.src = "https://static.igem.org/mediawiki/2015/2/20/Team-MIT-FacebookIcon2.png";
    <li><a href="https://2014.igem.org/Team:MIT/2014.igem.org/Team:MIT/Interviews">Interviews</a></li>
+
     }, function () {
     <li><a href="https://2014.igem.org/Wiki/2014.igem.org/Team:MIT/Survey">Survey</a></li>
+
        this.src = "https://static.igem.org/mediawiki/2015/4/42/Team_MIT_facebook_logo.png";
    <li><a href="https://2014.igem.org/Team:MIT/Manifold">DIY Vacuum Manifold</a></li>
+
     });
  </ul>
+
  });
  </td>
+
</script>
  <td><a href="https://2014.igem.org/Team:MIT/Team"><img src="https://static.igem.org/mediawiki/2014/e/e1/MIT_2014_dropdown_arrow.png"> About Us</a>
+
  <ul>
+
     <li><a href="https://2014.igem.org/Team:MIT/Team">Student Bios</a></li>
+
    <li><a href="https://2014.igem.org/Team:MIT/Attributions">Acknowledgements</a></li>
+
    <li><a href="https://2014.igem.org/Team:MIT/Actually Attributions">Attributions</a></li>
+
    <li><a href="https://igem.org/Team.cgi?year=2014&team_name=MIT">Official iGEM page</a></li>
+
  </ul>
+
  </td>
+
  <td><a href="https://2014.igem.org/Team:MIT/Medals">Medals</a>
+
  </td>
+
  <tr>
+
</table>
+
 
+
<br />
+
 
+
</body>
+
</html>
+

Latest revision as of 03:41, 19 September 2015