Template:Harvardmain

From 2010.igem.org

(Difference between revisions)
 
(35 intermediate revisions not shown)
Line 1: Line 1:
 +
{{Harvard_css}}
<html>
<html>
-
<head>
+
<script type="text/javascript" src="/wiki/images/2/2c/Float.txt"></script>
-
<style>
+
-
 
+
-
#allcontent {
+
-
      width: 950px;
+
-
}
+
-
 
+
-
#sidebar a{
+
-
      text-decoration: none;
+
-
      color: #7F5217;
+
-
}
+
-
 
+
-
#sidebar a:hover{
+
-
    color: #A0C544;
+
-
    text-decoration: none;
+
-
}
+
-
 
+
-
body {
+
-
        margin-left: 10%;
+
-
font-family: Helvetica, Arial, sans-serif;
+
-
width: 900px;
+
-
font-size: 0.9 em;
+
-
color: blue;
+
-
}
+
-
 
+
-
#headerlinks{
+
-
      margin-left: -20px;
+
-
}
+
-
 
+
-
#nav, #nav ul {
+
-
padding: 0;
+
-
list-style: none;
+
-
}
+
-
 
+
-
#nav a {
+
-
display: block;
+
-
width: 149px;
+
-
}
+
-
 
+
-
#nav li {
+
-
float: left;
+
-
width: 149px;
+
-
margin-right: 41px;
+
-
}
+
-
 
+
-
#nav li ul {
+
-
position: absolute;
+
-
width: 149px;
+
-
left: -999em;
+
-
}
+
-
 
+
-
#nav li:hover ul {
+
-
left: auto;
+
-
      text-decoration: none;
+
-
      color: white;
+
-
 
+
-
}
+
-
 
+
-
#nav li:hover ul, #nav li.sfhover ul {
+
-
left: auto;
+
-
      text-decoration: none;
+
-
      color: white;
+
-
}
+
-
 
+
-
sfHover = function() {
+
-
var sfEls = document.getElementById("nav").getElementsByTagName("LI");
+
-
for (var i=0; i<sfEls.length; i++) {
+
-
sfEls[i].onmouseover=function() {
+
-
this.className+=" sfhover";
+
-
}
+
-
sfEls[i].onmouseout=function() {
+
-
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
+
-
}
+
-
}
+
-
}
+
-
if (window.attachEvent) window.attachEvent("onload", sfHover);
+
-
+
-
.bannerimage {
+
-
+
-
}
+
-
+
-
a.bannerlinks {
+
-
  color: white;
+
-
  text-decoration: none;
+
-
  }
+
-
+
-
a.bannerlinks:hover {
+
-
  background-color: #A0C544;
+
-
  color: white;
+
-
  text-decoration: none;
+
-
  }
+
-
 
+
-
a.bannertoplinks {
+
-
  color: white;
+
-
}
+
-
  a.bannertoplinks:hover {
+
-
  background-color: #A0C544;
+
-
  color: white;
+
-
  text-decoration: none;
+
-
  }
+
-
 
+
-
.bannerlinks {
+
-
background-color: #7F5217;
+
-
border-style: solid;
+
-
border-color: white;
+
-
border-width: 1px;
+
-
color: white;
+
-
padding: 3px 20px 3px 20px;
+
-
        margin-left: -19px;
+
-
}
+
-
 
+
-
.bannertoplinks {
+
-
background-color: #827B60;
+
-
border-style: solid;
+
-
border-color: white;
+
-
border-width: 1px;
+
-
color: white;
+
-
        margin-bottom: -2px;
+
-
padding: 3px 20px 3px 20px;
+
-
}
+
-
 
+
-
#twitter_div {
+
-
font-size: 0.8em;
+
-
      width: 280px;
+
-
}
+
-
 
+
-
#sidebar {
+
-
width: 300px;
+
-
float: right;
+
-
margin-right: 6px;
+
-
border-style: solid;
+
-
border-color: white;
+
-
border-width: 1px;
+
-
padding: 0px;
+
-
}
+
-
 
+
-
#abstract {
+
-
width: 600px;
+
-
border-style: solid;
+
-
border-color: white;
+
-
border-width: 1px;
+
-
padding: 10px;
+
-
line-height: 1.2em;
+
-
 
+
-
}
+
-
+
-
#twitter_div ul {
+
-
line-height: 1.3em;
+
-
text-indent: 3px;
+
-
list-style-image: url('https://static.igem.org/mediawiki/2010/1/11/Harvard2010leaficon.png');
+
-
}
+
-
+
-
#rightgroup {
+
-
float: right;
+
-
width: 300px;
+
-
padding: 10px;
+
-
}
+
-
+
-
#leftgroup {
+
-
width: 300px;
+
-
padding: 10px;
+
-
        margin-right: 20px;
+
-
}
+
-
+
-
#maincontent {
+
-
width: 610px;
+
-
}
+
-
 
+
-
a.sidebarlinks {
+
-
display: block;
+
-
width: 300px;
+
-
font-size: 1.2em;
+
-
text-align: center;
+
-
background-color: #827B60;
+
-
color: white;
+
-
padding: 10px 0px 10px 0px;
+
-
margin-bottom: 5px;
+
-
}
+
-
a.sidebarlinks:hover {
+
-
background-color: #A0C544;
+
-
      color: white;
+
-
}
+
-
 
+
-
</style>
+
-
</head>
+
-
 
+
-
 
+
-
<body>
+
<div id="allcontent">
<div id="allcontent">
-
 
<img class="bannerimage" src="https://static.igem.org/mediawiki/2010/2/2d/Harvard2010igardenbanner.png" width="950px"><br />
<img class="bannerimage" src="https://static.igem.org/mediawiki/2010/2/2d/Harvard2010igardenbanner.png" width="950px"><br />
-
 
+
</html>
-
<div id="headerlinks">
+
{{Harvard_topbar}}
-
<ul id="nav">
+
-
<li>
+
-
<a class="bannertoplinks" href="https://2010.igem.org/Team:Harvard">home</a>
+
-
</li>
+
-
+
-
<li><a class="bannertoplinks" href="#">project</a>
+
-
<ul>
+
-
<li><a class="bannerlinks" href="https://2010.igem.org/Team:Harvard/vectors">vectors</a></li>
+
-
<li><a class="bannerlinks" href="https://2010.igem.org/Team:Harvard/allergy">allergy</a></li>
+
-
<li><a class="bannerlinks" href="https://2010.igem.org/Team:Harvard/flavor">flavor</a></li>
+
-
<li><a class="bannerlinks" href="https://2010.igem.org/Team:Harvard/fences">genetic fence</a></li>
+
-
<li><a class="bannerlinks" href="https://2010.igem.org/Team:Harvard/human_practices">human practices</a></li>
+
-
</ul>
+
-
</li>
+
-
<li><a class="bannertoplinks" href="#">people</a>
+
-
<ul>
+
-
<li><a class="bannerlinks" href="https://2010.igem.org/Team:Harvard/students">students</a></li>
+
-
<li><a class="bannerlinks" href="https://2010.igem.org/Team:Harvard/advisors">advisors</a></li>
+
-
<li><a class="bannerlinks" href="https://2010.igem.org/Team:Harvard/sponsors">sponsors</a></li>
+
-
<li><a class="bannerlinks" href="https://2010.igem.org/Team:Harvard/gallery">gallery</a></li>
+
-
</ul>
+
-
</li>
+
-
<li><a class="bannertoplinks" href="#">online</a>
+
-
<ul>
+
-
<li><a class="bannerlinks" href="http://harvardigem.org">blog</a></li>
+
-
<li><a class="bannerlinks" href="http://twitter.com/harvardigem">twitter</a></li>
+
-
<li><a class="bannerlinks" href="http://openwetware.org/wiki/IGEM:Harvard/2010">openwetware</a></li>
+
-
<li><a class="bannerlinks" href="http://www.facebook.com/pages/Cambridge-MA/Harvard-iGEM/269794024286?ref=ts">facebook</a></li>
+
-
</ul>
+
-
</li>
+
-
<li><a class="bannertoplinks" href="https://2010.igem.org/Team:Harvard/contact">contact us</a>
+
-
</li>
+
-
</ul>
+
-
</div>
+
-
</body>
+

Latest revision as of 17:33, 14 March 2011