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

 
(3 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/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%; background: cornsilk; padding: 50px 0; padding-bottom: 100px; font-size: 2rem; text-align: justify;}
+
.Content{ background: cornsilk; width: 100%; padding: 80px 0; text-align: justify; font-size: 2rem;font-family:"Arial Regular";font-weight: bold;}
.Safety,.Laboratory,.Environment{ width: 1400px; margin: auto; margin-bottom: 60px; font-size: 2.2rem;}
+
.Content p{ line-height: 37.5px;}
.Safety p{ margin: 40px 0;}
+
.Content .introduction{ font-size: 4rem; width: 1200px; margin: auto; line-height: 58px;}
.Content .content{ margin: 10px 0; width: 100%;}
+
.Content .Title{ font-size: 4rem; color: white; background: #0e750e; height: 90px; padding: 25px 23px;}
.Content p{ margin-top: 20px;}
+
.Content .title{ font-size: 2.5rem; font-weight: 600;}
.Content .img{ width: 1000px; margin: auto;}
+
.Content .Headline{ font-size: 2rem;}
.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 .left{ float: left;}
 
.Content .right{ float: right;}
 
.Content .right{ float: right;}
.Laboratory .left{ width: 60%;}
+
.Content .img{ width: 1360px; margin: 20px auto;}
.Laboratory .right{ width: 35%;}
+
.Content img{ width: inherit;}
.Laboratory img{ height: inherit; margin: 0 10px; box-shadow:2px 2px 3px #aaaaaa;}
+
 
.Laboratory .top{ height: 480px;}
+
.Laboratory{ width: 1360px; margin: auto; margin-top: 30px; border-top: 3px solid #0e750e;}
.Laboratory .img{ height: 350px;}
+
.Laboratory .Title{ width: 805px;}
.Laboratory .bottom{ height: 370px; margin-top: 60px;}
+
 
.Laboratory .img:nth-last-of-type(1){ height: 320px !important;}
+
.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;}
 +
 
  
.Environment{ height: 450px;}
 
.Environment .left{ width: 40%;}
 
.Environment .right{ width: 55%;}
 
.Environment img{ width: 100%;}
 
  
 
/*--1920--*/
 
/*--1920--*/
 
@media only screen and (max-width: 1920px) {
 
@media only screen and (max-width: 1920px) {
.header .nav .mainnav span{ padding-top: 6px; margin-bottom: 18.5px;}
+
.Content{ font-size: 1.3rem;}
.topic p{ font-size: 5.5rem;}
+
.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;}
/*--1600--*/
+
.Laboratory .Title{ width: 570px;}
@media only screen and (max-width: 1600px) {
+
.Safety,.Laboratory,.Environment{ width: 1200px;}
+
.Laboratory .top{ height: 550px;}
+
.Environment .right{ margin: 50px 0;}
+
 
 
}
+
.Laboratory .Training{ width: 1000px; height: 470px;}
 
+
.Laboratory .Training .left{ width: 540px;}
/*--1366--*/
+
.Laboratory .Training .right{ width: 420px; padding-top: 70px;}
@media only screen and (max-width: 1366px) {
+
html{ font-size: 55%;}
+
.Laboratory .Project{ width: 1000px; height: 470px;}
.header .logo span{ margin-top: 16px;}
+
.header .nav .mainnav span{ margin-bottom: 21.5px;}
+
.Overall{ width: 1000px;}
.topic p{ font-size: 5rem;}
+
.Safety,.Laboratory,.Environment{ width: 1000px;}
+
.Environment{ width: 1000px; height: 385px;}
.Laboratory .top{ height: 500px;}
+
.Environment .Title{ width: 325px;}
.Laboratory .bottom{ height: 330px;}
+
.Environment .left{ width: 530px;}
 +
.Environment .right{ width: 415px;}
 
}
 
}
  
 
/*--1190--*/
 
/*--1190--*/
 
@media only screen and (max-width: 1190px) {
 
@media only screen and (max-width: 1190px) {
html{ font-size: 52%;}
+
html{ font-size: 50%;}
.header .nav .Team{ width: 90px;}
+
.header .logo span{ margin: 15px 0;}
 
.header .nav .Project{ width: 100px;}
 
.header .nav .Project{ width: 100px;}
.header .nav .Application{ width: 115px;}
+
.header .nav .Application{ width: 100px;}
.header .nav .Human_Practices{ width: 135px;}
+
.header .nav .Human_Practices{ width: 140px;}
 
.header .nav .Achievement{ width: 120px;}
 
.header .nav .Achievement{ width: 120px;}
.header .nav .mainnav span{ padding-top: 6.5px; margin-bottom: 22px;}
+
.header .nav .Team{ width: 95px;}
.topic p{ font-size: 4.5rem;}
+
.header .nav .mainnav span{ padding-top: 8.5px; margin-bottom: 21px;}
 
}
 
}

Latest revision as of 09:14, 29 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;font-family:"Arial Regular";font-weight: bold;} .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;}


/*--1920--*/ @media only screen and (max-width: 1920px) { .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;} }