Template:INSA-Lyon/menu

From 2010.igem.org

(Difference between revisions)
 
(19 intermediate revisions not shown)
Line 11: Line 11:
     float: left;
     float: left;
     text-align: center;
     text-align: center;
-
    padding-top: 5px;
+
padding: 0;
-
    vertical-align: middle;
+
margin: auto;
-
+
}
}
Line 19: Line 18:
.bouton3D:hover{
.bouton3D:hover{
-
/*font-family: Verdana, serif;
 
-
text-align: center;
 
-
vertical-align: middle;
 
-
font-weight: bold;*/
 
background-image: url('https://static.igem.org/mediawiki/2010/d/dd/Bouton_enfonce.png');
background-image: url('https://static.igem.org/mediawiki/2010/d/dd/Bouton_enfonce.png');
}
}
 +
#menu {list-style-type:none; margin:-30px 0 20px 0; padding:0; width:900px center;list-style: none;}
#menu {list-style-type:none; margin:-30px 0 20px 0; padding:0; width:900px center;list-style: none;}
#menu li {float:left; padding:0; margin:0 1px 0 0; position:relative; width:137px; margin-top:-0.3cm; height:3em; z-index:100;}
#menu li {float:left; padding:0; margin:0 1px 0 0; position:relative; width:137px; margin-top:-0.3cm; height:3em; z-index:100;}
Line 34: Line 30:
#menu li:hover dl, #menu li a:hover dl {padding-bottom:40px;}
#menu li:hover dl, #menu li a:hover dl {padding-bottom:40px;}
#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: 137px; margin: 0; padding: 0; background: transparent;}
+
#menu dl {width: 137px; margin: 0; padding: 0px 0 0px 0; background: transparent;}
#menu dt {margin:0px; padding: 8px 0 8px 0;border:0px;}
#menu dt {margin:0px; padding: 8px 0 8px 0;border:0px;}
Line 45: Line 41:
background-image: url('https://static.igem.org/mediawiki/2010/d/dd/Bouton_enfonce.png');
background-image: url('https://static.igem.org/mediawiki/2010/d/dd/Bouton_enfonce.png');
width: 100%;
width: 100%;
-
height: 70%;
+
height: 80%;
font-family: Verdana, serif;
font-family: Verdana, serif;
font-size: 11px;
font-size: 11px;
text-align: auto;
text-align: auto;
font-weight: bold;
font-weight: bold;
-
vertical-align: middle;
+
vertical-align: auto;
-
/*padding: 0px;*/
+
}
}

Latest revision as of 04:18, 26 August 2010