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/3/3d/SSTi-SZGD_banner.jpeg) no-repeat | + | .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;} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/*--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 04:44, 27 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(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;} }