Team:Calgary/Sandbox

From 2010.igem.org

(Difference between revisions)
Line 3: Line 3:
<!--Colors Blue:4AC6F7, Yellow:F3F778, Green:9ECF3E, White:FFFFFF, Dark Brown:30251A-->
<!--Colors Blue:4AC6F7, Yellow:F3F778, Green:9ECF3E, White:FFFFFF, Dark Brown:30251A-->
-
<style>
+
<style type="text/css">
 +
 
 +
#nav {
 +
font-family:courier;
 +
font-style:bold;
 +
}
#nav li {
#nav li {
Line 11: Line 16:
display: block;
display: block;
padding-right: 15px;
padding-right: 15px;
-
                        margin-bottom: 50px;
+
margin-bottom: 50px;
}
}
Line 33: Line 38:
height: 15px;
height: 15px;
width: 100px;
width: 100px;
-
border: 1px solid #29497b;
 
padding: 5px;
padding: 5px;
 +
border: solid 1px #4AC6F7;
}
}
Line 40: Line 45:
#nav li.on a {
#nav li.on a {
/*change border colour for active area*/
/*change border colour for active area*/
-
border: 1px solid #f90;
+
border: 1px solid #9ECF3E;
}
}
#nav li.on ul a, #nav li.off ul a {
#nav li.on ul a, #nav li.off ul a {
 +
float: left;
/*cancel inheritance of border on subnav of active area*/
/*cancel inheritance of border on subnav of active area*/
border: 0;
border: 0;
 +
color: #FF0000;
 +
width: auto;
 +
margin-right: 15px;
}
}
Line 56: Line 65:
 +
#nav li.off:hover ul {
 +
/*displays other topics when the main menu item is hovered over*/
 +
display: block;
 +
z-index: 10;
 +
}
 +
 +
 +
#nav li.off a:hover, #nav li.off:hover a {
 +
background: #4AC6F7;
 +
color: #30251A;
 +
}
 +

Revision as of 20:23, 2 June 2010