Template:INSA-Lyon/menu

From 2010.igem.org

(Difference between revisions)
m
m
Line 37: Line 37:
-
#menu {list-style-type:none; margin:-20px auto 20px auto; padding:0 5% 0 5%; width:900px center;list-style: none;}
+
#menu {list-style-type:none; margin:-20px 0 20px 0; padding:0 5% 0 5%; width:900px center;list-style: none;}
#menu li {float:left; padding:0; margin:0 1px 0 0; position:relative; width:120px; margin-top:-0.3cm; height:3em; z-index:100;}
#menu li {float:left; padding:0; margin:0 1px 0 0; position:relative; width:120px; margin-top:-0.3cm; height:3em; z-index:100;}
#menu li dl {position:absolute; top:0; left:0; padding-bottom:0;}
#menu li dl {position:absolute; top:0; left:0; padding-bottom:0;}
Line 44: Line 44:
#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 {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:8px;}
#menu table {border-collapse:collapse; padding:0; margin:-1px; font-size:1em;}
#menu table {border-collapse:collapse; padding:0; margin:-1px; font-size:1em;}
#menu dl {width: 120px; margin: 0; padding: 0; background: transparent;}
#menu dl {width: 120px; margin: 0; padding: 0; background: transparent;}
-
#menu dt {margin:0; padding: 0;border:0px;}
+
#menu dt {margin:0; padding: 8px 0 8px 0;border:0px;}
#menu dd {margin:0; padding:0; background:#1bef39; color: #000000; font-size: 0.91em; text-align:left;}
#menu dd {margin:0; padding:0; background:#1bef39; color: #000000; font-size: 0.91em; text-align:left;}

Revision as of 10:11, 20 August 2010