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

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/3/3d/SSTi-SZGD_banner.jpeg) no-repeat top center; padding-top: 15px; max-height: 910px;}
  
 
/*custom header*/
 
/*custom header*/
Line 26: Line 26:
 
.Results .img p{ margin-bottom: 50px !important;}
 
.Results .img p{ margin-bottom: 50px !important;}
  
/*--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;}
 
}
 
  
/*--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;}
 
}
 
  
 
/*--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;}
 
}
 
}

Revision as of 04:44, 27 October 2017

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

.SSTi-SZGD{ background: url(SSTi-SZGD_banner.jpeg) no-repeat top center; padding-top: 15px; max-height: 910px;}

/*custom header*/ .header .nav .Project span,.header .nav .Project li:nth-of-type(5) a{ color: #FAEE0D;}

/*Content*/ .Content{ width: 100%; background: cornsilk; padding: 50px 5%; padding-bottom: 100px; font-size: 2rem; text-align: justify;} .Overview p{ margin: 40px 0; text-align: justify;} .Overview,.Protocol,.Results,.Conclusions{ width: 80%; margin: auto; margin-bottom: 70px; font-size: 2rem;} .Content .title{ font-size: 6rem; font-weight: 600; color: #394c53; letter-spacing: 2px; text-align: center;} .Overview .Explain p{ margin: 0;} .Overview .Explain ul li{ list-style: disc; font-style: italic; margin-left: 25px; line-height: 1.5;}

.Content .Subtitle{ font-size: 2.2rem; font-weight: 600; margin-top: 40px;} .Content .content{ width: 100%;} .Content .content{ margin-top: 10px;} .Content .content p{ margin: 10px 0; line-height: 1.4;} .Content .img{ width: 80%; margin: 30px auto; } .Content .img img{ width: inherit; border-radius: 10px; margin: auto;} .Content .img p{ text-align: center; margin-top: 5px;} .Results p,.Conclusions p{ margin-top: 50px;} .Results .img{ margin-top: 60px;} .Results .img img{ margin-bottom: 10px !important;} .Results .img p{ margin-bottom: 50px !important;}


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