Team:Valencia/menu

From 2012.igem.org

(Difference between revisions)
Line 4: Line 4:
.menu {padding:0 0 0; margin:0; list-style:none; height:35px; width: 965px; background:#929292 url(http://2012.igem.org/wiki/images/7/72/Menu_3.jpg) repeat-x; position:relative; font-family: Verdana, Sans-Serif; }
.menu {padding:0 0 0; margin:0; list-style:none; height:35px; width: 965px; background:#929292 url(http://2012.igem.org/wiki/images/7/72/Menu_3.jpg) repeat-x; position:relative; font-family: Verdana, Sans-Serif; }
.menu li.top {display:block; float:left; position:left;}
.menu li.top {display:block; float:left; position:left;}
-
.menu li a.top_link {display:block; float:left; height:0px; line-height:33px; color:#F5F5C4; text-decoration:none; font-size:14px; font-weight:bold; padding:0 0 0 12px; cursor:pointer;}
+
.menu li a.top_link {display:block; float:left; height:40px; line-height:33px; color:#F5F5C4; text-decoration:none; font-size:14px; font-weight:bold; padding:0 0 0 12px; cursor:pointer;}
-
.menu li a.top_link span {float:left; font-weight:bold; display:block; padding:0 24px 0 12px; height:0px;}
+
.menu li a.top_link span {float:left; font-weight:bold; display:block; padding:0 24px 0 12px; height:40px;}
.menu li a.top_link:hover {color:#000; background: url(http://2012.igem.org/wiki/images/c/cf/Button.png) no-repeat;}
.menu li a.top_link:hover {color:#000; background: url(http://2012.igem.org/wiki/images/c/cf/Button.png) no-repeat;}
.menu li a.top_link:hover span {background:url(http://2012.igem.org/wiki/images/c/cf/Button.png) no-repeat right top;}
.menu li a.top_link:hover span {background:url(http://2012.igem.org/wiki/images/c/cf/Button.png) no-repeat right top;}
Line 19: Line 19:
.menu :hover ul :hover ul ul,
.menu :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul ul,
-
.menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; height:0; margin:0; padding:0; list-style:none;}
+
.menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:9999px; top:9999px; height:0; margin:0; padding:0; list-style:none;}
.menu :hover ul.sub {left:2px; top:40px; right:2px; background: #fff; padding:3px 0; border:1px solid #929292; white-space:nowrap; width:200px; height:auto;}
.menu :hover ul.sub {left:2px; top:40px; right:2px; background: #fff; padding:3px 0; border:1px solid #929292; white-space:nowrap; width:200px; height:auto;}
.menu :hover ul.sub li {display:block; height:20px; position:relative; float:left; width:250px;}
.menu :hover ul.sub li {display:block; height:20px; position:relative; float:left; width:250px;}

Revision as of 14:11, 14 September 2012