Template:RoyChung CSS
From 2012.igem.org
(Difference between revisions)
Line 31: | Line 31: | ||
.hp-3 {padding:0 0 24px 0;} | .hp-3 {padding:0 0 24px 0;} | ||
.hp-4 {padding:0 0 44px 0;} | .hp-4 {padding:0 0 44px 0;} | ||
- | .relative{position:relative;z-index: | + | .relative{position:relative;z-index:14} |
/* Global Structure---------------------------------------- */ | /* Global Structure---------------------------------------- */ | ||
.main{margin:0 auto;width:960px;position:relative;} | .main{margin:0 auto;width:960px;position:relative;} | ||
Line 50: | Line 50: | ||
header { | header { | ||
position:relative; | position:relative; | ||
- | z-index: | + | z-index:20; |
background:url(http://webhost1.ust.hk/~igemasia/images/header-tail.png) repeat-x 0 0; | background:url(http://webhost1.ust.hk/~igemasia/images/header-tail.png) repeat-x 0 0; | ||
} | } | ||
Line 128: | Line 128: | ||
.sf-menu > li.current > a, .sf-menu > li.sfHover > a, .sf-menu > li > a:hover {background:url(http://webhost1.ust.hk/~igemasia/images/nav-active.png) no-repeat -1px 0;} | .sf-menu > li.current > a, .sf-menu > li.sfHover > a, .sf-menu > li > a:hover {background:url(http://webhost1.ust.hk/~igemasia/images/nav-active.png) no-repeat -1px 0;} | ||
- | .sf-menu li:hover ul,.sf-menu li.sfHover ul{top:50px; left:-1px;z-index: | + | .sf-menu li:hover ul,.sf-menu li.sfHover ul{top:50px; left:-1px;z-index:30 !important;} |
.sf-menu li:hover li ul,ul.sf-menu li.sfHover li ul{top:-999em} | .sf-menu li:hover li ul,ul.sf-menu li.sfHover li ul{top:-999em} | ||
.sf-menu li li a{ | .sf-menu li li a{ | ||
Line 154: | Line 154: | ||
section#content { | section#content { | ||
position:relative; | position:relative; | ||
- | z-index: | + | z-index:14; |
background:url(http://webhost1.ust.hk/~igemasia/images/content-main-bg.png) repeat 0 0 #dfdfdf; | background:url(http://webhost1.ust.hk/~igemasia/images/content-main-bg.png) repeat 0 0 #dfdfdf; | ||
background-attachment:fixed; | background-attachment:fixed; | ||
Line 280: | Line 280: | ||
.lightbox-image-1{display:inline-block;position:relative;} | .lightbox-image-1{display:inline-block;position:relative;} | ||
a.border{padding:6px;background:#dededa;display:inline-block;} | a.border{padding:6px;background:#dededa;display:inline-block;} | ||
- | .lightbox-image-1 img{position:relative;z-index: | + | .lightbox-image-1 img{position:relative;z-index:12;} |
.lightbox-image-1 span{position:absolute;width:100%;height:100%;left:0;top:0;background:url(http://webhost1.ust.hk/~igemasia/images/magnify.png) 50% 50% #fff no-repeat; border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;} | .lightbox-image-1 span{position:absolute;width:100%;height:100%;left:0;top:0;background:url(http://webhost1.ust.hk/~igemasia/images/magnify.png) 50% 50% #fff no-repeat; border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;} | ||
Line 301: | Line 301: | ||
display:inline-block; | display:inline-block; | ||
position:relative; | position:relative; | ||
- | z-index: | + | z-index:16; |
} | } | ||
Line 631: | Line 631: | ||
display:inline-block; | display:inline-block; | ||
position:relative; | position:relative; | ||
- | z-index: | + | z-index:16; |
width:358px; | width:358px; | ||
} | } |
Revision as of 14:34, 19 August 2012