Team:BIT-China/all.css
From 2014.igem.org
Line 7: | Line 7: | ||
body{ | body{ | ||
background-color:#338FC4; | background-color:#338FC4; | ||
- | background-image:url(https://static.igem.org/mediawiki/2014/5/58/BIT-CHINA_Shade20 | + | background-image:url(https://static.igem.org/mediawiki/2014/5/58/BIT-CHINA_Shade20.png); |
} | } |
Revision as of 12:42, 13 October 2014
@charset "utf-8"; /* CSS Document */
- {
padding:0px; margin:0px; } body{ background-color:#338FC4; background-image:url();
}
- maincontent{
position:absolute; left:203px; width:960px; border:0px #00FF00 solid; }
- header{
width:960px; height:105px; border:0px #003300 solid; background-image:url(); }
- second_head{
width:960px; height:190px; background-color:rgba(116,187,227,1); top:65px; position:absolute; z-index:-10; }
- content0{
width:950px; border-left:5px #74BBE3 solid; border-right:5px #74BBE3 solid; z-index:-10; }
- content{
width:99.4%; padding-top:5px; padding-bottom:20px; min-height:1200px; background:rgba(116,187,227,1); margin:0 auto; z-index:-10; } .essay_pic{ width:400px; } .essay{ width:90%; background-color:rgba(255,255,255,0.7); border-radius:40px; aborder-bottom:1px #CCCCCC solid; margin:0 auto;; padding:0px; } .essay_title{ font-size:45px; font-weight:bold; font-family:Arial, Helvetica, sans-serif; padding:0px 20px; height:70px; line-height:70px; wbackground-image:url(); border-bottom:1px #CCCCCC solid; z-index:-10000; opacity:0.8; margin:30px auto 10px auto; } .essay_content{ abackground-color:#6CF; font-size:21px; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; padding:20px 30px 50px 30px;
}
- footer{
width:960px; height:71px; position:relative; top:-71px; background:url() no-repeat; }
- detail{
width:100%; height:100px; background-color:rgb(234,233,233); position:relative; top:-50px; }
- nav{
width:350px; abackground-color:rgba(51,51,51,0.3); position:relative; top:44px; left:29px; z-index:999; }
- nav ul{
border:0px #FFFFFF solid; height:40px; list-style:none; }
- nav li{
width:40px; height:80px; margin:0 22px; abackground-color:rgba(0,0,0,0.1); float:left; position:relative; top:0px; -webkit-transition:all 0.2s linear; -ms-transition:all 0.2s linear; -o-transition:all 0.2s linear; -moz-transition:all 0.2s linear; transition:all 0.2s linear; }
- nav ul li:hover {
cursor:pointer; top:50px; }
- nav1{
width:350px; abackground-color:rgba(51,51,51,0.3); position:relative; top:5px; left:594px; z-index:999; }
- nav1 ul{
border:0px #FFFFFF solid; height:40px; list-style:none; }
- nav1 li{
width:40px; height:80px; margin:0 22px; abackground-color:rgba(0,0,0,0.1); float:left; position:relative; top:-40px; -webkit-transition:all 0.2s linear; -ms-transition:all 0.2s linear; -o-transition:all 0.2s linear; -moz-transition:all 0.2s linear; transition:all 0.2s linear; }
- nav1 ul li:hover {
cursor:pointer; top:10px; } .daohang{ width:960px; height:150px; background:url() no-repeat; border:0px #00CC00 solid; z-index:999; }
- left{
position:absolute; aleft:140px; left:-55px; top:280px; z-index:100000; } .sidenav{ list-style:none; border:0px #00FF00 solid; position:relative; left:0px; } .sidenav li{ width:180px; height:50px; line-height:50px; border:0px #999999 dashed; position:relative; left:0px; -webkit-transition:all 0.2s linear; -ms-transition:all 0.2s linear; -o-transition:all 0.2s linear; -moz-transition:all 0.2s linear; transition:all 0.2s linear;
} .sidenav a{ position:relative; left:0px; text-decoration:none; display:block; color:#003b66; font-size:18px; font-family:Impact; text-align:left; -webkit-transition:all 0.2s linear; -ms-transition:all 0.2s linear; -o-transition:all 0.2s linear; -moz-transition:all 0.2s linear; transition:all 0.2s linear; } .sidenav a:first-letter{ acolor:rgba(0,59,102,0.8); line-height:50px; font-size:25px; text-align:center; padding:0px 0px 0px 11px; margin-right:6px; letter-spacing:11px; border:5px #003b66 solid; border-radius:90px; background-color:rgba(255,255,255,0.8); } .sidenav span:not(hover){ opacity:0; } .sidenav li:hover span{ opacity:1; } .sidenav li:hover{ background-color:rgba(255,255,255,0.5); border-radius:90px; opacity:1; left:-130px; }