Difference between revisions of "Team:SSTi-SZGD/css/Description"

 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
body{ min-width: 1024px; min-height: 465px; position: relative;}
+
body{ min-width: 1024px; min-height: 489px; position: relative;}
 
 
.SSTi-SZGD{ background: url(https://static.igem.org/mediawiki/2017/3/3d/SSTi-SZGD_banner.jpeg) no-repeat 0px 0px; height: 465px; background-size: cover; padding-top: 15px;}
+
.SSTi-SZGD{ background: url(https://static.igem.org/mediawiki/2017/4/48/SSTi-SZGD_Description_Description_banner.png) no-repeat top center; padding-top: 15px; max-height: 910px;}
  
/*自定义header*/
+
/*custom header*/
 
.header .nav .Project span,.header .nav .Project li:nth-of-type(1) a{ color: #FAEE0D;}
 
.header .nav .Project span,.header .nav .Project li:nth-of-type(1) a{ color: #FAEE0D;}
 
.topic{ position: absolute; margin: 10% auto; left: 0; right: 0; text-align: center; font-size: 5rem; color: white;}
 
.topic p{ width: 58.28%; padding: 30px; border-top: 5px solid white; border-bottom: 5px solid white; margin: auto;}
 
  
 
/*Content*/
 
/*Content*/
.Content{ background: cornsilk; width: 100%; height: 990px;}
+
.Content{ background: white; width: 100%; padding: 80px 0; text-align: justify; font-size: 2rem;font-family: "Arial Regular";font-weight: bold;}
.Project_Introduction{ padding: 60px 0; text-align: justify; display: none; width: 1100px; margin: auto;}
+
.Content .title{ padding: 20px 0 45px 35px; color: white; font-size: 3.75rem; line-height: 75px;}
.Project_Introduction .title{ font-size: 2.8rem; color: black; margin-bottom: 25px; font-weight: bold;}
+
.Content .left{ float: left;}
.Project_Introduction .top{ margin-bottom: 20px; height: 340px;}
+
.Content .right{ float: right;}
.Project_Introduction .top .img{ height: inherit; width: 48%; float: left; background: url(https://static.igem.org/mediawiki/2017/5/59/SSTi-SZGD_background_Project_Introduction.png) no-repeat center;}
+
.Content .left p,.Content .right p{ line-height: 28px;}
.Project_Introduction .top .content{ width: 48%; float: right;}
+
.Content img{ width: inherit;}
.Project_Introduction .top .content p{ color: #555; font-size: 1.8rem; margin-top: 35px; line-height: 2.5rem;}
+
  
.Project_Introduction .bottom{ margin-bottom: 20px; height: 350px;}
+
.Need{ width: 1360px; margin: auto; height: 770px;}
.Project_Introduction .bottom .img{ width: 48%; height: inherit; float: right; background: url(https://static.igem.org/mediawiki/2017/0/02/SSTi-SZGD_background_Project_Introduction2.png) no-repeat center; margin-top: 70px;}
+
.Need .title{ background: url(https://static.igem.org/mediawiki/2017/8/81/SSTi-SZGD_Description_Need_DialogBox.png) no-repeat left center; background-size: contain; width: 949px;}
.Project_Introduction .bottom .content{ width: 48%; float: left;}
+
.Need p:nth-last-of-type(1){ line-height: 28px; margin-top: 30px;}
.Project_Introduction .bottom .content p{ color: #555; font-size: 1.8rem; margin-top: 35px; line-height: 2.5rem; list-style: none; text-decoration: none;}
+
.Need img{ margin-top: 55px;}
  
 +
.Will{ width: 1360px; margin: auto; height: 520px;}
 +
.Will .title{ background: url(https://static.igem.org/mediawiki/2017/b/b3/SSTi-SZGD_Description_Will_DialogBox.png) no-repeat left center; background-size: contain; width: 548px; padding-top: 57px; padding-bottom: 47px;}
 +
.Will .left{ width: 730px; margin-top: 15px; margin-left: 15px; margin-right: 20px;}
 +
.Will .right{ width: 580px; margin-right: 10px;}
  
 +
.Do{ width: 1360px; margin: auto; height: 1110px;}
 +
.Do .title{ float: left; background: url(https://static.igem.org/mediawiki/2017/a/a6/SSTi-SZGD_Description_Do_DialogBox.png) no-repeat left center; background-size: contain; width: 817px; padding-top: 53px; padding-bottom: 47px;}
 +
.Do .left{ width: 621px; margin-top: 50px; margin-left: 30px; margin-right: 25px;}
 +
.Do .right{ width: 600px; margin-top: 50px; margin-left: 10px; margin-right: 50px;}
 +
.Do .Headline{ font-size: 2.8rem; background: url(https://static.igem.org/mediawiki/2017/a/a2/SSTi-SZGD_Description_Do_HeadlineDialogBox.png) no-repeat left center; padding: 20px; background-size: contain; margin: auto;}
 +
.Do .left .Headline{ width: 235px;}
 +
.Do .right .Headline{ width: 267px;}
 +
.Do .Headline span{ margin-left: 45px; font-weight: 600; line-height: 43px;}
 +
.Do .left img{ margin-top: 35px;}
 +
.Do .subtitle{background: url(https://static.igem.org/mediawiki/2017/9/98/SSTi-SZGD_Description_Do_disc.png) no-repeat left center; margin-left: 20px; padding-left: 30px; font-weight: 600;}
  
 
+
/*--1920px--*/
/*兼容*/
+
/*--1920--*/
+
 
@media only screen and (max-width: 1920px) {
 
@media only screen and (max-width: 1920px) {
.header .logo span{ margin-top: 17px;}
+
.Content{ font-size: 13px;}
.header .nav .mainnav span{ padding-top: 6px; margin-bottom: 18.5px;}
+
.Content .title{ font-size: 29px; padding: 20px 0 40px 35px;}
}
+
.Content .left p,.Content .right p{ line-height: 26.5px;}
 
+
.Need{ width: 1000px; height: 625px;}
/*--1190--*/
+
.Need .title{ width: 677px;}
@media only screen and (max-width: 1190px) {
+
.Need p:nth-last-of-type(1){ margin-top: 0;}
html{ font-size: 52%;}
+
.Need img{ margin-top: 30px;}
.header .nav .Team{ width: 100px;}
+
.Will{ width: 1000px; height: 450px;}
.header .nav .Project{ width: 90px;}
+
.Will .title{ width: 390px; padding-top: 57px; padding-bottom: 47px;}
.header .nav .Parts{ width: 115px;}
+
.Will .left{ width: 525px; margin-top: 0;}
.header .nav .Human_Practices{ width: 135px;}
+
.Will .right{ width: 430px; margin-top: 0px;}
.header .nav .Awards{ width: 120px;}
+
.Do{ width: 1000px; height: 805px;}
.header .nav .mainnav span{ margin-bottom: 22.5px; padding-top: 6px;}
+
.Do .title{ width: 585px; padding: 35px 0 35px 35px;}
}
+
.Do .left{ width: 455px; margin-top: 0px;}
 
+
.Do .right{ width: 430px; margin-top: 0px;}
/*--1024--*/
+
.Do .Headline{ font-size: 2rem; padding: 10px 20px}
@media only screen and (max-width: 1024px) {
+
.Do .left .Headline{ width: 169px;}
.Project_Introduction{ width: 900px;}
+
.Do .right .Headline{ width: 191px;}
.Project_Introduction .top .content p{ margin-top: 20px;}
+
.Do .Headline span{ margin-left: 30px;}
.Project_Introduction .bottom .img{ margin-top: 65px;}
+
.Do .left img{ width: 430px; margin-left: 15px;}
 +
.Do .subtitle{ font-size: 1.5rem;}
 
}
 
}

Latest revision as of 04:22, 30 October 2017

body{ min-width: 1024px; min-height: 489px; position: relative;}

.SSTi-SZGD{ background: url(SSTi-SZGD_Description_Description_banner.png) no-repeat top center; padding-top: 15px; max-height: 910px;}

/*custom header*/ .header .nav .Project span,.header .nav .Project li:nth-of-type(1) a{ color: #FAEE0D;}

/*Content*/ .Content{ background: white; width: 100%; padding: 80px 0; text-align: justify; font-size: 2rem;font-family: "Arial Regular";font-weight: bold;} .Content .title{ padding: 20px 0 45px 35px; color: white; font-size: 3.75rem; line-height: 75px;} .Content .left{ float: left;} .Content .right{ float: right;} .Content .left p,.Content .right p{ line-height: 28px;} .Content img{ width: inherit;}

.Need{ width: 1360px; margin: auto; height: 770px;} .Need .title{ background: url(SSTi-SZGD_Description_Need_DialogBox.png) no-repeat left center; background-size: contain; width: 949px;} .Need p:nth-last-of-type(1){ line-height: 28px; margin-top: 30px;} .Need img{ margin-top: 55px;}

.Will{ width: 1360px; margin: auto; height: 520px;} .Will .title{ background: url(SSTi-SZGD_Description_Will_DialogBox.png) no-repeat left center; background-size: contain; width: 548px; padding-top: 57px; padding-bottom: 47px;} .Will .left{ width: 730px; margin-top: 15px; margin-left: 15px; margin-right: 20px;} .Will .right{ width: 580px; margin-right: 10px;}

.Do{ width: 1360px; margin: auto; height: 1110px;} .Do .title{ float: left; background: url(SSTi-SZGD_Description_Do_DialogBox.png) no-repeat left center; background-size: contain; width: 817px; padding-top: 53px; padding-bottom: 47px;} .Do .left{ width: 621px; margin-top: 50px; margin-left: 30px; margin-right: 25px;} .Do .right{ width: 600px; margin-top: 50px; margin-left: 10px; margin-right: 50px;} .Do .Headline{ font-size: 2.8rem; background: url(SSTi-SZGD_Description_Do_HeadlineDialogBox.png) no-repeat left center; padding: 20px; background-size: contain; margin: auto;} .Do .left .Headline{ width: 235px;} .Do .right .Headline{ width: 267px;} .Do .Headline span{ margin-left: 45px; font-weight: 600; line-height: 43px;} .Do .left img{ margin-top: 35px;} .Do .subtitle{background: url(SSTi-SZGD_Description_Do_disc.png) no-repeat left center; margin-left: 20px; padding-left: 30px; font-weight: 600;}

/*--1920px--*/ @media only screen and (max-width: 1920px) { .Content{ font-size: 13px;} .Content .title{ font-size: 29px; padding: 20px 0 40px 35px;} .Content .left p,.Content .right p{ line-height: 26.5px;} .Need{ width: 1000px; height: 625px;} .Need .title{ width: 677px;} .Need p:nth-last-of-type(1){ margin-top: 0;} .Need img{ margin-top: 30px;} .Will{ width: 1000px; height: 450px;} .Will .title{ width: 390px; padding-top: 57px; padding-bottom: 47px;} .Will .left{ width: 525px; margin-top: 0;} .Will .right{ width: 430px; margin-top: 0px;} .Do{ width: 1000px; height: 805px;} .Do .title{ width: 585px; padding: 35px 0 35px 35px;} .Do .left{ width: 455px; margin-top: 0px;} .Do .right{ width: 430px; margin-top: 0px;} .Do .Headline{ font-size: 2rem; padding: 10px 20px} .Do .left .Headline{ width: 169px;} .Do .right .Headline{ width: 191px;} .Do .Headline span{ margin-left: 30px;} .Do .left img{ width: 430px; margin-left: 15px;} .Do .subtitle{ font-size: 1.5rem;} }