Team:BCCS-Bristol/Header
From 2009.igem.org
(Difference between revisions)
(20 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> | ||
<script type="text/javascript" src="http://dl.getdropbox.com/u/136370/jquery.gradient.js"></script> | <script type="text/javascript" src="http://dl.getdropbox.com/u/136370/jquery.gradient.js"></script> | ||
+ | <script type="text/javascript" src="http://dl.getdropbox.com/u/136370/jquery.corner.js"></script> | ||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(function() { | $(function() { | ||
Line 10: | Line 12: | ||
direction: 'horizontal' | direction: 'horizontal' | ||
}); | }); | ||
+ | |||
+ | $("img.rounded").wrap('<div></div>').parent().corner("5px"); | ||
}); | }); | ||
Line 17: | Line 21: | ||
<style> | <style> | ||
- | + | #content { font-family: "Trebuchet MS", Helvetica, sans-serif; font-size: 1.14em; } | |
h1.firstHeading { position: absolute; top: 150px; left: 25px; margin: 0; color: black; z-index: 3; border: 0; } | h1.firstHeading { position: absolute; top: 150px; left: 25px; margin: 0; color: black; z-index: 3; border: 0; } | ||
+ | h2 { background: #DFE4EB; border:0;border-top: 1px solid #B1BECF; color: black } | ||
+ | .panel img { width: 200px } | ||
ul#nav, ul#nav ul { padding:0; margin:0; list-style-type: none; list-style-image: none } | ul#nav, ul#nav ul { padding:0; margin:0; list-style-type: none; list-style-image: none } | ||
Line 26: | Line 32: | ||
ul#nav a { | ul#nav a { | ||
display:block; | display:block; | ||
- | width: | + | width:12em; |
font-size:1em; | font-size:1em; | ||
height:2em; | height:2em; | ||
Line 37: | Line 43: | ||
display:block; | display:block; | ||
position:absolute; | position:absolute; | ||
- | left: | + | left:12em; /* ul#nav a width */ |
top:0; | top:0; | ||
} | } | ||
Line 61: | Line 67: | ||
-moz-border-radius: 0.2em; | -moz-border-radius: 0.2em; | ||
} | } | ||
- | ul#nav li > a { background: #fff; color: | + | ul#nav li > a { background: #fff; color: black; } |
ul#nav li:hover > a { color: #fff; background: #003366; } | ul#nav li:hover > a { color: #fff; background: #003366; } | ||
Line 75: | Line 81: | ||
<html> | <html> | ||
- | <div style="position: relative; width: 965px; height: 150px; background: url(' | + | <div style="position: relative; width: 965px; height: 150px; background: url('https://static.igem.org/mediawiki/2009/c/c2/BCCSBanner.jpg'); clear: both; "> |
<div style="position: absolute; bottom: 0; z-index: 2; width: 965px; height: 75px; | <div style="position: absolute; bottom: 0; z-index: 2; width: 965px; height: 75px; |
Latest revision as of 03:00, 22 October 2009
BCCS-Bristol
iGEM 2009
iGEM 2009