Template:Tsinghua

From 2010.igem.org

(Difference between revisions)
 
(183 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<style>
<style>
-
html{
 
-
    overflow-x: hidden;
 
-
}
 
-
 
*{
*{
     padding: 0;
     padding: 0;
Line 10: Line 6:
     color: #A43;
     color: #A43;
}
}
 +
#globalWrapper{
 +
    width: 1250px;
 +
    margin: 0 auto;
 +
    margin-top: -10px;
 +
}
 +
 +
#background{
 +
    width: 100%;
 +
    height: 100%;
 +
    postition: fixed;
 +
    top: 0;
 +
    left: 0;
 +
    z-index: 1;
 +
}
 +
body{
body{
-
    text-align:center; 
 
     font-family:Arial,sans-serif;
     font-family:Arial,sans-serif;
 +
    background: url(https://static.igem.org/mediawiki/2010/1/15/Thubg.png) repeat;
}
}
 +
h1,h2,h3,h4,h5,h6{
h1,h2,h3,h4,h5,h6{
Line 22: Line 34:
     border: none;
     border: none;
     background: transparent;
     background: transparent;
 +
    padding: 0;
 +
    margin: 0;
 +
}
 +
 +
a, a:hover{
 +
    text-decoration: none;
 +
}
 +
 +
h1{
 +
    border-bottom: #999 solid 5px;
}
}
Line 41: Line 63:
.headerpic{
.headerpic{
     top: 0;
     top: 0;
-
    left: 10%;
+
     width: 996px;
-
     width: 80%;
+
-
    margin: 0;
+
     padding: 0;
     padding: 0;
 +
    margin-left: 10%;
}
}
Line 53: Line 74:
     position: absolute;
     position: absolute;
}
}
 +
 +
#topbar{ width: 100%; height: 38px; margin-top: -4px; margin-bottom: -2px; clear: both;}
 +
#topbar #topbarul {padding: 0px; width: 1000px; margin-left: 10%; z-index: 5;}
 +
#topbar #topbarul li{ display: inline; float: left; margin: 0;}
 +
#topbar #topbarul li a{float: left; height: 0; padding-top: 39px; overflow: hidden; background-repeat: no-repeat; background-image: url(https://static.igem.org/mediawiki/2010/a/ad/Menubg.png); }
 +
 +
#topbar #topbarul li#nav-home a{background-position: 0 0; width: 120px; }
 +
#topbar #topbarul li#nav-team a{background-position: -121px 0px; width: 93px; }
 +
#topbar #topbarul li#nav-project a{background-position: -215px 0px; width: 138px; }
 +
#topbar #topbarul li#nav-experiment a{background-position: -353px 0px; width: 162px; }
 +
#topbar #topbarul li#nav-parts a{background-position: -516px 0px; width: 104px; }
 +
#topbar #topbarul li#nav-support a{background-position: -621px 0px; width: 130px; }
 +
#topbar #topbarul li#nav-human a{background-position: -751px 0px; width: 250px; }
 +
 +
#topbar #topbarul li#nav-home a:hover, #bd_home #topbar #topbarul #nav-home a{background-position: 0 -41px; width: 120px; }
 +
#topbar #topbarul li#nav-team a:hover, #bd_team #topbar #topbarul  #nav-team a{background-position: -121px -41px; width: 93px; }
 +
#topbar #topbarul li#nav-project a:hover, #bd_project #topbar #topbarul #nav-project a{background-position: -215px -41px; width: 138px; }
 +
#topbar #topbarul li#nav-experiment a:hover, #bd_experiment  #topbar #topbarul #nav-experiment a{background-position: -353px -41px; width: 162px; }
 +
#topbar #topbarul li#nav-parts a:hover, #bd_parts  #topbar #topbarul #nav-parts a{background-position: -516px -42px; width: 104px; }
 +
#topbar #topbarul li#nav-support a:hover, #bd_support  #topbar #topbarul #nav-support a{background-position: -621px -42px; width: 130px; }
 +
#topbar #topbarul li#nav-human a:hover, #bd_human  #topbar #topbarul #nav-human a{background-position: -751px -42px; width: 251px; }
 +
 +
#navbar{ width: 100%; height: 38px; clear: both;}
 +
#navbar #subnav {margin-left: 10%; margin-top: 0px; height: 23px; width: 995px; background-repeat: no-repeat; overflow: hidden; padding: 0px; background-image: url(https://static.igem.org/mediawiki/2010/1/18/Subnav.png); background-position: 2px 0px; float: none; z-index: 10; }
 +
#navbar #subnav li{ display: inline; float: left; }
 +
#navbar #subnav li a, #navbar #subnav li a:visited{float: left; color: white; font-family: Arial, Lucida, sans-serif; font-weight: bold; font-size: 12pt; text-decoration: none;}
 +
#navbar #subnav li a.nowat, #navbar #subnav li a:hover{color: yellow;}
 +
#navbar #subnav li a.subtitle { font-size: 8pt; }
 +
.left_gadget{
.left_gadget{
     margin: 30px 0px;
     margin: 30px 0px;
 +
    padding-top: 20px;
}
}
-
.left_gadget  p{
+
.left_gadget  h2{
-
     color: #55F;
+
     color: #A43;
     font-weight: bold;
     font-weight: bold;
-
     text-indent: 0;
+
    font-size: 15pt;
 +
     text-indent: 1pc;
 +
    overflow: visible;
}
}
.countdown{
.countdown{
-
     color: #F42;
+
    width: 100%;
 +
    height: 100%;
 +
    padding: 5px;
 +
    margin-top: 5px;
 +
    overflow: visible;
 +
    background: #a20;
 +
    -moz-border-radius: 4px;
 +
    -webkit-border-radius: 5px;
 +
}
 +
#counttitle{
 +
    margin: 7px;
 +
    margin-top: 2px !important; margin-top: -20px;
 +
    padding: 10px;
 +
    overflow: visible;
 +
    background: #bbd;
 +
     color: #e40;
 +
    font-size: 25pt;
     font-weight: bold;
     font-weight: bold;
-
}  
+
    text-align: center;
 +
    font-family: Vivaldi, 'Comic Sans MS', cursive;
 +
    -moz-border-radius: 4px;
 +
    -webkit-border-radius: 5px;
 +
}
 +
.countback{
 +
    margin: 8px;
 +
    background: #bbd;
 +
}
 +
.countstatic{
 +
    color: #a20;
 +
    font-size: 14pt;
 +
    font-weight: bold;
 +
    text-indent: 1pc;
 +
}
 +
.countdyna{
 +
    font-family: Vivaldi;
 +
    font-size: 25pt;
 +
    margin-right: 10px;
 +
}
 +
 
.link_ball{
.link_ball{
     margin-right: 5px;
     margin-right: 5px;
Line 94: Line 183:
}
}
div#menubar .selected a{
div#menubar .selected a{
-
     color: #2AF;
+
     color: yellow;
}
}
 +
div#menubar a{
 +
    color: #2CF;
 +
}
 +
.left-menu{
.left-menu{
-
     left: 50%;
+
     left: 680px;
     top: 0;
     top: 0;
}
}
Line 108: Line 201:
div#search-controls{
div#search-controls{
     position: absolute;
     position: absolute;
-
     top: 155px;
+
     top: 110px;
-
     right: 20%;
+
     right: 15%;
-
     width: 180px;
+
     width: 120px;
-
     height: 25px;
+
     height: 20px;
     z-index: 1000;
     z-index: 1000;
}
}
Line 117: Line 210:
     border: none;
     border: none;
     background: none;
     background: none;
-
     width: 140px;
+
     width: 90px;
     left: 25px;
     left: 25px;
     top: 0;
     top: 0;
-
     height: 25px;
+
     height: 20px;
     position: absolute;
     position: absolute;
-
    padding: 0px 5px !important; padding: 5px 5px 5px 5px;
 
     z-index: 1000;
     z-index: 1000;
}
}
Line 131: Line 223:
     border: none;
     border: none;
     background: none;
     background: none;
-
     width: 30px;
+
     width: 20px;
-
     height: 25px;
+
     height: 22px;
-
     left: 175px;
+
     left: 122px;
     line-height: 0;
     line-height: 0;
     font-size: 1px;
     font-size: 1px;
Line 153: Line 245:
#mastershow{
#mastershow{
     display: none;
     display: none;
-
}
 
-
 
-
 
-
#topbar img{
 
-
    position: absolute;
 
-
    left: 10%;
 
-
    width: 80%;
 
-
}
 
-
 
-
#topbarul li{
 
-
    float:left;
 
-
    border-right: 1px solid #666;
 
-
    border-left: 1px solid #555;
 
-
    margin-left: -1px;
 
-
    height: 100%;
 
-
    list-style: none;
 
-
}
 
-
 
-
#topbarul a{
 
-
    text-decoration: none;
 
-
    color: #233;
 
-
    dwidth: 96px;
 
-
    padding: 7px 20px;
 
-
    display:block;
 
-
    text-align: right;
 
-
    dfont-weight: bold;
 
-
    font-size: 0.9em;
 
-
    dtext-shadow: #271E0F 0 0 0;
 
-
    text-shadow: 1px 1px 1px #271E0F ;
 
-
    position: relative;
 
-
    -moz-border-radius: 4px;
 
-
    -webkit-border-radius: 5px;
 
-
}
 
-
#topbarul a span{
 
-
    display: block;
 
-
    padding: 0;
 
-
    position: relative;
 
-
    z-index: 10;
 
-
    color: #DCA;
 
-
}
 
-
 
-
 
-
 
-
#bd_home #ina-home .navmask,
 
-
#bd_background #ina-background .navmask,
 
-
#bd_project #ina-project .navmask,
 
-
#bd_team #ina-team .navmask,
 
-
#bd_exp #ina-record .navmask,
 
-
#bd_hum #ina-humanity .navmask,
 
-
#bd_sponsor #ina-sponsor .navmask,
 
-
#bd_parts #ina-parts .navmask
 
-
{
 
-
    display: block;
 
-
}
 
-
 
-
#bd_home #ina-home strong,
 
-
#bd_background #ina-background strong,
 
-
#bd_project #ina-project strong,
 
-
#bd_team #ina-team strong,
 
-
#bd_hum #ina-humanity strong,
 
-
#bd_exp #ina-record strong,
 
-
#bd_sponsor #ina-sponsor strong,
 
-
#bd_parts #ina-parts strong
 
-
{
 
-
    color: #eef;
 
-
}
 
-
 
-
#topbarul a strong{
 
-
    display: block;
 
-
    color: #455;
 
-
    font-size: 1.1em;
 
-
}
 
-
#topbarul{
 
-
    float:right;
 
-
    margin:0;
 
-
    padding:0;
 
-
    height: 100%;
 
-
}
 
-
#topbar{
 
-
    height: 70px;
 
-
    position:relative;
 
-
    text-align:center;
 
-
    margin: 0;
 
-
    left: auto;
 
-
}
 
-
 
-
.ieoverlay{display:none;}
 
-
 
-
#topbar1-center{
 
-
    height: 53px;
 
-
    dmargin: 0 auto;
 
-
    position: relative;
 
-
    dfloat: center;
 
-
    top: 0;
 
-
    margin-left: 10%;
 
-
    width: 880px;
 
-
    z-index: 5;
 
-
    padding: 0;
 
-
    -moz-border-radius: 4px;
 
-
    -webkit-border-radius: 5px;
 
-
}
 
-
 
-
.bannerpic{
 
-
    position: absolute;
 
-
    margin: 0;
 
-
    margin-left: 10%;
 
-
    height: 47px;
 
-
    width: 80%;
 
-
    z-index: 1;
 
-
    padding: 0;
 
-
}
 
-
 
-
.navmask{
 
-
    position: absolute;
 
-
    top: 0;
 
-
    left: 0;
 
-
    width: 100%;
 
-
    height: 100%;
 
-
    background-color: #222;
 
-
    opacity: 0.6;
 
-
    filter: alpha(opacity=60);
 
-
    display: none;
 
-
    border-bottom: none;
 
-
    border-right: 2px solid #ddd;
 
-
}
 
-
#topbarul a:hover .navmask{
 
-
    display:block
 
-
}
 
-
 
-
#topbarul a:hover strong{
 
-
    color: #eef;
 
}
}
#right_bar{
#right_bar{
     float: right;
     float: right;
-
     width: 15%;
+
     width: 18%;
-
     padding-right: 10%;
+
     padding-right: 7%;
 +
    paddint-top: 40px;
     position: relative;
     position: relative;
}
}
#leftbar{
#leftbar{
     float: left;
     float: left;
-
     width: 15;
+
     width: 17%;
     margin-left: 10%;
     margin-left: 10%;
     position: relative;
     position: relative;
-
    border-top: #A43 solid 5px;
 
}
}
Line 306: Line 267:
#leftbar li{
#leftbar li{
     padding: 5px 5px;
     padding: 5px 5px;
 +
}
 +
 +
#leftbar a{
 +
    color: #A43;
 +
    font-size: 12pt;
 +
    font-family: Arial, sans-serif;
 +
    padding: 3px 5px;
}
}
#main_content{
#main_content{
 +
    position: relative;
 +
    width: 60%;
 +
    margin-left: 10%;
 +
}
 +
#imain_content{
     position: relative;
     position: relative;
     width: 40%;
     width: 40%;
     margin-left: 30%;
     margin-left: 30%;
-
    border-top: #A43 solid 5px;
 
}
}
 +
#content_box{
#content_box{
     left: auto;
     left: auto;
     text-align: left;
     text-align: left;
}
}
 +
#main_content p{
#main_content p{
     margin: 0px 5px;
     margin: 0px 5px;
     text-indent: 1pc;
     text-indent: 1pc;
}
}
-
.intro-box{
+
 
-
    color: #222;
+
.wrapper{
-
     padding: 20px 5px 20px 5px;
+
     padding: 0px 0px 30px 0px;
-
    -moz-border-radius: 14px;
+
-
    -webkit-border-radius: 15px;
+
-
    border-bottom:2px solid #eee;
+
-
    border-right:2px solid #ddd;
+
-
    box-shadow:10px 10px 20px #222;
+
-
    -webkit-box-shadow:10px 10px 25px #222;
+
-
    -moz-box-shadow:10px 10px 20px #222;
+
-
    margin-bottom: 10px;
+
}
}
-
#intro-wwy{
+
 
-
     background: #FC7;
+
#leftpic{
-
     background: -webkit-gradient(linear, right top, left bottom, from(#fff) ,color-stop(0.20, #fbbf70), color-stop(0.73, #ffd255),to(#fdcfaa));
+
     float: left;
-
     background: -moz-linear-gradient(right top, #fff,#eba007 20%, #ffa200 73% ,#adaf32 95% ,#EA2 155%);  
+
     margin: 3px;
 +
    padding: 0;
 +
     width: auto;
 +
    height: auto;
}
}
-
#intro-SJW{
+
 
-
     background: #FAC;
+
.leftblock{
-
     background: -webkit-gradient(linear, right top, left bottom, from(#fff) ,color-stop(0.20, #fbA0bf), color-stop(0.73, #ff95d2),to(#fdbacd));
+
     width: 350px;
-
    background: -moz-linear-gradient(right top, #fff,#fbA0bf 20%, #ff95d2 73% ,#fdbacd 95% ,#FAC 155%);  
+
     float: left;
}
}
-
#intro-LYC{
+
 
-
     background: #FDA;
+
.rightblock{
-
     background: -webkit-gradient(linear, right top, left bottom, from(#fff) ,color-stop(0.20, #fbcfA0), color-stop(0.73, #ffe795),to(#fddcba));
+
     width: 350px;
-
    background: -moz-linear-gradient(right top, #fff,#fbcfA0 20%, #ffe795 73% ,#fddcba 95% ,#FDA 155%);  
+
     margin-left: 380px;
}
}
-
#intro-ZY{
+
      
-
     background: #FDF;
+
.content_block{
-
    background: -webkit-gradient(linear, right top, left bottom, from(#fff) ,color-stop(0.20, #fbcff0), color-stop(0.73, #ffe7e5),to(#fddcfa));
+
     background: white;
-
    background: -moz-linear-gradient(right top, #fff,#fbcff0 20%, #ffe7e5 73% ,#fddcfa 95% ,#FDF 155%);
+
     margin: -10px 0px 25px 0px;
-
}
+
     padding: 12px 12px 30px 12px;
-
#intro-GX{
+
     -moz-border-radius: 4px;
-
     background: #FEE;
+
     -webkit-border-radius: 5px;
-
     background: -webkit-gradient(linear, right top, left bottom, from(#fff) ,color-stop(0.20, #fbdfe0), color-stop(0.73, #ffffe0),to(#fdecea));
+
-
     background: -moz-linear-gradient(right top, #fff,#fbdfe0 20%, #ffffe0 73% ,#fdecea 95% ,#FEE 155%);  
+
-
}
+
-
#intro-hsc{
+
-
     background: #DEE;
+
-
    background: -webkit-gradient(linear, right top, left bottom, from(#fff) ,color-stop(0.20, #fbdfe0), color-stop(0.73, #ffffe0),to(#fdecea));
+
-
    background: -moz-linear-gradient(right top, #fff,#fbdfe0 20%, #ffffe0 73% ,#fdecea 95% ,#FEE 155%);
+
-
}
+
-
#intro-YFW{
+
-
    background: #CFA;
+
-
     background: -webkit-gradient(linear, right top, left bottom, from(#fff) ,color-stop(0.20, #bffbA0), color-stop(0.73, #d2ff95),to(#cdfdba));
+
-
    background: -moz-linear-gradient(right top, #fff,#bffbA0 20%, #d2ff95 73% ,#cdfdba 95% ,#CFA 155%);
+
-
}
+
-
#intro-YLM{
+
-
    background: #CAF;
+
-
    background: -webkit-gradient(linear, right top, left bottom, from(#fff) ,color-stop(0.20, #bfA0fb), color-stop(0.73, #d295ff),to(#cdbafd));
+
-
    background: -moz-linear-gradient(right top, #fff,#bfa0fb 20%, #d295ff 73% ,#cdbafd 95% ,#CAF 155%);  
+
}
}
-
#intro-zyx{
+
.content_block a{
-
     background: #DEF;
+
     color: #A43;
-
     background: -webkit-gradient(linear, right top, left bottom, from(#fff) ,color-stop(0.20, #BDE), color-stop(0.73, #CDF),color-stop(0.95, #adfaFF), to(#DEF));
+
     font-weight: bold;
-
    background: -moz-linear-gradient(right top, #fff,#70BBDD 20%, #cdf 73% ,#fdafff 95% ,#dFf 155%);  
+
-
 
+
}
}
-
#intro-lt{
 
-
    background: #EFD;
 
-
    background: -webkit-gradient(linear, right bottom, left top, from(#fff) ,color-stop(0.20, #DEB), color-stop(0.73, #DFC),color-stop(0.95, #faFFad), to(#EFD));
 
-
    background: -moz-linear-gradient(right bottom, #fff,#DEB 20%, #DFC 73% ,#faffad 95% ,#EFD 155%);
 
 +
.content_block a:hover{
 +
    color: #F81;
}
}
-
#intro-lxm{
 
-
    background: #DCF;
 
-
    background: -webkit-gradient(linear, right bottom, left top, from(#fff) ,color-stop(0.20, #EFB), color-stop(0.73, #CDF),color-stop(0.95, #EDE), to(#DCF));
 
-
    background: -moz-linear-gradient(right bottom, #fff,#EFB 20%, #CDF 73% ,#EDE 95% ,#DCF 155%);
 
 +
#imain_content .content_block span{
 +
    float: right;
}
}
-
#intro-HDY{
 
-
    background: #DFF;
 
-
    background: -webkit-gradient(linear, right bottom, left top, from(#fff) ,color-stop(0.20, #BEF), color-stop(0.73, #CDF),color-stop(0.95, #DEE), to(#DEF));
 
-
    background: -moz-linear-gradient(right bottom, #fff,#BEF 20%, #CDF 73% ,#DEE 95% ,#DEF 155%);
 
 +
#imain_content .content_block img, #leftbar .content_block img{
 +
    width: 50px;
 +
    height: 35px;
}
}
-
#intro-list{
+
 
-
    list-style: none;
+
-
    text-align: left;
+
-
}
+
-
#intro-list span{
+
-
    color: #28B;   
+
-
    font-weight: bold;
+
-
    padding: 5px 10px;
+
-
}
+
tr.heading{
tr.heading{
     color: #AFE;
     color: #AFE;
     font-weight: bold;
     font-weight: bold;
     text-indent: 1pc;
     text-indent: 1pc;
-
     background: #FAC;
+
     background: #A20;
-
     background: -webkit-gradient(linear, right top, left bottom, from(#f4d) ,color-stop(0.20, #fbA0bf), color-stop(0.73, #ff95d2),to(#fdbacd));
+
     background: -webkit-gradient(linear, right top, left bottom, from(#d41) ,color-stop(0.20, #fb3), color-stop(0.73, #a20),to(#a40));
-
     background: -moz-linear-gradient(right top, #f4d, #fbA0bf 20%, #ff95d2 73% ,#fdbacd 95% ,#FAC 155%);  
+
     background: -moz-linear-gradient(right top, #d41, #fb3 20%, #a20 73%, #A40 155%);  
}
}
img.smalllink{
img.smalllink{
Line 438: Line 375:
     margin: 20px;
     margin: 20px;
}
}
-
span{
+
.toc, div#content{
-
    color: #25B;
+
     background: transparent;
-
}
+
-
td, .toc, div#content{
+
-
     background: #EEE;
+
     color: #000;
     color: #000;
     border: none;
     border: none;

Latest revision as of 16:45, 27 October 2010