Team:Yale/Templates/Yale Header Project
From 2010.igem.org
(Difference between revisions)
(14 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
+ | <script type="text/javascript"> | ||
+ | $('.left-menu ul')[0].innerHTML="<li><a href=\"https://2010.igem.org\" style=\"font-weight:normal; text-transform:none\">2010 iGEM home</a></li>"+$('.left-menu ul')[0].innerHTML; | ||
+ | </script> | ||
+ | |||
<title>iGEM Yale</title> | <title>iGEM Yale</title> | ||
Line 10: | Line 14: | ||
body { | body { | ||
font-family: 'Helvetica Neue', Arial, sans-serif;} | font-family: 'Helvetica Neue', Arial, sans-serif;} | ||
+ | |||
+ | div#main-content h6 { | ||
+ | font: 18px Helvetica,sans-serif; | ||
+ | font-weight: bold; | ||
+ | font-style: normal; | ||
+ | color: black; | ||
+ | padding-bottom: 5px; | ||
+ | } | ||
+ | |||
+ | div#right { | ||
+ | float: right; | ||
+ | padding-left: 10px; | ||
+ | width: 350px; | ||
+ | } | ||
+ | |||
+ | div#left { | ||
+ | float: left; | ||
+ | padding-right: 10px; | ||
+ | width: 350px; | ||
+ | } | ||
+ | |||
+ | #caption { | ||
+ | font-family: Helvetica, sans-serif; | ||
+ | font-size: 10px; | ||
+ | text-align: center; | ||
+ | padding-bottom: 5px; | ||
+ | } | ||
#menubar li a{ | #menubar li a{ | ||
Line 107: | Line 138: | ||
color: white; | color: white; | ||
text-align: center; | text-align: center; | ||
+ | } | ||
+ | |||
+ | div#main-content a#nav { | ||
+ | color: black; | ||
+ | float: right; | ||
+ | padding-top: 10px; | ||
+ | padding-bottom: 10px; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | div#main-content a#nav:hover, div#main-content a#nav:active { | ||
+ | color: #8f6620; | ||
} | } | ||
Line 121: | Line 164: | ||
font-size: 12px; | font-size: 12px; | ||
text-align: justify; | text-align: justify; | ||
- | padding-top: | + | padding-top: 10px; |
} | } | ||
Line 131: | Line 174: | ||
background: url(https://static.igem.org/mediawiki/2010/d/db/Yale-home-left.png) repeat-x #e4e5e5; | background: url(https://static.igem.org/mediawiki/2010/d/db/Yale-home-left.png) repeat-x #e4e5e5; | ||
} | } | ||
+ | |||
+ | #img{padding: 10px;} | ||
div#main-content div#left-col div#img-nav{ | div#main-content div#left-col div#img-nav{ | ||
Line 214: | Line 259: | ||
#friday { | #friday { | ||
+ | padding: 5px; | ||
+ | } | ||
+ | |||
+ | #saturday { | ||
+ | padding: 5px; | ||
+ | } | ||
+ | |||
+ | #sunday { | ||
padding: 5px; | padding: 5px; | ||
} | } | ||
Line 221: | Line 274: | ||
<!------------------- End CSS -------------------> | <!------------------- End CSS -------------------> | ||
- | + | <script type="text/javascript" language="JavaScript"><!-- | |
- | + | function HideContent(d) { | |
- | <script type="text/javascript"> | + | document.getElementById(d).style.display = "none"; |
- | function | + | |
- | + | ||
- | + | ||
} | } | ||
- | + | function ShowContent(d) { | |
- | function | + | document.getElementById(d).style.display = "block"; |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | function ReverseDisplay(d) { | |
- | + | if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; } | |
- | + | else { document.getElementById(d).style.display = "none"; } | |
- | + | } | |
+ | //--></script> | ||
</head> | </head> |
Latest revision as of 03:28, 28 October 2010