YuhangYang (Talk | contribs) |
YuhangYang (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | body{ min-width: 1024px; min-height: | + | 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/2/2e/SSTi-SZGD_Safety_banner.png) no-repeat top center; padding-top: 15px; max-height: 910px;} |
/*custom header*/ | /*custom header*/ | ||
Line 7: | Line 7: | ||
/*Content*/ | /*Content*/ | ||
− | .Content{ width: 100% | + | .Content{ background: cornsilk; width: 100%; padding: 80px 0; text-align: justify; font-size: 2rem;} |
− | + | .Content .introduction{ font-size: 4rem; width: 1200px; margin: auto; line-height: 58px;} | |
− | + | .Content .Title{ font-size: 4rem; color: white; background: #52ef1b; width: 800px; height: 90px; padding: 15px 25px;} | |
− | .Content . | + | .Content .title{ font-size: 2.5rem; font-weight: 600;} |
− | + | .Content .Headline{ font-size: 2.5rem; color: white; background: #a8f37b; width: 975px; padding: 8px 10px;} | |
− | + | ||
− | + | ||
− | .Content . | + | |
− | .Content . | + | |
− | .Content . | + | |
− | + | ||
− | + | ||
.Content .left{ float: left;} | .Content .left{ float: left;} | ||
.Content .right{ float: right;} | .Content .right{ float: right;} | ||
− | . | + | .Content .left p,.Content .right p{ line-height: 37.5px;} |
− | . | + | .Content img{ width: inherit;} |
− | .Laboratory | + | |
− | .Laboratory . | + | .Laboratory{ width: 1360px; height: 1270px; margin: auto; margin-top: 30px;} |
− | .Laboratory .img{ | + | .Laboratory .left{ width: 680px; height: 1070px;} |
− | .Laboratory . | + | .Laboratory .left img{ width: 650px; float: right; margin-top: 10px;} |
− | .Laboratory . | + | .Laboratory .right{ width: 640px; height: 1070px; padding-top: 35px;} |
+ | .Laboratory .right .title{ margin-top: 70px; margin-left: 20px;} | ||
+ | .Laboratory .right p:nth-last-of-type(1){ width: 565px; margin-left: 20px;} | ||
+ | .Laboratory .bottom{ float: left; margin-left: 50px; line-height: 37.5px;} | ||
+ | |||
+ | .Overall{ width: 1360px; height: 400px; margin: auto; font-size: 1.6rem;} | ||
+ | .Overall p:nth-last-of-type(1){ width: 1100px; margin-left: 65px; margin-top: 20px; line-height: 37.5px;} | ||
+ | |||
+ | .Environment{ width: 1360px; height: 900px; margin: auto;} | ||
+ | .Environment .Title{ width: 450px;} | ||
+ | .Environment .left{ width: 800px; margin-left: 35px; margin-top: 30px;} | ||
+ | .Environment .right{ width: 470px; padding-top: 40px; margin-right: 30px;} | ||
+ | .Environment .img{ float: left; margin-left: 35px; margin-top: 80px; height: 270px;} | ||
+ | .Environment .img img{ height: inherit; float: left;} | ||
+ | .Environment .img img:nth-of-type(2){ margin: 0 25px;} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/*--1366--*/ | /*--1366--*/ | ||
@media only screen and (max-width: 1366px) { | @media only screen and (max-width: 1366px) { | ||
− | + | .Content{ font-size: 1.4rem;} | |
− | . | + | .Content .introduction{ font-size: 2.9rem; width: 835px; line-height: 41.5px;} |
− | . | + | .Content .Title{ font-size: 2.9rem; width: 570px; height: 65px;} |
− | . | + | .Content .title{ font-size: 1.7rem;} |
− | . | + | .Content .Headline{ font-size: 1.7rem; width: 695px;} |
− | .Laboratory . | + | .Content .left p,.Content .right p{ line-height: 26.5px;} |
− | .Laboratory .bottom{ height: | + | .Laboratory{ width: 1000px; height: 920px;} |
+ | .Laboratory .left{ width: 490px; height: 770px;} | ||
+ | .Laboratory .left img{ width: 460px;} | ||
+ | .Laboratory .right{ width: 490px; height: 770px; padding-top: 20px;} | ||
+ | .Laboratory .right .title{ margin-top: 35px;} | ||
+ | .Laboratory .right p:nth-last-of-type(1){ width: 400px;} | ||
+ | .Laboratory .bottom{ float: left; margin-left: 50px; line-height: 37.5px;} | ||
+ | .Overall{ width: 1000px; height: 300px; font-size: 1.1rem;} | ||
+ | .Overall p:nth-last-of-type(1){ width: 785px; line-height: 26.5px;} | ||
+ | .Environment{ width: 1000px; height: 700px;} | ||
+ | .Environment .Title{ width: 325px;} | ||
+ | .Environment .left{ width: 590px;} | ||
+ | .Environment .right{ width: 335px;} | ||
+ | .Environment .img{ height: 190px;} | ||
+ | /*.Environment .img img:nth-of-type(2){ margin: 0 25px;}*/ | ||
} | } | ||
/*--1190--*/ | /*--1190--*/ | ||
@media only screen and (max-width: 1190px) { | @media only screen and (max-width: 1190px) { | ||
− | html{ font-size: | + | html{ font-size: 50%;} |
− | .header . | + | .header .logo span{ margin: 15px 0;} |
.header .nav .Project{ width: 100px;} | .header .nav .Project{ width: 100px;} | ||
− | .header .nav .Application{ width: | + | .header .nav .Application{ width: 100px;} |
− | .header .nav .Human_Practices{ width: | + | .header .nav .Human_Practices{ width: 140px;} |
.header .nav .Achievement{ width: 120px;} | .header .nav .Achievement{ width: 120px;} | ||
− | .header .nav .mainnav span{ padding-top: | + | .header .nav .Team{ width: 95px;} |
− | + | .header .nav .mainnav span{ padding-top: 8.5px; margin-bottom: 21px;} | |
} | } |
Revision as of 12:59, 23 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(6) a{ color: #FAEE0D;}
/*Content*/ .Content{ background: cornsilk; width: 100%; padding: 80px 0; text-align: justify; font-size: 2rem;} .Content .introduction{ font-size: 4rem; width: 1200px; margin: auto; line-height: 58px;} .Content .Title{ font-size: 4rem; color: white; background: #52ef1b; width: 800px; height: 90px; padding: 15px 25px;} .Content .title{ font-size: 2.5rem; font-weight: 600;} .Content .Headline{ font-size: 2.5rem; color: white; background: #a8f37b; width: 975px; padding: 8px 10px;} .Content .left{ float: left;} .Content .right{ float: right;} .Content .left p,.Content .right p{ line-height: 37.5px;} .Content img{ width: inherit;}
.Laboratory{ width: 1360px; height: 1270px; margin: auto; margin-top: 30px;} .Laboratory .left{ width: 680px; height: 1070px;} .Laboratory .left img{ width: 650px; float: right; margin-top: 10px;} .Laboratory .right{ width: 640px; height: 1070px; padding-top: 35px;} .Laboratory .right .title{ margin-top: 70px; margin-left: 20px;} .Laboratory .right p:nth-last-of-type(1){ width: 565px; margin-left: 20px;} .Laboratory .bottom{ float: left; margin-left: 50px; line-height: 37.5px;}
.Overall{ width: 1360px; height: 400px; margin: auto; font-size: 1.6rem;} .Overall p:nth-last-of-type(1){ width: 1100px; margin-left: 65px; margin-top: 20px; line-height: 37.5px;}
.Environment{ width: 1360px; height: 900px; margin: auto;} .Environment .Title{ width: 450px;} .Environment .left{ width: 800px; margin-left: 35px; margin-top: 30px;} .Environment .right{ width: 470px; padding-top: 40px; margin-right: 30px;} .Environment .img{ float: left; margin-left: 35px; margin-top: 80px; height: 270px;} .Environment .img img{ height: inherit; float: left;} .Environment .img img:nth-of-type(2){ margin: 0 25px;}
/*--1366--*/ @media only screen and (max-width: 1366px) { .Content{ font-size: 1.4rem;} .Content .introduction{ font-size: 2.9rem; width: 835px; line-height: 41.5px;} .Content .Title{ font-size: 2.9rem; width: 570px; height: 65px;} .Content .title{ font-size: 1.7rem;} .Content .Headline{ font-size: 1.7rem; width: 695px;} .Content .left p,.Content .right p{ line-height: 26.5px;} .Laboratory{ width: 1000px; height: 920px;} .Laboratory .left{ width: 490px; height: 770px;} .Laboratory .left img{ width: 460px;} .Laboratory .right{ width: 490px; height: 770px; padding-top: 20px;} .Laboratory .right .title{ margin-top: 35px;} .Laboratory .right p:nth-last-of-type(1){ width: 400px;} .Laboratory .bottom{ float: left; margin-left: 50px; line-height: 37.5px;} .Overall{ width: 1000px; height: 300px; font-size: 1.1rem;} .Overall p:nth-last-of-type(1){ width: 785px; line-height: 26.5px;} .Environment{ width: 1000px; height: 700px;} .Environment .Title{ width: 325px;} .Environment .left{ width: 590px;} .Environment .right{ width: 335px;} .Environment .img{ height: 190px;} /*.Environment .img img:nth-of-type(2){ margin: 0 25px;}*/ }
/*--1190--*/ @media only screen and (max-width: 1190px) { html{ font-size: 50%;} .header .logo span{ margin: 15px 0;} .header .nav .Project{ width: 100px;} .header .nav .Application{ width: 100px;} .header .nav .Human_Practices{ width: 140px;} .header .nav .Achievement{ width: 120px;} .header .nav .Team{ width: 95px;} .header .nav .mainnav span{ padding-top: 8.5px; margin-bottom: 21px;} }