Team:AHUT China/Template/CSS RESET
From 2014.igem.org
(Difference between revisions)
(18 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<style type="text/css"> | <style type="text/css"> | ||
/* hiding the top section*/ | /* hiding the top section*/ | ||
- | body{position:absolute; top:0px; width:100% | + | body{position:absolute; top:0px; width:100%;} |
#top-section{ | #top-section{ | ||
height:0px; | height:0px; | ||
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 28: | Line 28: | ||
marign:0 auto; | marign:0 auto; | ||
padding:0 0 0 0; | padding:0 0 0 0; | ||
- | |||
} | } | ||
#bodyContent{ | #bodyContent{ | ||
background-color:transparent; | background-color:transparent; | ||
border:none; | border:none; | ||
- | + | margin-top:-20px; | |
} | } | ||
siteSub{ | siteSub{ | ||
Line 55: | 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 79: | Line 80: | ||
right: 0px; | right: 0px; | ||
text-align: right; | text-align: right; | ||
- | color: # | + | color: #fff; |
} | } | ||
#menubar ul { | #menubar ul { | ||
- | |||
list-style: none; | list-style: none; | ||
} | } | ||
Line 91: | Line 91: | ||
padding-left: 0px; | padding-left: 0px; | ||
padding-right: 0px; | padding-right: 0px; | ||
- | color:# | + | color:#fff; |
} | } | ||
- | + | .left-menu ul li:last-child { | |
- | + | filter:alpha(opacity=0); | |
- | + | -moz-opacity:0; | |
+ | opacity:0; | ||
} | } | ||
- | + | .left-menu ul:hover li:last-child { | |
- | .left-menu li | + | 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