Team:Northwestern/tinydropdowncss
From 2012.igem.org
Purpleyuan (Talk | contribs) |
Purpleyuan (Talk | contribs) |
||
Line 11: | Line 11: | ||
.menu li.submenu {font-weight:bold} | .menu li.submenu {font-weight:bold} | ||
.menu li.noborder {border-top:none} | .menu li.noborder {border-top:none} | ||
- | li.menuhover a, li.menuhover li.menuhover a {color:# | + | li.menuhover a, li.menuhover li.menuhover a {color:#fff; background: #999;} |
#info {width:180px; background:#eee} | #info {width:180px; background:#eee} | ||
#info li {width:160px; border-top:none; padding:8px 10px; color:#666; text-shadow:1px 1px #fff; text-align:left} | #info li {width:160px; border-top:none; padding:8px 10px; color:#666; text-shadow:1px 1px #fff; text-align:left} |
Revision as of 15:53, 18 July 2012
.nav {position:relative; top:90px; float:right; height:30px; width:600px; z-index:1000} .menu a {float:right; color:#fff; text-decoration:none; width:115px; height:25px; padding-top:8px} .menu a:hover {color:#fff} .menu {list-style:none; font:16px serif; text-transform:lowercase; text-align:center; width:600px; margin:0 auto} .menu li {position:relative; float:left; width:115px; z-index:1000; margin-right:5px; background: #333; border: 0} .menu ul {display:none; position:absolute; font:normal 13px Serif; top:30px; left:-19px; list-style:none; width:115px; margin-right:5px; background: #333;} .menu ul li {float:none; border-top:0; width:115px} .menu ul li a, li.menuhover li a, li.menuhover li.menuhover li a {float:none; display:block; background:none; height:22px; padding-top:5px} .menu ul li a:hover, li.menuhover li a:hover, li.menuhover li.menuhover li a:hover {background: #999; color:#fff} .menu ul ul {left:120px; top:0} .menu li.submenu {font-weight:bold} .menu li.noborder {border-top:none} li.menuhover a, li.menuhover li.menuhover a {color:#fff; background: #999;}
- info {width:180px; background:#eee}
- info li {width:160px; border-top:none; padding:8px 10px; color:#666; text-shadow:1px 1px #fff; text-align:left}