YuhangYang (Talk | contribs) |
|||
(31 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | body{ min-width: | + | body{ min-width: 1024px; min-height: 489px; position: relative;} |
− | .SSTi-SZGD{ background: url(https://static.igem.org/mediawiki/2017/ | + | .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;} |
− | /* | + | /*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;} | ||
− | |||
− | |||
− | |||
/*Content*/ | /*Content*/ | ||
− | .Content{ background: | + | .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(https://static.igem.org/mediawiki/2017/8/81/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(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--*/ |
− | . | + | @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;} | ||
+ | } |
Latest revision as of 04:22, 30 October 2017
body{ min-width: 1024px; min-height: 489px; position: relative;}
.SSTi-SZGD{ background: url() 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() 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() 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() 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() 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() 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;} }