Team:Brown/templates/header

From 2010.igem.org

(Difference between revisions)
Line 25: Line 25:
.panel img { width: 200px }  /*bottom boxes width */
.panel img { width: 200px }  /*bottom boxes width */
-
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; z-index:500;}
ul#nav { position:centre; left: 3px; z-index:500; }
ul#nav { position:centre; left: 3px; z-index:500; }
-
ul#nav ul { display: none;}
+
ul#nav ul { display: none; z-index:500;}
-
ul#nav li {float:left; position:relative; margin-bottom: 0; }
+
ul#nav li {float:left; position:relative; margin-bottom: 0; z-index:500;}
ul#nav a {
ul#nav a {
   display:block;
   display:block;
Line 37: Line 37:
   text-decoration:none;  
   text-decoration:none;  
   text-indent:0.5em;  
   text-indent:0.5em;  
 +
z-index:500;
}
}
ul#nav li:hover > ul {
ul#nav li:hover > ul {
Line 43: Line 44:
   left:12em; /* ul#nav a width */
   left:12em; /* ul#nav a width */
   top:0;
   top:0;
 +
z-index:500;
}
}
ul#nav > li:hover > ul {  
ul#nav > li:hover > ul {  
   left:0;
   left:0;
   top:2.4em; /* ul#nav a height + 2*(ul#nav > li > ul border-width)  */
   top:2.4em; /* ul#nav a height + 2*(ul#nav > li > ul border-width)  */
 +
z-index:500;
}
}
ul#nav > li {   
ul#nav > li {   
   border: 0.5em solid #260603;   
   border: 0.5em solid #260603;   
   background: #003366;  
   background: #003366;  
 +
z-index:500;
}
}
ul#nav > li:first-child {
ul#nav > li:first-child {
   -moz-border-radius-topleft: 0.0em;
   -moz-border-radius-topleft: 0.0em;
 +
z-index:500;
}
}
ul#nav > li:last-child {
ul#nav > li:last-child {
   -moz-border-radius-topright: 0.0em;
   -moz-border-radius-topright: 0.0em;
 +
z-index:500;
}
}
ul#nav li > ul {
ul#nav li > ul {
   border: 0.2em solid #000;  
   border: 0.2em solid #000;  
   -moz-border-radius: 0.2em;
   -moz-border-radius: 0.2em;
 +
z-index:500;
}
}
-
ul#nav li > a {  background: #fff; color: black; }
+
ul#nav li > a {  background: #fff; color: black; z-index:500;}
-
ul#nav li:hover > a { color: #fff; background: #260603; } /* Menu subitem hover text */
+
ul#nav li:hover > a { color: #fff; background: #260603; z-index:500;} /* Menu subitem hover text */
-
ul#nav > li > a {  color:#000; background: #BCBCBC; border: 0.1em solid #000000; font-weight:bold; font-variant: small-caps; text-align:center; } /*menu text properties*/
+
ul#nav > li > a {  color:#000; background: #BCBCBC; border: 0.1em solid #000000; font-weight:bold; font-variant: small-caps; text-align:center; z-index:500;} /*menu text properties*/
ul#nav > li:hover > a { }
ul#nav > li:hover > a { }

Revision as of 07:38, 27 October 2010