Team:AHUT China/Template/CSS RESET
From 2014.igem.org
(Difference between revisions)
(7 intermediate revisions not shown) | |||
Line 50: | Line 50: | ||
/* menu (page, edit ...) */ | /* menu (page, edit ...) */ | ||
#menubar { | #menubar { | ||
- | background-color: | + | background-color:transparent; |
position: relative; | position: relative; | ||
float:left; | float:left; | ||
Line 56: | Line 56: | ||
width: 490px; | width: 490px; | ||
z-index: 5000; | z-index: 5000; | ||
+ | } | ||
+ | #menubar ul:hover { | ||
+ | background:black; | ||
} | } | ||
#menubar ul li a { | #menubar ul li a { | ||
Line 65: | Line 68: | ||
text-transform: lowercase; | text-transform: lowercase; | ||
} | } | ||
- | #menubar ul | + | #menubar ul:hover li a{ |
filter:alpha(opacity=100); | filter:alpha(opacity=100); | ||
-moz-opacity:1; | -moz-opacity:1; | ||
Line 90: | Line 93: | ||
color:#fff; | color:#fff; | ||
} | } | ||
- | + | .left-menu ul li:last-child { | |
- | + | filter:alpha(opacity=0); | |
- | + | -moz-opacity:0; | |
+ | opacity:0; | ||
} | } | ||
+ | .left-menu ul:hover li:last-child { | ||
+ | filter:alpha(opacity=100); | ||
+ | -moz-opacity:1; | ||
+ | opacity:1; | ||
+ | } | ||
+ | |||
/* end menu (edit, page ...) */ | /* end menu (edit, page ...) */ |
Latest revision as of 03:04, 23 September 2014