Team:AHUT China/Template/CSS RESET
From 2014.igem.org
(Difference between revisions)
(13 intermediate revisions not shown) | |||
Line 8: | Line 8: | ||
width:980px; | width:980px; | ||
margin:0 auto; | margin:0 auto; | ||
- | padding: | + | padding:0; |
background-color:transparent; | background-color:transparent; | ||
overflow:hide; | overflow:hide; | ||
Line 54: | Line 54: | ||
float:left; | float:left; | ||
white-space: nowrap; | white-space: nowrap; | ||
- | |||
width: 490px; | width: 490px; | ||
z-index: 5000; | z-index: 5000; | ||
- | |||
- | |||
- | |||
} | } | ||
- | + | #menubar ul:hover { | |
- | + | background:black; | |
- | + | } | |
+ | #menubar ul li a { | ||
+ | filter:alpha(opacity=0); | ||
+ | -moz-opacity:0; | ||
+ | opacity:0; | ||
text-align: left; | text-align: left; | ||
color:#999999; | color:#999999; | ||
text-transform: lowercase; | text-transform: lowercase; | ||
} | } | ||
- | + | #menubar ul:hover li a{ | |
- | + | filter:alpha(opacity=100); | |
- | color: # | + | -moz-opacity:1; |
+ | opacity:1; | ||
+ | color: #fff; | ||
background-color: transparent; | background-color: transparent; | ||
} | } | ||
Line 91: | Line 93: | ||
color:#fff; | color:#fff; | ||
} | } | ||
- | + | .left-menu ul li:last-child { | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
filter:alpha(opacity=0); | filter:alpha(opacity=0); | ||
-moz-opacity:0; | -moz-opacity:0; | ||
opacity:0; | opacity:0; | ||
} | } | ||
- | .left-menu | + | .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