YuhangYang (Talk | contribs) |
YuhangYang (Talk | contribs) |
||
Line 7: | Line 7: | ||
/*Content*/ | /*Content*/ | ||
− | .Content{ width: 100%; background: cornsilk; padding: | + | .Content{ width: 100%; background: cornsilk; padding: 50px 0; padding-bottom: 100px; font-size: 2rem; text-align: justify;} |
− | .Safety{ width: | + | .Safety,.Laboratory,.Environment{ width: 1400px; margin: auto; margin-bottom: 60px; font-size: 2.2rem;} |
− | .Safety p | + | .Safety p{ margin: 40px 0;} |
− | + | .Content .content{ margin: 10px 0; width: 100%;} | |
− | + | .Content p{ margin-top: 20px;} | |
− | + | .Content .img{ width: 1000px; margin: auto;} | |
− | .Content .content{ margin | + | .Content img{ border-radius: 10px; float: left; box-shadow:2px 2px 3px #aaaaaa;} |
− | .Content | + | .Content .title{ font-size: 6rem; font-weight: 600; color: #394c53; letter-spacing: 2px; text-align: center; margin-bottom: 50px;} |
− | .Content . | + | .Content .Title{ font-size: 2.8rem; font-weight: 600; margin-top: 40px;} |
− | + | .Content .Subtitle{ margin-top: 30px; margin-bottom: 20px;} | |
− | .Content img{ | + | .Content .Subtitle span{ border-bottom: 1px solid #666; padding-bottom: 5px;} |
− | .Content . | + | |
− | + | ||
− | + | ||
− | + | ||
− | .Content . | + | |
− | + | ||
− | .Content . | + | |
− | .Content . | + | |
− | + | ||
+ | .Content .left{ float: left;} | ||
+ | .Content .right{ float: right;} | ||
+ | .Laboratory .left{ width: 60%;} | ||
+ | .Laboratory .right{ width: 35%;} | ||
+ | .Laboratory img{ height: inherit; margin: 0 10px; box-shadow:2px 2px 3px #aaaaaa;} | ||
+ | .Laboratory .top{ height: 480px;} | ||
+ | .Laboratory .img{ height: 350px;} | ||
+ | .Laboratory .bottom{ height: 370px; margin-top: 60px;} | ||
+ | .Laboratory .img:nth-last-of-type(1){ height: 320px !important;} | ||
+ | .Environment{ height: 450px;} | ||
+ | .Environment .left{ width: 40%;} | ||
+ | .Environment .right{ width: 55%;} | ||
+ | .Environment img{ width: 100%;} | ||
/*--1920--*/ | /*--1920--*/ | ||
Line 34: | Line 38: | ||
.header .nav .mainnav span{ padding-top: 6px; margin-bottom: 18.5px;} | .header .nav .mainnav span{ padding-top: 6px; margin-bottom: 18.5px;} | ||
.topic p{ font-size: 5.5rem;} | .topic p{ font-size: 5.5rem;} | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | |||
/*--1600--*/ | /*--1600--*/ | ||
@media only screen and (max-width: 1600px) { | @media only screen and (max-width: 1600px) { | ||
− | . | + | .Safety,.Laboratory,.Environment{ width: 1200px;} |
− | + | .Laboratory .top{ height: 550px;} | |
− | + | .Environment .right{ margin: 50px 0;} | |
+ | |||
} | } | ||
Line 52: | Line 54: | ||
.header .nav .mainnav span{ margin-bottom: 21.5px;} | .header .nav .mainnav span{ margin-bottom: 21.5px;} | ||
.topic p{ font-size: 5rem;} | .topic p{ font-size: 5rem;} | ||
− | . | + | .Safety,.Laboratory,.Environment{ width: 1000px;} |
− | + | .Laboratory .top{ height: 500px;} | |
− | . | + | .Laboratory .bottom{ height: 330px;} |
} | } | ||
Line 67: | Line 69: | ||
.header .nav .mainnav span{ padding-top: 6.5px; margin-bottom: 22px;} | .header .nav .mainnav span{ padding-top: 6.5px; margin-bottom: 22px;} | ||
.topic p{ font-size: 4.5rem;} | .topic p{ font-size: 4.5rem;} | ||
− | |||
− | |||
− | |||
} | } |
Revision as of 07:57, 20 October 2017
body{ min-width: 1024px; min-height: 465px; position: relative;}
.SSTi-SZGD{ background: url() no-repeat 0px 0px; height: 465px; background-size: cover; padding-top: 15px;}
/*custom header*/ .header .nav .Project span,.header .nav .Project li:nth-of-type(6) a{ color: #FAEE0D;}
/*Content*/ .Content{ width: 100%; background: cornsilk; padding: 50px 0; padding-bottom: 100px; font-size: 2rem; text-align: justify;} .Safety,.Laboratory,.Environment{ width: 1400px; margin: auto; margin-bottom: 60px; font-size: 2.2rem;} .Safety p{ margin: 40px 0;} .Content .content{ margin: 10px 0; width: 100%;} .Content p{ margin-top: 20px;} .Content .img{ width: 1000px; margin: auto;} .Content img{ border-radius: 10px; float: left; box-shadow:2px 2px 3px #aaaaaa;} .Content .title{ font-size: 6rem; font-weight: 600; color: #394c53; letter-spacing: 2px; text-align: center; margin-bottom: 50px;} .Content .Title{ font-size: 2.8rem; font-weight: 600; margin-top: 40px;} .Content .Subtitle{ margin-top: 30px; margin-bottom: 20px;} .Content .Subtitle span{ border-bottom: 1px solid #666; padding-bottom: 5px;}
.Content .left{ float: left;} .Content .right{ float: right;} .Laboratory .left{ width: 60%;} .Laboratory .right{ width: 35%;} .Laboratory img{ height: inherit; margin: 0 10px; box-shadow:2px 2px 3px #aaaaaa;} .Laboratory .top{ height: 480px;} .Laboratory .img{ height: 350px;} .Laboratory .bottom{ height: 370px; margin-top: 60px;} .Laboratory .img:nth-last-of-type(1){ height: 320px !important;}
.Environment{ height: 450px;} .Environment .left{ width: 40%;} .Environment .right{ width: 55%;} .Environment img{ width: 100%;}
/*--1920--*/ @media only screen and (max-width: 1920px) { .header .nav .mainnav span{ padding-top: 6px; margin-bottom: 18.5px;} .topic p{ font-size: 5.5rem;}
} /*--1600--*/ @media only screen and (max-width: 1600px) { .Safety,.Laboratory,.Environment{ width: 1200px;} .Laboratory .top{ height: 550px;} .Environment .right{ margin: 50px 0;}
}
/*--1366--*/ @media only screen and (max-width: 1366px) { html{ font-size: 55%;} .header .logo span{ margin-top: 16px;} .header .nav .mainnav span{ margin-bottom: 21.5px;} .topic p{ font-size: 5rem;} .Safety,.Laboratory,.Environment{ width: 1000px;} .Laboratory .top{ height: 500px;} .Laboratory .bottom{ height: 330px;} }
/*--1190--*/ @media only screen and (max-width: 1190px) { html{ font-size: 52%;} .header .nav .Team{ width: 90px;} .header .nav .Project{ width: 100px;} .header .nav .Application{ width: 115px;} .header .nav .Human_Practices{ width: 135px;} .header .nav .Achievement{ width: 120px;} .header .nav .mainnav span{ padding-top: 6.5px; margin-bottom: 22px;} .topic p{ font-size: 4.5rem;} }