Template:Regional Asia 2012 Page CSS

From 2012.igem.org

(Difference between revisions)
(Created page with "<html> <style type="text/css"> @import"http://webhost1.ust.hk/~igemasia/css/reset.css";@import"http://webhost1.ust.hk/~igemasia/css/grid.css";@import"http://webhost1.ust.hk/~...")
Line 6: Line 6:
@import"http://webhost1.ust.hk/~igemasia/css/reset.css";@import"http://webhost1.ust.hk/~igemasia/css/grid.css";@import"http://webhost1.ust.hk/~igemasia/css/prettyPhoto.css";
@import"http://webhost1.ust.hk/~igemasia/css/reset.css";@import"http://webhost1.ust.hk/~igemasia/css/grid.css";@import"http://webhost1.ust.hk/~igemasia/css/prettyPhoto.css";
-
body{font:13px/23px Arial, Helvetica, sans-serif;color:#626262;position:relative;min-width:960px;line-height:2;background: url(http://webhost1.ust.hk/~igemasia/images/body-tail.gif);}
+
body{font:12px/23px Arial, Helvetica, sans-serif;color:#626262;position:relative;min-width:960px;line-height:2;background: url(http://webhost1.ust.hk/~igemasia/images/content-main-bg.png);}
html,body{height:100%;}
html,body{height:100%;}
-
p {padding-bottom:23px;}
+
p {padding-bottom:0px;}
.p{padding-bottom:23px !important;}
.p{padding-bottom:23px !important;}
.p0{padding-bottom:0 !important}
.p0{padding-bottom:0 !important}
Line 20: Line 20:
}
}
/*  Header styles */
/*  Header styles */
-
h1,h2,h3,h4,h5,h6{color:#1f1f1f;font-weight: normal;padding-top:37px;line-height:1.3em;}
+
h1,h2,h3,h4,h5,h6{color:#1f1f1f;font-weight: normal;padding-top:0px;line-height:1.3em;}
-
h1{font-size:40px;}
+
h1{font-size:15px;}
h2{font-size:38px;}
h2{font-size:38px;}
h3{font-size:30px; line-height:36px;}  
h3{font-size:30px; line-height:36px;}  
Line 53: Line 53:
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;
}
}
-
header .main-bg {background:url(http://webhost1.ust.hk/~igemasia/images/header-tail.png) repeat-x 0 0;}
+
header .main-bg {background:url(http://webhost1.ust.hk/~igemasia/images/body-tail.gif) repeat-x 0 0;}
header .inner {
header .inner {
padding:0px 0 0px;
padding:0px 0 0px;
Line 82: Line 82:
nav {
nav {
position:relative;
position:relative;
-
width:940px;
+
width:1500px;
margin:0 auto;
margin:0 auto;
background: url(http://webhost1.ust.hk/~igemasia/images/nav-first-border.gif) no-repeat 0 0;
background: url(http://webhost1.ust.hk/~igemasia/images/nav-first-border.gif) no-repeat 0 0;
Line 108: Line 108:
float:left;
float:left;
position:relative;
position:relative;
-
padding:0;
+
padding:0 15px 0 16px;
margin:0;
margin:0;
width:157px;
width:157px;
Line 126: Line 126:
text-align:center;
text-align:center;
}
}
-
.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) no-repeat -1px 0;}
-
.sf-menu li:hover ul,.sf-menu li.sfHover ul{top:50px; left:-1px;z-index:30 !important;}
+
.sf-menu li:hover ul,.sf-menu li.sfHover ul{width:187px; 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{

Revision as of 20:05, 19 August 2012