Team:Freiburg Bioware/css menu

From 2010.igem.org

(Difference between revisions)
Line 67: Line 67:
#menu li a, #menu li a:visited {text-decoration:none;}
#menu li a, #menu li a:visited {text-decoration:none;}
#menu li dd {display:none;}
#menu li dd {display:none;}
 +
#menu li d3 {display:none;}
#menu li a:hover {border:0;}
#menu li a:hover {border:0;}
-
#menu li:hover dd, #menu li a:hover dd {display:block;}
+
#menu li:hover dd, #menu li a:hover dd, #menu li:hover d3, #menu li a:hover d3 {display:block;}
#menu li:hover dl, #menu li a:hover dl {padding-bottom:10px;}
#menu li:hover dl, #menu li a:hover dl {padding-bottom:10px;}
#menu table {border-collapse:collapse; padding:0; margin:-1px;}
#menu table {border-collapse:collapse; padding:0; margin:-1px;}
Line 74: Line 75:
#menu dt {margin:0; padding: 0;}
#menu dt {margin:0; padding: 0;}
-
#menu dd {margin:0; padding:0; color: #fff; font-size: 0.9em; text-align:left;width: 150px;}
+
#menu dd, #menu d3 {margin:0; padding:0; color: #fff; font-size: 0.9em; text-align:left;width: 150px;}
-
#menu dd.first {margin: 30px 0 0;}
+
#menu dd.first, #menu d3.first {margin: 30px 0 0;}
#menu dt a,  
#menu dt a,  
Line 142: Line 143:
color:#970808;
color:#970808;
}
}
-
#menu dd a, #menu dd a:visited {background:#f5f5f5; color: #555555; padding:0.5em 0; text-decoration:none; display:block; text-align:left; border:none; font-weight:bolder; padding: 5px;}
+
#menu dd a, #menu dd a:visited, #menu d3 a, #menu d3 a:visited {background:#f5f5f5; color: #555555; padding:0.5em 0; text-decoration:none; display:block; text-align:left; border:none; font-weight:bolder; padding: 5px;}
-
#menu dd a:hover {background: #d7f6d6; color:#030659; border: none; font-weight:bolder;}
+
#menu dd a:hover, #menu d3 a:hover {background: #d7f6d6; color:#030659; border: none; font-weight:bolder;}
#menu b {display:block; overflow:hidden; height:1px;}
#menu b {display:block; overflow:hidden; height:1px;}
#menu ul {list-style-image:none;}
#menu ul {list-style-image:none;}
 +
/* Drop-Down-End */
/* Drop-Down-End */

Revision as of 22:28, 9 October 2010