Template:Lyon-INSA-ENS/menuhorizontalFrReal

From 2011.igem.org

(Difference between revisions)
Line 32: Line 32:
ul#topnav li a {
ul#topnav li a {
-
padding: 8px 13px;
+
padding: 0px 0px;
font-weight :bold;
font-weight :bold;
display: block;
display: block;
Line 53: Line 53:
ul#topnav li span {
ul#topnav li span {
float: left;
float: left;
-
padding: 10px 0 7px 0;
+
padding: 0px 0 0px 0;
position: absolute;
position: absolute;
left: 0; top:30px;
left: 0; top:30px;
Line 105: Line 105:
ul#topnav {
ul#topnav {
float: left;
float: left;
-
width: 965px;
+
width: 975px;
list-style: none;
list-style: none;
-
         margin-left: 0px;
+
         margin-left: -5px;
position: relative;
position: relative;
background: url("https://static.igem.org/mediawiki/2010/1/19/Topnav_s.gif") repeat-x;
background: url("https://static.igem.org/mediawiki/2010/1/19/Topnav_s.gif") repeat-x;
Line 140: Line 140:
ul#topnav li span {
ul#topnav li span {
float: left;
float: left;
-
padding: 10px 0 7px 0;
+
padding: 0px 0 0px 0;
position: absolute;
position: absolute;
left: 0; top:30px;
left: 0; top:30px;
Line 147: Line 147:
background: #006600; /* #1275c9  #f200d0 */;
background: #006600; /* #1275c9  #f200d0 */;
color: #fff;
color: #fff;
-
-moz-border-radius-bottomright: 10px;
+
-moz-border-radius-bottomright: 5px;
-
-khtml-border-radius-bottomright: 10px;
+
-khtml-border-radius-bottomright: 5px;
-
-webkit-border-bottom-right-radius: 10px;
+
-webkit-border-bottom-right-radius: 5px;
-
-moz-border-radius-bottomleft: 10px;
+
-moz-border-radius-bottomleft: 5px;
-
-khtml-border-radius-bottomleft: 10px;
+
-khtml-border-radius-bottomleft: 5px;
-
-webkit-border-bottom-left-radius: 10px;
+
-webkit-border-bottom-left-radius: 5px;
}
}
ul#topnav li:hover span { display: block; }
ul#topnav li:hover span { display: block; }

Revision as of 14:07, 28 July 2011