Team:SYSU-Software/style.css

From 2012.igem.org

(Difference between revisions)
 
(16 intermediate revisions not shown)
Line 3: Line 3:
padding:0;
padding:0;
}
}
-
html, body {  
+
body {
 +
height:100%;
 +
}
 +
html {  
height:100%;
height:100%;
}
}
Line 26: Line 29:
outline:none;
outline:none;
}
}
-
ul, ol {  
+
ol {
 +
list-style:none;
 +
}
 +
 
 +
ul {  
list-style:none;
list-style:none;
}
}
Line 40: Line 47:
}
}
-
.col-1, .col-2, .col-3 {  
+
.col-3 {
 +
float:left;
 +
}
 +
 
 +
.col-2 {
 +
float:left;
 +
}
 +
 
 +
.col-1 {  
float:left;
float:left;
}
}
Line 71: Line 86:
#header {
#header {
-
height:527px;
+
height:570px;
overflow:hidden;
overflow:hidden;
-
background:url(https://static.igem.org/mediawiki/2012/a/aa/Header-bg.jpg) no-repeat 0 0;
+
background:url(https://static.igem.org/mediawiki/igem.org/a/aa/Header-bg.jpg) no-repeat 0 0;
}
}
#content2 {
#content2 {
Line 95: Line 110:
/*----- forms parameters -----*/
/*----- forms parameters -----*/
-
input, select, textarea {  
+
textarea {
 +
font-family:Arial, Helvetica, sans-serif; font-size:1em;
 +
vertical-align:middle;
 +
font-weight:normal;
 +
}
 +
 
 +
 
 +
select {
 +
font-family:Arial, Helvetica, sans-serif; font-size:1em;
 +
vertical-align:middle;
 +
font-weight:normal;
 +
}
 +
 
 +
 
 +
input {  
font-family:Arial, Helvetica, sans-serif; font-size:1em;
font-family:Arial, Helvetica, sans-serif; font-size:1em;
vertical-align:middle;
vertical-align:middle;
Line 195: Line 224:
-
.line-ver, .line-ver1 {  
+
.line-ver1 {
 +
background-image:url(https://static.igem.org/mediawiki/2012/b/b6/Line-ver.gif);
 +
background-repeat:repeat-y;
 +
width:100%;
 +
}
 +
 
 +
 
 +
.line-ver {  
background-image:url(https://static.igem.org/mediawiki/2012/b/b6/Line-ver.gif);  
background-image:url(https://static.igem.org/mediawiki/2012/b/b6/Line-ver.gif);  
background-repeat:repeat-y;
background-repeat:repeat-y;
Line 287: Line 323:
position:absolute;
position:absolute;
left:59px;
left:59px;
-
top:146px;
+
top:136px;
width:268px;
width:268px;
border-top:1px solid #4d4d4d;
border-top:1px solid #4d4d4d;
Line 299: Line 335:
display:block;
display:block;
font-size:26px;
font-size:26px;
-
line-height:1.2em;
+
line-height:1.1em;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
color:#fff;
color:#fff;
Line 305: Line 341:
padding:9px 0 8px 18px;
padding:9px 0 8px 18px;
border-bottom:1px solid #4d4d4d;
border-bottom:1px solid #4d4d4d;
-
background:url(https://static.igem.org/mediawiki/2012/d/da/Png-point.png) 0 0 no-repeat;
+
background:url(https://static.igem.org/mediawiki/2012/b/b5/Nav-bg.png) 0 0 no-repeat;
}
}
#header .nav li a span {
#header .nav li a span {
Line 314: Line 350:
}
}
-
#header .nav li a:hover, #header .nav li a.current {
+
#header .nav li a.current {
-
background:url(https://static.igem.org/mediawiki/2012/f/fb/Nav-bg.png);
+
background:url(https://static.igem.org/mediawiki/2012/b/b5/Nav-bg2.png);
}
}
-
#logopic{top: 14px; left: 30px; width:800px;position: absolute ; margin: auto ;}
+
 +
#header .nav li a:hover {
 +
background:url(https://static.igem.org/mediawiki/2012/b/b5/Nav-bg2.png);
 +
}
 +
#logopic{top: 30px; ; position: absolute ; margin-left:70px;}
/*--- faded slider ---*/
/*--- faded slider ---*/
#faded {  
#faded {  
Line 324: Line 364:
position:absolute;
position:absolute;
left:379px;
left:379px;
-
top:23px;
+
top:80px;
overflow:hidden;
overflow:hidden;
}
}
Line 419: Line 459:
overflow: hidden;
overflow: hidden;
position: relative;
position: relative;
-
background:url(https://static.igem.org/mediawiki/2012/a/ae/Tab-bg1.gif) no-repeat 0 0;
+
background:url(https://static.igem.org/mediawiki/igem.org/6/65/%E6%9C%AA%E6%A0%87%E9%A2%98-2.png) no-repeat 0 0;
-
width:130px;
+
width:90px;
height:44px;
height:44px;
line-height:44px;
line-height:44px;
Line 441: Line 481:
}
}
-
ul.tabs li:hover, html ul.tabs li.active {
+
html ul.tabs li.active  {
-
background:url(https://static.igem.org/mediawiki/2012/e/ed/Tab-bg2.gif) no-repeat 0 0;
+
background:url(https://static.igem.org/mediawiki/igem.org/6/6c/%E6%9C%AA%E6%A0%87%E9%A2%98-3.png) no-repeat 0 0;
 +
margin-top:0;
 +
height:48px;
 +
color:#000;
 +
line-height:48px;
 +
}
 +
 +
ul.tabs li:hover {
 +
background:url(https://static.igem.org/mediawiki/igem.org/6/6c/%E6%9C%AA%E6%A0%87%E9%A2%98-3.png) no-repeat 0 0;
margin-top:0;
margin-top:0;
height:48px;
height:48px;
Line 459: Line 507:
min-height:305px;
min-height:305px;
height:auto !important;
height:auto !important;
-
height:305px;
+
height:335px;
}
}
.tab_content {
.tab_content {
Line 516: Line 564:
.banners li {
.banners li {
float:left;
float:left;
-
background:url(https://static.igem.org/mediawiki/2012/1/14/Divider.gif) no-repeat 100% 0;
+
background:url() no-repeat 100% 0;
padding:0 22px 0 22px;
padding:0 22px 0 22px;
}
}

Latest revision as of 07:44, 26 October 2012

  • {

margin:0; padding:0; } body { height:100%; } html { height:100%; } html { min-width:968px; }

  1. page1 {

background:url(Main-bg.jpg) no-repeat 50% 0 #0f0f0f; font-family:Arial, Helvetica, sans-serif; font-size:100%; line-height:1.25em; color:#4c4c4c; }

img { border:0; vertical-align:top; text-align:left; } object { vertical-align:top; outline:none; } ol { list-style:none; }

ul { list-style:none; }

.fleft { float:left; } .fright { float:right; } .clear { clear:both; }

.col-3 { float:left; }

.col-2 { float:left; }

.col-1 { float:left; }

.alignright { text-align:right; } .aligncenter { text-align:center; }

.wrapper { width:100%; overflow:hidden; } .container { width:100%; }



/*==== GLOBAL =====*/

  1. main {

width:968px; margin:0 auto; font-size:.875em; position:relative; }

  1. header {

height:570px; overflow:hidden; background:url(Header-bg.jpg) no-repeat 0 0; }

  1. content2 {

background:url(Content-bg.jpg) no-repeat 0 0 #010101; padding:34px 57px 46px 59px; }

  1. footer {

padding:10px 0 60px 75px; background:#010101; }


/*---- tailings ----*/ .tail-top { background:url(2012.igem.org/wiki/images/5/5b/Tail-top.gif) left top repeat-x; padding-top:25px; }


/*----- forms parameters -----*/

textarea { font-family:Arial, Helvetica, sans-serif; font-size:1em; vertical-align:middle; font-weight:normal; }


select { font-family:Arial, Helvetica, sans-serif; font-size:1em; vertical-align:middle; font-weight:normal; }


input { font-family:Arial, Helvetica, sans-serif; font-size:1em; vertical-align:middle; font-weight:normal; }


/*----- other -----*/ .img-indent { margin:0 42px 0 0; float:left; } .img-box { width:100%; overflow:hidden; padding-bottom:20px; } .img-box img { float:left; margin:0 42px 0 0; }

.extra-wrap { overflow:hidden; }


p { margin-bottom:20px; } .p1 { margin-bottom:10px; } .p2 { margin-bottom:20px; } .p3 { margin-bottom:30px; }

/*----- txt, links, lines, titles -----*/ a { color:#4a4a4a; outline:none; } a:hover{ text-decoration:none; }

h1 { position:absolute; left:59px; top:16px; font-size:83px; line-height:1.2em; color:#fff; font-weight:normal; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; letter-spacing:-2px; } h1 a { color:#fff; text-decoration:none; } h2 { font-size:24px; line-height:1.2em; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; font-weight:normal; color:#000; margin-bottom:14px; padding-top:6px; }

.link1 { display:block; float:left; background:url(Link1-left-bg.gif) no-repeat left top #e2e2e2; color:#000; text-decoration:none; font-size:10px; text-transform:uppercase; } .link1 b { display:block; background:url(Link1-right-bg.gif) no-repeat right top; padding:0 19px 0 11px; font-weight:normal; font-style:normal; line-height:28px; }

.link1:hover { background:url(images/link1-left-bg.gif) no-repeat left -28px #474747; color:#fff; } .link1:hover b { background-position:100% -28px; }


.line-ver1 { background-image:url(Line-ver.gif); background-repeat:repeat-y; width:100%; }


.line-ver { background-image:url(Line-ver.gif); background-repeat:repeat-y; width:100%; }


/*==================boxes====================*/ .box { background:#f7f7f7; width:100%; border-top:1px solid #e5e5e5; font-size:13px; line-height:18px; color:#7e7e7e; } .box .left-bot-corner { background:url(Left-bot-corner.gif) no-repeat left bottom; width:100%; } .box .right-bot-corner { background:url(Right-bot-corner.gif) no-repeat right bottom; } .box .inner { padding:23px 28px 40px 35px; } .box p { margin-bottom:18px; } .box strong { color:#4a4a4a; }

.box .link1 { background:url(Link1-left-alt.gif) no-repeat left top #e2e2e2; } .box .link1 b { background:url(Link1-right-alt.gif) no-repeat right top; } .box .link1:hover { background:url(images/link1-left-alt.gif) no-repeat left -28px #474747; } .box .link1:hover b { background-position:100% -28px; }


.box1 { background:url(Box1-bg.gif) 0 0 repeat-x #fff; width:100%; } .box1 .left-top-corner { background:url(Left-top-corner.gif) no-repeat 0 0; } .box1 .right-top-corner { background:url(Right-top-corner.gif) no-repeat 100% 0; width:100%; } .box1 .right-bot-corner { background:url(Right-bot-corner-alt.gif) no-repeat 100% 100%; } .box1 .left-bot-corner { background:url(Left-bot-corner-alt.gif) no-repeat 0 100%; width:100%; } .box1 .inner { padding:27px 28px 40px 35px; }


.address { float:left; } .address dd { clear:both; text-align:right; } .address dd span { float:left; padding-right:20px; } .address dd a { color:#4a4a4a; }


/*===== header =====*/

  1. header .nav {

position:absolute; left:59px; top:136px; width:268px; border-top:1px solid #4d4d4d; } #header .nav li { width:100%; overflow:hidden; vertical-align:top; } #header .nav li a { display:block; font-size:26px; line-height:1.1em; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; color:#fff; text-decoration:none; padding:9px 0 8px 18px; border-bottom:1px solid #4d4d4d; background:url(Nav-bg.png) 0 0 no-repeat; } #header .nav li a span { display:block; color:#525252; font-size:17px; line-height:1.2em; }

#header .nav li a.current { background:url(Nav-bg2.png); }

#header .nav li a:hover { background:url(Nav-bg2.png); }

  1. logopic{top: 30px; ; position: absolute ; margin-left:70px;}

/*--- faded slider ---*/

  1. faded {

width:566px; height:504px; position:absolute; left:379px; top:80px; overflow:hidden; }

  1. faded ul { list-style:none; padding:0; margin:0; }

#faded li strong { display:block; position:absolute; left:218px; top:349px; background:url(Title-bg.png) no-repeat 0 0; width:298px; height:56px; font-size:45px; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; color:#fff; line-height:48px; text-align:center; font-weight:normal; letter-spacing:-2px; }

  1. faded ul.controls {

position:absolute; right:34px; top:153px; width:46px; height:68px; } #faded ul.controls li { width:100%; overflow:hidden; vertical-align:top; } #faded ul.controls li a { display:block; width:46px; height:34px; overflow:hidden; } #faded ul.controls li a.prev { background:url(Controls.png) no-repeat 0 0; } #faded ul.controls li a.prev:hover { background-position:0 -68px; } #faded ul.controls li a.next { background:url(Controls.png) no-repeat 0 -34px; } #faded ul.controls li a.next:hover { background-position:0 -102px; }

  1. faded .button-alt {

display:block; background:url(Button.gif) no-repeat 0 0; width:90px; height:28px; line-height:28px; text-transform:uppercase; color:#000; text-align:center; font-size:10px; text-decoration:none; text-indent:-7px; position:absolute; bottom:62px; right:85px; }

  1. faded .button-alt:hover {

text-decoration:underline; }



/*===== content =====*/

/*--- tabs ---*/ ul.tabs { margin: 0; padding: 0; float: left; list-style: none; height: 48px; /*--Set height of tabs--*/ padding:0 0 0 0; position:relative; float:right; } ul.tabs li { float: left; border-left: none; overflow: hidden; position: relative; background:url(%E6%9C%AA%E6%A0%87%E9%A2%98-2.png) no-repeat 0 0; width:90px; height:44px; line-height:44px; font-size:14px; color:#fff; text-align:center; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; margin:4px 0 0 4px; } ul.tabs li.first { margin-left:0; } ul.tabs li a { text-decoration: none; color: #fff; display: block; } html ul.tabs li.active a { color:#000; }

html ul.tabs li.active { background:url(%E6%9C%AA%E6%A0%87%E9%A2%98-3.png) no-repeat 0 0; margin-top:0; height:48px; color:#000; line-height:48px; }

ul.tabs li:hover { background:url(%E6%9C%AA%E6%A0%87%E9%A2%98-3.png) no-repeat 0 0; margin-top:0; height:48px; color:#000; line-height:48px; } ul.tabs li:hover a { color:#000; }

.tab_container { overflow: hidden; clear: both; float: left; width: 100%; background: #fff; min-height:305px; height:auto !important; height:335px; } .tab_content { padding: 35px 30px 32px 35px; } /*--- tabs ---*/


.list1 { padding-bottom:20px; } .list1 li { background:url(Arrow1.gif) no-repeat 6px 12px; padding:6px 0 5px 20px; border-bottom:1px solid #dedede; font-size:13px !important; } .list1 li.last { border-bottom:none; } .list1 li a { color:#4a4a4a; text-decoration:none; } .list1 li a:hover { color:#000; text-decoration:underline; }


.products-list li { width:100%; overflow:hidden; border-bottom:1px solid #dcdcdc; padding:12px 0 12px 0; color:#4a4a4a; } .products-list li.last { border-bottom:none; margin-bottom:0; } .products-list li img { float:left; margin-right:30px; } .products-list li p { margin-bottom:12px; }


.banners { width:100%; overflow:hidden; padding:44px 0 0 0; } .banners li { float:left; background:url() no-repeat 100% 0; padding:0 22px 0 22px; } .banners li.last { background:none; padding-right:0; }


.testimonials li { text-align:right; padding-bottom:18px; } .testimonials li blockquote { text-align:left; }


/*===== footer =====*/

  1. footer {

font-size:10px; text-transform:uppercase; color:#4a4a4a; } #footer a { color:#fff; text-decoration:none; } #footer a:hover { text-decoration:underline; }


/*----- forms -----*/

  1. search-form {

position:absolute; width:190px; height:25px; right:57px; top:-2px; background:url(Search-bg.gif) no-repeat 0 0; } #search-form fieldset { border:none; } #search-form input.text { width:135px; border:none; background:none; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; font-size:13px; color:#7f7f7f; padding:0 0 6px 21px; font-style:italic; line-height:16px; } #search-form input.submit { border:none; background:none; width:33px; height:25px; cursor:pointer; }

  1. contacts-form fieldset {

border:none; } #contacts-form label { display:block; height:32px; overflow:hidden; } #contacts-form input { background:#fff; width:210px; padding:2px 5px 2px 6px; border:none; border:1px solid #e1e1e1; color:#7e7e7e; border-color:#303030 #cecece #e1e1e1 #585858; } #contacts-form textarea { width:210px; padding:2px 5px 2px 6px; height:104px; background:#fff; overflow:auto; border:1px solid #e1e1e1; border-color:#303030 #cecece #e1e1e1 #585858; color:#7e7e7e; margin-bottom:17px; } #contacts-form .link1 { float:right; margin-left:10px; }

/*==========================================*/