Team:HUST-China/Templates/css2
From 2011.igem.org
(Difference between revisions)
Line 17: | Line 17: | ||
#main_nav li a:hover {color: #000;} | #main_nav li a:hover {color: #000;} | ||
#main_nav li ul li a {font-size: 12px;width: 100%;height: 25px;line-height: 25px;margin: 0px;} | #main_nav li ul li a {font-size: 12px;width: 100%;height: 25px;line-height: 25px;margin: 0px;} | ||
- | #main_nav li ul li a:hover, #main_nav li.focus ul li a:hover {background-image: url(https://static.igem.org/mediawiki/2011/e/e6/Hust_team_subnav_over.png) no-repeat center center;} | + | #main_nav li ul li a:hover, #main_nav li.focus ul li a:hover {background-image:url(https://static.igem.org/mediawiki/2011/e/e6/Hust_team_subnav_over.png); |
- | #main_nav li.focus a, #main_nav li a:hover {background-image: url(https://static.igem.org/mediawiki/2011/8/85/Hust_team_nav_over.png) no-repeat top left;color: #000;} | + | background-repeat:no-repeat;background-position:center;background-position:center;} |
+ | #main_nav li.focus a, #main_nav li a:hover {background-image: url(https://static.igem.org/mediawiki/2011/8/85/Hust_team_nav_over.png); | ||
+ | background-repeat:no-repeat;background-position:top;background-position:left;color: #000;} | ||
#main_nav li.focus ul li a {background: none;color: #000;} | #main_nav li.focus ul li a {background: none;color: #000;} | ||
#main_nav li ul {position: absolute;top: 36px;left: 0px;background: #fff;border-color: #1d70ba;border-style: none solid solid; border-width: medium 1px 1px;display: none;} | #main_nav li ul {position: absolute;top: 36px;left: 0px;background: #fff;border-color: #1d70ba;border-style: none solid solid; border-width: medium 1px 1px;display: none;} |
Revision as of 14:31, 5 October 2011