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

Line 8: Line 8:
 
/*Content*/
 
/*Content*/
 
.Content{ background: cornsilk; width: 100%; padding: 80px 0; text-align: justify; font-size: 2rem;}
 
.Content{ background: cornsilk; width: 100%; padding: 80px 0; text-align: justify; font-size: 2rem;}
 +
.Content p{ line-height: 37.5px;}
 
.Content .introduction{ font-size: 4rem; width: 1200px; margin: auto; line-height: 58px;}
 
.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: 4rem; color: white; background: #0e750e; height: 90px; padding: 25px 23px;}
 
.Content .title{ font-size: 2.5rem; font-weight: 600;}
 
.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 .Headline{ font-size: 2rem;}
 
.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: 1360px; margin: 20px auto;}
 
.Content img{ width: inherit;}
 
.Content img{ width: inherit;}
  
.Laboratory{ width: 1360px; height: 1270px; margin: auto; margin-top: 30px;}
+
.Laboratory{ width: 1360px; margin: auto; margin-top: 30px; border-top: 3px solid #0e750e;}
.Laboratory .left{ width: 680px; height: 1070px;}
+
.Laboratory .Title{ width: 805px;}
.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;}
+
.Laboratory .Training{ width: 1360px; margin: auto; height: 670px;}
.Overall p:nth-last-of-type(1){ width: 1100px; margin-left: 65px; margin-top: 20px; line-height: 37.5px;}
+
.Laboratory .Training .left{ width: 750px; padding-top: 30px;}
 +
.Laboratory .Training .right{ width: 590px; padding-top: 120px;}
  
.Environment{ width: 1360px; height: 900px; margin: auto;}
+
.Laboratory .Project{ width: 1360px; margin: auto; height: 670px;}
 +
 
 +
.Overall{ width: 1360px; margin: 40px auto;}
 +
 
 +
.Environment{ width: 1360px; height: 525px; margin: auto; border-top: 3px solid #0e750e;}
 
.Environment .Title{ width: 450px;}
 
.Environment .Title{ width: 450px;}
.Environment .left{ width: 800px; margin-left: 35px; margin-top: 30px;}
+
.Environment .left{ width: 700px; margin-left: 35px; margin-top: 30px;}
.Environment .right{ width: 470px; padding-top: 40px; margin-right: 30px;}
+
.Environment .right{ width: 600px; padding-top: 40px;}
.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;}
+
  
  
Line 40: Line 38:
 
/*--1366--*/
 
/*--1366--*/
 
@media only screen and (max-width: 1366px) {
 
@media only screen and (max-width: 1366px) {
.Content{ font-size: 1.4rem;}
+
.Content{ font-size: 1.3rem;}
.Content .introduction{ font-size: 2.9rem; width: 835px; line-height: 41.5px;}
+
.Content p{ line-height: 26.5px;}
.Content .Title{ font-size: 2.9rem; width: 570px; height: 65px;}
+
.Content .introduction{ font-size: 2.95rem; width: 900px; line-height: 41.5px;}
.Content .title{ font-size: 1.7rem;}
+
.Content .Title{ font-size: 2.95rem; height: 66px; padding: 17px 23px;}
.Content .Headline{ font-size: 1.7rem; width: 695px;}
+
.Content .title{ font-size: 1.75rem;}
.Content .left p,.Content .right p{ line-height: 26.5px;}
+
.Content .Headline{ font-size: 1.45rem;}
.Laboratory{ width: 1000px; height: 920px;}
+
.Content .img{ width: 1000px;}
.Laboratory .left{ width: 490px; height: 770px;}
+
.Laboratory .left img{ width: 460px;}
+
.Laboratory{ width: 1000px; border-top: 3px solid #0e750e;}
.Laboratory .right{ width: 490px; height: 770px; padding-top: 20px;}
+
.Laboratory .Title{ width: 570px;}
.Laboratory .right .title{ margin-top: 35px;}
+
.Laboratory .right p:nth-last-of-type(1){ width: 400px;}
+
.Laboratory .Training{ width: 1000px; height: 470px;}
.Laboratory .bottom{ float: left; margin-left: 50px; line-height: 37.5px;}
+
.Laboratory .Training .left{ width: 540px;}
.Overall{ width: 1000px; height: 300px; font-size: 1.1rem;}
+
.Laboratory .Training .right{ width: 420px; padding-top: 70px;}
.Overall p:nth-last-of-type(1){ width: 785px; line-height: 26.5px;}
+
.Environment{ width: 1000px; height: 700px;}
+
.Laboratory .Project{ width: 1000px; height: 470px;}
 +
 +
.Overall{ width: 1000px;}
 +
 +
.Environment{ width: 1000px; height: 385px;}
 
.Environment .Title{ width: 325px;}
 
.Environment .Title{ width: 325px;}
.Environment .left{ width: 590px;}
+
.Environment .left{ width: 530px;}
.Environment .right{ width: 335px;}
+
.Environment .right{ width: 415px;}
.Environment .img{ height: 190px;}
+
/*.Environment .img img:nth-of-type(2){ margin: 0 25px;}*/
+
 
}
 
}
  

Revision as of 03:32, 26 October 2017

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

.SSTi-SZGD{ background: url(SSTi-SZGD_Safety_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(6) a{ color: #FAEE0D;}

/*Content*/ .Content{ background: cornsilk; width: 100%; padding: 80px 0; text-align: justify; font-size: 2rem;} .Content p{ line-height: 37.5px;} .Content .introduction{ font-size: 4rem; width: 1200px; margin: auto; line-height: 58px;} .Content .Title{ font-size: 4rem; color: white; background: #0e750e; height: 90px; padding: 25px 23px;} .Content .title{ font-size: 2.5rem; font-weight: 600;} .Content .Headline{ font-size: 2rem;} .Content .left{ float: left;} .Content .right{ float: right;} .Content .img{ width: 1360px; margin: 20px auto;} .Content img{ width: inherit;}

.Laboratory{ width: 1360px; margin: auto; margin-top: 30px; border-top: 3px solid #0e750e;} .Laboratory .Title{ width: 805px;}

.Laboratory .Training{ width: 1360px; margin: auto; height: 670px;} .Laboratory .Training .left{ width: 750px; padding-top: 30px;} .Laboratory .Training .right{ width: 590px; padding-top: 120px;}

.Laboratory .Project{ width: 1360px; margin: auto; height: 670px;}

.Overall{ width: 1360px; margin: 40px auto;}

.Environment{ width: 1360px; height: 525px; margin: auto; border-top: 3px solid #0e750e;} .Environment .Title{ width: 450px;} .Environment .left{ width: 700px; margin-left: 35px; margin-top: 30px;} .Environment .right{ width: 600px; padding-top: 40px;}


/*--1366--*/ @media only screen and (max-width: 1366px) { .Content{ font-size: 1.3rem;} .Content p{ line-height: 26.5px;} .Content .introduction{ font-size: 2.95rem; width: 900px; line-height: 41.5px;} .Content .Title{ font-size: 2.95rem; height: 66px; padding: 17px 23px;} .Content .title{ font-size: 1.75rem;} .Content .Headline{ font-size: 1.45rem;} .Content .img{ width: 1000px;}

.Laboratory{ width: 1000px; border-top: 3px solid #0e750e;} .Laboratory .Title{ width: 570px;}

.Laboratory .Training{ width: 1000px; height: 470px;} .Laboratory .Training .left{ width: 540px;} .Laboratory .Training .right{ width: 420px; padding-top: 70px;}

.Laboratory .Project{ width: 1000px; height: 470px;}

.Overall{ width: 1000px;}

.Environment{ width: 1000px; height: 385px;} .Environment .Title{ width: 325px;} .Environment .left{ width: 530px;} .Environment .right{ width: 415px;} }

/*--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;} }