Template:Team:Washington/Templates/Top
From 2012.igem.org
(Difference between revisions)
(66 intermediate revisions not shown) | |||
Line 5: | Line 5: | ||
height:2px; | height:2px; | ||
visibility:hidden; | visibility:hidden; | ||
- | } | + | } |
+ | #catlinks { | ||
+ | display: none; | ||
+ | } | ||
#content { | #content { | ||
border-left-width:0px; | border-left-width:0px; | ||
Line 42: | Line 45: | ||
/*Now to set heading and body fonts*/ | /*Now to set heading and body fonts*/ | ||
- | body { | + | body { |
- | + | background:#000000; | |
+ | background-image: url("https://static.igem.org/mediawiki/2012/1/1b/Gradientback.jpg"); | ||
+ | background-position: center; | ||
+ | background-repeat: repeat-y; | ||
} | } | ||
h1 | h1 | ||
Line 94: | Line 100: | ||
line-height: 1; | line-height: 1; | ||
font-family:"Arial"; | font-family:"Arial"; | ||
- | font-size:11px; | + | font-size:11px; |
} | } | ||
Line 179: | Line 185: | ||
display: inline-block; | display: inline-block; | ||
white-block: nowrap; | white-block: nowrap; | ||
- | } | + | } |
- | + | ||
- | + | #igemuwmenu li:hover > a { | |
color: #fafafa; | color: #fafafa; | ||
} | } | ||
Line 243: | Line 249: | ||
box-shadow: 0 1px 0 #111, 0 2px 0 #666; | box-shadow: 0 1px 0 #111, 0 2px 0 #666; | ||
} | } | ||
+ | #igemuwmenu ul li.active { | ||
+ | float: none; | ||
+ | display: block; | ||
+ | border: 0; | ||
+ | _line-height: 0; /*IE6 only*/ | ||
+ | -moz-box-shadow: 0 1px 0 #111, 0 2px 0 #666; | ||
+ | -webkit-box-shadow: 0 1px 0 #111, 0 2px 0 #666; | ||
+ | box-shadow: 0 1px 0 #111, 0 2px 0 #666; | ||
+ | } | ||
+ | |||
#igemuwmenu ul li:last-child { | #igemuwmenu ul li:last-child { | ||
Line 251: | Line 267: | ||
#igemuwmenu ul a { | #igemuwmenu ul a { | ||
+ | padding: 10px; | ||
+ | width: 130px; | ||
+ | _height: 10px; /*IE6 only*/ | ||
+ | display: block; | ||
+ | white-space: nowrap; | ||
+ | float: none; | ||
+ | text-transform: none; | ||
+ | } | ||
+ | |||
+ | #igemuwmenu ul a.selected { | ||
padding: 10px; | padding: 10px; | ||
width: 130px; | width: 130px; | ||
Line 269: | Line 295: | ||
background-image: linear-gradient(#B6A0BA, #785D84); | background-image: linear-gradient(#B6A0BA, #785D84); | ||
} | } | ||
- | + | ||
#igemuwmenu ul li:first-child > a { | #igemuwmenu ul li:first-child > a { | ||
-moz-border-radius: 3px 3px 0 0; | -moz-border-radius: 3px 3px 0 0; | ||
Line 464: | Line 490: | ||
</style> | </style> | ||
- | < | + | <a href="https://2012.igem.org/Team:Washington"><img class="thumbnail" src='https://static.igem.org/mediawiki/2012/6/6a/UW_2012_LogoJPG.jpg' width= "965"/></A> |
- | <a href="http://www.washington.edu/"><img src='https://static.igem.org/mediawiki/2012/2/25/UW_W-Logo_smallRGB.jpg' align="left" width= "57"/></a> | + | <a href="http://www.washington.edu/"><img src='https://static.igem.org/mediawiki/2012/2/25/UW_W-Logo_smallRGB.jpg' align="left" width= "57" style="padding-top: 12px; padding-left: 5px;"/></a> |
<a href="https://2012.igem.org/Main_Page"><img src='https://static.igem.org/mediawiki/igem.org/c/c8/IGEM_desat.png' align="right" width= "70"/></a> | <a href="https://2012.igem.org/Main_Page"><img src='https://static.igem.org/mediawiki/igem.org/c/c8/IGEM_desat.png' align="right" width= "70"/></a> | ||
Line 484: | Line 510: | ||
<li><a href="https://2012.igem.org/Team:Washington">Home</a> | <li><a href="https://2012.igem.org/Team:Washington">Home</a> | ||
<ul> | <ul> | ||
- | <li><a href="https://2012.igem.org/ | + | <li><a href="https://2012.igem.org/Team:Washington">UW 2012</a></li> |
<li><a href="https://2011.igem.org/Team:Washington">UW 2011</a></li> | <li><a href="https://2011.igem.org/Team:Washington">UW 2011</a></li> | ||
<li><a href="https://2010.igem.org/Team:Washington">UW 2010</a></li> | <li><a href="https://2010.igem.org/Team:Washington">UW 2010</a></li> | ||
<li><a href="https://2009.igem.org/Team:Washington">UW 2009</a></li> | <li><a href="https://2009.igem.org/Team:Washington">UW 2009</a></li> | ||
- | <li><a href="https://2008.igem.org/Team: | + | <li><a href="https://2008.igem.org/Team:University_of_Washington">UW 2008</a></li> |
- | <li><a href=" | + | <li><a href="https://2012.igem.org/Main_Page">iGEM Homepage</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
Line 497: | Line 523: | ||
<ul> | <ul> | ||
<li><a href="https://2012.igem.org/Team:Washington/Plastics#Background">Background</a></li> | <li><a href="https://2012.igem.org/Team:Washington/Plastics#Background">Background</a></li> | ||
+ | <li><a href="https://2012.igem.org/Team:Washington/Plastics#App">App</a></li> | ||
<li><a href="https://2012.igem.org/Team:Washington/Plastics#Methods">Methods</a></li> | <li><a href="https://2012.igem.org/Team:Washington/Plastics#Methods">Methods</a></li> | ||
<li><a href="https://2012.igem.org/Team:Washington/Plastics#Results">Results Summary</a></li> | <li><a href="https://2012.igem.org/Team:Washington/Plastics#Results">Results Summary</a></li> | ||
<li><a href="https://2012.igem.org/Team:Washington/Plastics#Future">Future Directions</a></li> | <li><a href="https://2012.igem.org/Team:Washington/Plastics#Future">Future Directions</a></li> | ||
+ | <li><a href ="http://students.washington.edu/cnt/pmwiki/pmwiki.php?n=Main.HomePage">Turbidostat Wiki</a></li> | ||
<li><a href="https://2012.igem.org/Team:Washington/Plastics#Parts">Parts Submitted</a></li> | <li><a href="https://2012.igem.org/Team:Washington/Plastics#Parts">Parts Submitted</a></li> | ||
</ul> | </ul> | ||
Line 508: | Line 536: | ||
<ul> | <ul> | ||
<li><a href="https://2012.igem.org/Team:Washington/Flu#Background">Background</a></li> | <li><a href="https://2012.igem.org/Team:Washington/Flu#Background">Background</a></li> | ||
+ | <li><a href="https://2012.igem.org/Team:Washington/Flu#App">App</a></li> | ||
<li><a href="https://2012.igem.org/Team:Washington/Flu#Methods">Methods</a></li> | <li><a href="https://2012.igem.org/Team:Washington/Flu#Methods">Methods</a></li> | ||
<li><a href="https://2012.igem.org/Team:Washington/Flu#Results">Results Summary</a></li> | <li><a href="https://2012.igem.org/Team:Washington/Flu#Results">Results Summary</a></li> | ||
Line 519: | Line 548: | ||
<ul> | <ul> | ||
<li><a href="https://2012.igem.org/Team:Washington/Optogenetics#Background">Background</a></li> | <li><a href="https://2012.igem.org/Team:Washington/Optogenetics#Background">Background</a></li> | ||
- | <li><a href="https://2012.igem.org/Team:Washington/Optogenetics# | + | <li><a href="https://2012.igem.org/Team:Washington/Optogenetics#App">App</a></li> |
+ | <li><a href="https://2012.igem.org/Team:Washington/Optogenetics#Methods">Methods</a></li> | ||
<li><a href="https://2012.igem.org/Team:Washington/Optogenetics#Results">Results Summary</a></li> | <li><a href="https://2012.igem.org/Team:Washington/Optogenetics#Results">Results Summary</a></li> | ||
<li><a href="https://2012.igem.org/Team:Washington/Optogenetics#Future">Future Directions</a></li> | <li><a href="https://2012.igem.org/Team:Washington/Optogenetics#Future">Future Directions</a></li> | ||
Line 531: | Line 561: | ||
<a href="https://2012.igem.org/Team:Washington/Protocols">Protocols</a> | <a href="https://2012.igem.org/Team:Washington/Protocols">Protocols</a> | ||
<ul> | <ul> | ||
- | <li><a href="https://2012.igem.org/Team:Washington/ | + | <li><a href="https://2012.igem.org/Team:Washington/Protocols#General_Protocols">General</a></li> |
+ | <li><a href="https://2012.igem.org/Team:Washington/Protocols#Plastic_Degradation">Plastic Degradation</a></li> | ||
+ | <li><a href="https://2012.igem.org/Team:Washington/Protocols#Flu_Binders">Flu Binders</a></li> | ||
+ | <li><a href="https://2012.igem.org/Team:Washington/Protocols#Optogenetics">Optogenetics</a></li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
Line 539: | Line 572: | ||
<ul> | <ul> | ||
<li><a href="https://2012.igem.org/Team:Washington/Team:Members">The Team</a></li> | <li><a href="https://2012.igem.org/Team:Washington/Team:Members">The Team</a></li> | ||
+ | <li><a href="https://2012.igem.org/Team:Washington/Safety">Safety</a></li> | ||
+ | <li><a href="http://partsregistry.org/cgi/partsdb/pgroup.cgi?pgroup=iGEM2012&group=Washington">Parts Registry</a></li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
Line 568: | Line 603: | ||
var isiPad = navigator.userAgent.match(/iPad/i) != null; | var isiPad = navigator.userAgent.match(/iPad/i) != null; | ||
if (isiPad) $('#igemuwmenu ul').addClass('no-transition'); | if (isiPad) $('#igemuwmenu ul').addClass('no-transition'); | ||
- | }); | + | }); |
- | + | // selection | |
+ | |||
</script> | </script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $("#content").find("a[href='"+location.href+"']").each(function(){ | ||
+ | $(this).find("a").addClass("selected") | ||
+ | }) | ||
+ | </script> | ||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||