Template:Team:DukeHomePage/CSS

From 2014.igem.org

(Difference between revisions)
 
(351 intermediate revisions not shown)
Line 2: Line 2:
<head>
<head>
 +
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 +
<html xmlns="http://www.w3.org/1999/xhtml">
 +
<head>
 +
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 +
<style media="screen" type="text/css">
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+
/*hide default igem banner and reformat style into blank slate - modified from UVA 2013*/
-
<script>
+
#globalWrapper {
-
// Javascript originally by Patrick Griffiths and Dan Webb.
+
width: 100%;
-
// http://htmldog.com/articles/suckerfish/dropdowns/
+
-
sfHover = function() {
+
-
  var sfEls = document.getElementById("navbar").getElementsByTagName("li");
+
-
  for (var i=0; i<sfEls.length; i++) {
+
-
      sfEls[i].onmouseover=function() {
+
-
        this.className+=" hover";
+
-
      }
+
-
      sfEls[i].onmouseout=function() {
+
-
        this.className=this.className.replace(new RegExp(" hover\\b"), "");
+
-
      }
+
-
  }
+
}
}
-
if (window.attachEvent) window.attachEvent("onload", sfHover);
 
-
</script>
 
-
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
+
#top-section {
-
<script type="text/javascript" src="http://linacabal.com/juan/s3Slider.js"></script>
+
width: 100%;
-
<script type="text/javascript">
+
height:0px;
-
    $(document).ready(function() {
+
border:none;
-
        $('#slider').s3Slider({
+
}
-
            timeOut: 5000
+
-
        });
+
-
    });
+
-
</script>
+
-
<style type="text/css" media="screen">
+
#p-logo {
-
#slider {
+
display:none;
-
    width: 970px; /* important to be same as image width */
+
visibility:hidden;
-
    height: 244px; /* important to be same as image height */
+
-
    position: relative; /* important */
+
-
overflow: hidden; /* important */
+
-
margin-left: -2px;
+
}
}
-
#sliderContent {
+
 
-
    width: 970px; /* important to be same as image width or wider */
+
#search-controls {
-
    position: absolute;
+
display:none;
-
top: 0;
+
-
margin-left: 0;
+
}
}
-
.sliderImage {
+
 
-
    float: left;
+
#menubar a {
-
    position: relative;
+
color:#000000;
-
display: none;
+
}
}
-
.sliderImage span {
 
-
    position: absolute;
 
-
font: 10px/15px Arial, Helvetica, sans-serif;
 
-
    width: 384px;
 
-
display: none;
+
#menubar a:hover{
-
   
+
text-decoration:none;
 +
color:#fff;
}
}
-
.clear {
+
 
-
clear: both;
+
 
 +
.left-menu ul {
 +
background-color:#000000;
 +
margin:0;
 +
padding:0;
}
}
-
.sliderImage span strong {
+
 
-
    font-size: 14px;
+
.right-menu ul li a {
 +
background-color:#000;
}
}
-
.top {
+
 
-
top: 0;
+
.printfooter {
-
left: 0;
+
display:none;
}
}
-
.bottom {
+
 
-
bottom: 0;
+
#footer-box {
-
    left: 0;
+
display:none;
 +
}
 +
 
 +
#catlinks {
 +
display:none;
 +
}
 +
 
 +
.firstHeading {
 +
display:none;
 +
}
 +
 
 +
#content {
 +
width: 100%;
 +
border:none;
 +
background-color:#000;
}
}
-
ul { list-style-type: none;}
 
</style>
</style>
-
</head>
 
-
<body>
 
-
<div id="slider">
+
<!--BEGIN HERE: This comment marks where actual coding on the main part of the page begins.-->
-
        <ul id="sliderContent">
+
-
            <li class="sliderImage">
+
-
                <img src="https://static.igem.org/mediawiki/2014/0/02/Wikicomingsoonbanner.png" alt="1" />
+
-
                <span class="top"><a href="2014.igem.org"><img src="https://static.igem.org/mediawiki/2014/c/ce/Mattigemlogo.png" height="300" width="300" alt="1" /></a></span>
+
-
            </li>
+
-
            <li class="sliderImage">
+
-
                <img src="https://static.igem.org/mediawiki/2014/0/02/Wikicomingsoonbanner.png" alt="2" />
+
-
                <span class="top"><img src="https://static.igem.org/mediawiki/2014/2/28/Igemlogotemp.png" alt="2" /></span>
+
-
            </li>
+
-
            <li class="sliderImage">
+
-
                <img src="https://static.igem.org/mediawiki/2014/0/02/Wikicomingsoonbanner.png" alt="3" />
+
-
                <span class="top"><img src="https://static.igem.org/mediawiki/2014/2/28/Igemlogotemp.png" alt="3" /></span>
+
-
            </li>
+
-
            <li class="sliderImage">
+
-
                <img src="https://static.igem.org/mediawiki/2014/0/02/Wikicomingsoonbanner.png" alt="4" />
+
-
                <span class="top"><img src="https://static.igem.org/mediawiki/2014/2/28/Igemlogotemp.png" alt="4" /></span>
+
-
            </li>
+
-
            <li class="sliderImage">
+
-
                <img src="https://static.igem.org/mediawiki/2014/0/02/Wikicomingsoonbanner.png" alt="5" />
+
-
                <span class="top"><img src="https://static.igem.org/mediawiki/2014/2/28/Igemlogotemp.png" alt="5" /></span>
+
-
            </li>
+
-
            <li class="sliderImage">
+
-
                <img src="https://static.igem.org/mediawiki/2014/0/02/Wikicomingsoonbanner.png" alt="6" />
+
-
                <span class="top"><img src="https://static.igem.org/mediawiki/2014/2/28/Igemlogotemp.png" alt="6" /></span>
+
-
            </li>
+
-
            <li class="sliderImage">
+
-
                <img src="https://static.igem.org/mediawiki/2014/0/02/Wikicomingsoonbanner.png" alt="7" />
+
-
                <span class="top"><img src="https://static.igem.org/mediawiki/2014/2/28/Igemlogotemp.png" alt="7" /></span>
+
-
            </li>
+
-
            <li class="sliderImage">
+
-
                <img src="https://static.igem.org/mediawiki/2014/0/02/Wikicomingsoonbanner.png" alt="8" />
+
-
                <span class="top"><img src="https://static.igem.org/mediawiki/2014/2/28/Igemlogotemp.png" alt="8" /></span>
+
-
            </li>
+
-
            <li class="sliderImage">
+
-
                <img src="https://static.igem.org/mediawiki/2014/0/02/Wikicomingsoonbanner.png" alt="9" />
+
-
                <span class="top"><img src="https://static.igem.org/mediawiki/2014/2/28/Igemlogotemp.png alt="9" /></span>
+
-
            </li>
+
-
            <li class="sliderImage">
+
-
                <img src="https://static.igem.org/mediawiki/2014/0/02/Wikicomingsoonbanner.png" alt="10" />
+
-
                <span class="top"><img src="https://static.igem.org/mediawiki/2014/2/28/Igemlogotemp.png" alt="10" /></span>
+
-
            </li>
+
-
            <div class="clear sliderImage"></div>
+
-
        </ul>
+
-
    </div>
+
-
 
+
 +
<style media="screen" type="text/css">
-
<div id="wrap">
+
/*This "bodyContent" style rule controls what the formatting of the page looks like, not body, for some reason. MediaWiki logic, amirite?*/
 +
#bodyContent {
 +
border:none;
 +
background-color:#000;
 +
font-color:#fff;
 +
font-size: 1em;
 +
font-family: Futura, Helvetica;
 +
}
-
<div class="arrowsidemenu">
+
#bodyContent a {
-
      <div><a href="https://2014.igem.org/Team:Duke">Home</a></div>
+
text-decoration:none;
-
       
+
color:#fff;
-
        <div class="menuheaders"><a href="https://2014.igem.org/Team:Duke/Team">Team Duke 2014</a></div>
+
}
-
            <ul class="menucontents">
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Team#The_Team">The Team</a></li>
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Team#Undergrads">Undergrads</a></li>
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Team#Grad_Students">Grad Students</a></li>
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Team#Instructors">Instructors</a></li>
+
-
            </ul>
+
-
      <div><a href="https://igem.org/Team.cgi?year=2014&team_name=Duke"> Official Team Profile </a></div>
+
-
        <div class="menuheaders"><a href="https://2014.igem.org/Team:Duke/Project">Genetic Toggle Switch</a></div>
+
-
            <ul class="menucontents">
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Project">The Project</a></li>
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Project">Background Information</a></li>
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Project">Experimental Design</a></li>             
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Project">Results:<br>Library of DNA Parts</a></li>
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Project">Results:<br>Parts Characterization</a></li>
+
-
<!--              <li><a href="https://2014.igem.org/Team:Duke/Project">Results: CRISPR</a></li>  -->
+
-
+
-
            </ul>       
+
-
        <div><a href="https://2014.igem.org/Team:Duke/Parts">Biological Parts Submitted</a></div>
+
-
            <!--ul>
+
-
              <li><a href="#">Via Email</a></li>
+
-
              <li><a href="#">Stalk Us Elsewhere</a></li>
+
-
            </ul-->       
+
-
        <div class="menuheaders"><a>Mathematical Modeling</a></div>
+
-
            <ul class="menucontents">
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Modeling/Cooperativity">Cooperativity and Hill Equation</a></li>
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Modeling/Thermodynamic_Model_Intro">Thermodynamic Model : Introduction</a></li>
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Modeling/Thermodynamic_Model_Application">Thermodynamic Model : Cooperative Repression</a></li>
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Modeling/Kinetic_Model">Kinetic Model : <br>Bifurcation and Bistability</a></li>
+
-
            </ul>       
+
-
        <!-- <div><a href="https://2014.igem.org/Team:Duke/Notebook">Results</a></div> -->
+
-
        <div class="menuheaders"><a href="https://2013.igem.org/Team:Duke/Human/">Human Practices</a></div>
+
-
          <ul class="menucontents">
+
-
            <li><a href="https://2014.igem.org/Team:Duke/Human/FromBenchToBiotech">From Bench to Biotech</a></li>
+
-
<!--<li><a href="https://2014.igem.org/Team:Duke/Human/2">BBBB</a></li>-->
+
-
            </ul>
+
-
     
+
-
        <div class="menuheaders"><a>Lab Notebook</a></div>
+
-
            <ul class="menucontents">
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Notebook/Lab_Notebook">Overview</a></li>
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Notebook/Protocols">Protocols</a></li>
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Notebook/Strain List">Strain List</a></li>
+
-
<!--              <li><a href="https://2014.igem.org/Team:Duke/Notebook/Prezi">Project Outline (Prezi) </a></li> -->
+
-
            </ul>       
+
-
        <div class="menuheaders"><a href="https://2014.igem.org/Team:Duke/Safety">Safety</a></div>
+
-
            <ul class="menucontents">
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Safety/Ecoli_and_Scerevisiae"><i>E.coli</i> and <i>S.cerevisiae</i></a></li>
+
-
              <li><a href="https://2014.igem.org/Team:Duke/Safety/Xanthomonas"><i>Xanthomonas</i> Bacteria</a></li>
+
-
            </ul>       
+
-
        <div><a href="https://2014.igem.org/Team:Duke/Attributions">Attributions</a></div>
+
-
            <!--ul>
+
-
              <li><a href="#">1</a></li>
+
-
              <li><a href="#">2</a></li>
+
-
              <li><a href="#">3</a></li>
+
-
            </ul-->     
+
-
<!--        <div><a href="https://2014.igem.org/Team:Duke/Gallery">Gallery</a></div> -->
+
-
       
+
-
        <!-- <div class="menuheaders"><a>University & Jamboree</a></div> -->
+
-
            <!--ul class="menucontents">
+
-
              <li><a href="http://www.uniandes.edu.co">DUKE? </a></li>
+
-
              <li><a href="https://2014.igem.org/Regions/Latin_America/Jamboree">North American Jamboree 2014</a></li>
+
-
            </ul--> 
+
-
<!--
+
-
        <div><a href="https://2014.igem.org/Team:Duke/Sponsors">Our Sponsors</a></div>
+
-
            <!--ul>
+
-
              <li><a href="#">Bench Press</a></li>
+
-
              <li><a href="#">Military Press</a></li>
+
-
              <li><a href="#">Press n Seal</a></li>
+
-
            </ul-->       
+
-
   
+
-
  <div><a href="https://2014.igem.org/">iGEM 2014</a></div>
+
-
     
+
-
    </div>
+
-
 
 
-
     
+
/*This formats the stuff at the bottom. */
-
  </div>
+
body {
 +
background-color:#000;
 +
}
 +
/* Title font */
 +
.big {
 +
font-size: 4em;
 +
color:#fff;
 +
text-transform:uppercase;
 +
text-align:center;
 +
float:center;
 +
padding-bottom:0px;
 +
}
 +
 +
/* Makes the square buttons */     
 +
.sq-button {
 +
    display:block;
 +
    width:100px;
 +
    height:100px;
 +
    border:none;
 +
    line-height:50px;
 +
    color:#f5f5f5;
 +
    text-align:center;
 +
    text-decoration:none;
 +
    opacity: 1;
 +
    background: #0736A4;
 +
    font-size:16px;
 +
    font-weight:bold;
 +
    overflow:hidden;
 +
    -webkit-transition: all 0.5s ease;
 +
    -moz-transition: all 0.5s ease;
 +
    -o-transition: all 0.5s ease;
 +
/*margins must be half of the change in size*/   
 +
    margin: 5px 5px;
 +
    line-height:200%;
 +
}
 +
 +
.sq-button span {
 +
    display: table-cell;
 +
    text-align: center;
 +
    vertical-align: middle;
 +
}
 +
 +
.sq-button:hover {
 +
    background-color: #0000ff;
 +
    opacity: 1;
 +
    width: 110px;
 +
    height: 110px;
 +
/*margins must be negative half of the change in size*/
 +
    margin: -5px -5px;
 +
/* Glow effect */
 +
  -webkit-box-shadow: 0px 0px 20px rgba(7, 54, 164, 0);
 +
  -moz-box-shadow: 0px 0px 20px rgba(7, 54, 164, 0;
 +
  box-shadow: 0px 0px 20px rgba(7, 54, 164, 0);
 +
}
 +
 +
/* So the logo is out of the way */
 +
.logo {
 +
z-index:200;
 +
padding:20px;
 +
margin: 0px 100px 0px 0px;
 +
}
 +
 +
.main {
 +
position:relative;
 +
z-index:100;
 +
padding:20px;
 +
text-align:center;
 +
}
 +
 +
img.mainpic {
 +
display:block;
 +
text-align:center;
 +
float:center;
 +
padding-bottom: 10px;
 +
}
 +
 +
</style>
 +
 +
 +
 +
 +
 +
</head>
 +
<body>
 +
<div class="main">
 +
<p class="big">
 +
Demonstrating Ultrasensitivity
 +
</p>
 +
<center><a href="https://2014.igem.org"><img class="mainpic" src="https://static.igem.org/mediawiki/2014/1/1a/Mattigemlogowhite.png" width="400px" height="400px" /></a></center>
 +
<!--https://2014.igem.org/File:Mattigemlogowhite.png or https://static.igem.org/mediawiki/2014/1/1a/Mattigemlogowhite.png -->
 +
</div>
</body>
</body>
</html>
</html>
-
 
-
<!-- *** COLOMBIA 2012 HEADER USED/EDITED *** -->
 

Latest revision as of 14:23, 28 August 2014

Demonstrating Ultrasensitivity