Template:INSA-Lyon/menu
From 2010.igem.org
(Difference between revisions)
m |
m |
||
Line 37: | Line 37: | ||
- | #menu {list-style-type:none; margin:- | + | #menu {list-style-type:none; margin:-20px auto 20px auto; padding:0 6% 0 6%; 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 51: | Line 51: | ||
#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;} | ||
- | #menu dt a, #menu dt a:visited {display:block; font-size: 12px; color: #000000; text-align:center; border-width:0 1px 1px 1px; background:transparent; padding:0. | + | #menu dt a, #menu dt a:visited {display:block; font-size: 12px; color: #000000; text-align:center; border-width:0 1px 1px 1px; background:transparent; padding:0.4em 0 0.2em 0;} |
#menu li:hover dt a, #menu a:hover dt a {color:#000000; background:transparent; } | #menu li:hover dt a, #menu a:hover dt a {color:#000000; background:transparent; } |
Revision as of 09:02, 20 August 2010