Team:BCCS-Bristol/Header

From 2009.igem.org

(Difference between revisions)
 
(65 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
 +
<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.corner.js"></script>
 +
 +
<script type="text/javascript">
 +
$(function() {
 +
 +
$('body').gradient({
 +
    from: '003366',
 +
    to: '333333',
 +
    direction: 'horizontal'
 +
  });
 +
 +
$("img.rounded").wrap('<div></div>').parent().corner("5px");
 +
 +
});
 +
 +
$('ul#nav a + ul').prev().append(' &#187;');
 +
</script>
<style>
<style>
-
#bodyContent { font-family:'Trebuchet MS',helvetica,sans-serif;font-size: 1.1em  }
 
-
h1, h2, h3 { font-family:'Palatino Linotype','Book Antiqua','Palatino',georgia,serif; }
 
-
h1 a, h2 a, h3  a { text-decoration: none }
 
-
h1 { border-bottom:2px solid #B0B0B0; }
 
-
h2 { border-bottom:2px solid #D0D0D0; }
 
-
p { margin: 0.5em }
 
-
div.bccsNavBar {
+
#content { font-family: "Trebuchet MS", Helvetica, sans-serif; font-size: 1.14em; }
-
font-size: 0.9em;
+
h1.firstHeading { position: absolute; top: 150px; left: 25px; margin: 0; color: black; z-index: 3; border: 0; }
-
  margin-bottom: 1em;
+
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 { position:relative; left: 3px; z-index:500; }
 +
ul#nav ul { display: none;}
 +
ul#nav li {float:left; position:relative; margin-bottom: 0; }
 +
ul#nav a {
 +
  display:block;
 +
  width:12em;
 +
  font-size:1em;
 +
  height:2em;
 +
  line-height:2em;  /* ul#nav a height */
 +
  text-decoration:none;
 +
  text-indent:0.5em;  
}
}
 +
ul#nav li:hover > ul {
 +
  display:block;
 +
  position:absolute;
 +
  left:12em; /* ul#nav a width */
 +
  top:0;
 +
}
 +
ul#nav > li:hover > ul {
 +
  left:0;
 +
  top:2.4em; /* ul#nav a height + 2*(ul#nav > li > ul border-width)  */
 +
}
-
div.bccsNavBar table {
 
-
background-color: #555555;
 
-
color: #FFFFFF;
 
-
}
 
-
div.bccsNavBar th {
+
ul#nav > li {
-
margin: 0px 1px 0px 1px;
+
  border: 0.5em solid #003366;
-
padding:0px 6px 0px 6px;
+
  background: #003366;
-
border:1px solid #555555;
+
}
-
background-color:none;
+
ul#nav > li:first-child {
-
text-decoration: none;
+
  -moz-border-radius-topleft: 0.5em;
-
color: #FFFFFF;
+
}
-
}
+
ul#nav > li:last-child {
 +
  -moz-border-radius-topright: 0.5em;
 +
}
-
div.bccsNavBar a {
+
ul#nav li > ul {
-
margin: 0px 1px 0px 1px;
+
  border: 0.2em solid #003366;  
-
padding:0px 6px 0px 6px;
+
  -moz-border-radius: 0.2em;
-
border:1px solid #555555;
+
}
-
background-color:none;
+
ul#nav li > a {  background: #fff; color: black; }
-
text-decoration: none;
+
ul#nav li:hover > a { color: #fff; background: #003366; }
-
color: #BBBBBB;
+
 
-
}
+
ul#nav > li > a {  color:#fff; background: #003366; }
 +
ul#nav > li:hover > a { }
-
div.bccsNavBar a:hover {
 
-
margin: 0px 1px 0px 1px;
 
-
padding:0px 6px 0px 6px;
 
-
border:1px solid #FFFFFF;
 
-
text-decoration: none;
 
-
background-color:#222222;
 
-
color: #FFFFFF;
 
-
}
 
</style>
</style>
 +
</html>
 +
{{:Team:BCCS-Bristol/Navigation}}
 +
 +
<html>
 +
<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;
 +
background: white; opacity:0.8;filter:alpha(opacity=80); border-top: 3px solid #ddd"></div>
 +
 +
<div style="position: absolute; bottom: 12px; right: 25px; color: black; z-index: 3; font-size: 1.5em">
 +
BCCS-Bristol
 +
<br />
 +
<span style="font-size: small">iGEM 2009</span>
 +
</div>
-
<div class="bccsNavBar">
 
-
{|  align="center"
 
-
!align="center"|[[Team:BCCS-Bristol|Home]]
 
-
!align="center"|[[Team:BCCS-Bristol/Team|The Team]]
 
-
!align="center"|[[Team:BCCS-Bristol/Project|The Project]]
 
-
!align="center"|[[Team:BCCS-Bristol/Meetings|Meetings]]
 
-
!align="center"|[[Team:BCCS-Bristol/Calendar|Calendar]]
 
-
!align="center"|[[Team:BCCS-Bristol/Modeling|Modelling]]
 
-
!align="center"|[[Team:BCCS-Bristol/Notebook|Wet Lab]]
 
-
|}
 
</div>
</div>
 +
</html>

Latest revision as of 03:00, 22 October 2009

BCCS-Bristol
iGEM 2009