Team:Yale/Templates/Yale Header
From 2011.igem.org
(Difference between revisions)
(Created page with "<html> <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 h...") |
|||
Line 18: | Line 18: | ||
<style type="text/css"> | <style type="text/css"> | ||
- | |||
- | |||
body { | body { | ||
- | |||
- | + | margin:0; padding:0; | |
- | + | ||
+ | font-family:Helvetica,Arial,sans-serif; | ||
+ | |||
+ | background:url(images/bg.png) repeat-x #ededfb; | ||
+ | |||
} | } | ||
- | # | + | |
- | + | ||
- | + | div#page-wrap { | |
+ | |||
+ | margin:0 auto; | ||
+ | |||
+ | width:960px; | ||
+ | |||
+ | min-height:720px; | ||
+ | |||
+ | position:relative; | ||
+ | |||
} | } | ||
- | # | + | |
- | + | ||
+ | div#logo { | ||
+ | |||
+ | position:absolute; | ||
+ | |||
+ | top:0px; | ||
+ | |||
+ | left:0px; | ||
+ | |||
} | } | ||
- | |||
- | |||
- | + | a img { border:0px } | |
- | |||
- | |||
- | |||
- | |||
- | |||
- | # | + | ul#menu { |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | list-style:none; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | text-align:left; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | position:absolute; | |
- | + | ||
- | + | ||
- | + | padding:0px; | |
- | + | ||
- | + | ||
- | + | margin:0px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | left:440px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | top:60px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | width:600px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | min-height:30px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | # | + | ul#menu li a { |
- | + | ||
- | + | ||
- | + | text-decoration:none; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | # | + | color:#333333; |
- | + | ||
- | } | + | font-weight:bold; |
+ | |||
+ | text-align:center; | ||
+ | |||
+ | float:left; | ||
+ | |||
+ | margin-left:10px; | ||
+ | |||
+ | padding-top:4px; | ||
+ | |||
+ | width:90px; | ||
+ | |||
+ | height:25px; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | ul#menu li a:hover { | ||
+ | |||
+ | text-decoration:none; | ||
+ | |||
+ | color:#993333; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | ul#menu li a#page { | ||
+ | |||
+ | color:#ffffff; | ||
+ | |||
+ | background:url(images/button.png); | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | ul#menu li a#signup { | ||
+ | |||
+ | color:#006633; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | div#spanner { | ||
+ | |||
+ | position:absolute; | ||
+ | |||
+ | top:160px; | ||
+ | |||
+ | left:40px; | ||
+ | |||
+ | width:920px; | ||
+ | |||
+ | height:334px; | ||
+ | |||
+ | background:url(images/fg.png) no-repeat; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
- | # | + | div#spanner p#abstract { |
- | + | position:absolute; | |
+ | margin-left:420px; | ||
+ | margin-top:30px; | ||
+ | color:#ffffff; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | div#content { | ||
+ | |||
+ | padding-top:520px; | ||
+ | |||
+ | width:960px; | ||
+ | |||
+ | padding-bottom:0px; | ||
+ | |||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | div#content p { | ||
+ | |||
+ | font-size:15px; | ||
+ | |||
+ | margin-left:20px; | ||
+ | |||
+ | margin-top:50px; | ||
+ | |||
+ | margin-right:20px; | ||
+ | |||
+ | text-align:justify; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | div#content div.col1 { | ||
+ | |||
+ | float:left; | ||
+ | |||
+ | background:url(images/col1.png) no-repeat; | ||
+ | |||
+ | margin:0px; | ||
+ | |||
+ | padding:0px; | ||
+ | |||
+ | width:320px; | ||
+ | |||
+ | height:200px; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | div#content div.col2 { | ||
+ | |||
+ | float:left; | ||
+ | |||
+ | background:url(images/col2.png) no-repeat; | ||
+ | |||
+ | margin:0px; | ||
+ | |||
+ | padding:0px; | ||
+ | |||
+ | width:320px; | ||
+ | |||
+ | height:200px; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | div#content div.col3 { | ||
+ | |||
+ | float:left; | ||
+ | |||
+ | background:url(images/col3.png) no-repeat; | ||
+ | |||
+ | margin:0px; | ||
+ | |||
+ | padding:0px; | ||
+ | |||
+ | width:320px; | ||
+ | |||
+ | height:200px; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
</style> | </style> |
Revision as of 18:14, 8 September 2011