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

(final)
 
Line 1: Line 1:
.Banner{ text-align: center; padding: 10% 0;}
+
.Banner{ width: 100%; height: 400px; background: url(https://static.igem.org/mediawiki/2018/thumb/0/02/T--SSTi-SZGD--banner_Results.png/800px-T--SSTi-SZGD--banner_Results.png) no-repeat center center; background-size: 40%; margin: 100px 0 0 0;}
.Banner img{ margin: auto; float: none;}
+
 
.Content{ font-size: 1.6rem; margin-bottom: 100px; margin: auto; float: none;}
 
.Content{ font-size: 1.6rem; margin-bottom: 100px; margin: auto; float: none;}
 
.Content .Ccontent{ padding: 0 15px;}
 
.Content .Ccontent{ padding: 0 15px;}
Line 24: Line 23:
 
.Content em{ font-style: normal; color: #2ca6e0;}
 
.Content em{ font-style: normal; color: #2ca6e0;}
 
.Content p span{ font-weight: 600;}
 
.Content p span{ font-weight: 600;}
.References .Rtitle span{ text-align: center; font-size: 2.6rem;}
 
.References .Rtitle span:nth-of-type(2n-1){ border-top: 1px solid #ec83eb; margin: 18px 0;}
 
.Content .Rtitle{ margin: 50px 0 15px 0;}
 
 
.Content .info>div{ display: none;}
 
.Content .info>div{ display: none;}
 
.Content .info>div:nth-of-type(1){ display: block;}
 
.Content .info>div:nth-of-type(1){ display: block;}
 
+
.Reference{ word-break: break-word;}
 +
.Reference P:nth-of-type(1) span{ text-align: center; font-size: 2.6rem;}
 +
.Reference P:nth-of-type(1) span:nth-of-type(2n-1){ border-top: 1px solid #ff3a3a; margin: 19px 0;}
  
 
@media only screen and (max-width: 767px) {
 
@media only screen and (max-width: 767px) {
.Reference span{ font-size: 1.6rem; padding: 0 5px;}
+
.Banner{ background-size: 60%;}
.Reference span:nth-of-type(2n-1){ margin: 10px 0;}
+
.Reference P:nth-of-type(1) span{ font-size: 2rem; margin: 4px 0;}
 +
.Reference P:nth-of-type(1) span:nth-of-type(2n-1){ margin: 18px 0;}
 +
}
 +
 
 +
@media only screen and (max-width: 992px) {
 +
.Banner{ margin: 100px 0 0 0;}
 
}
 
}

Latest revision as of 13:09, 6 November 2018

.Banner{ width: 100%; height: 400px; background: url(800px-T--SSTi-SZGD--banner_Results.png) no-repeat center center; background-size: 40%; margin: 100px 0 0 0;} .Content{ font-size: 1.6rem; margin-bottom: 100px; margin: auto; float: none;} .Content .Ccontent{ padding: 0 15px;} .Content .content{ background: #ffbefe; padding: 15px; border-radius: 10px; display: none;} .Content .title{ font-size: 3rem; font-weight: 600; margin: 10px 0; background: #ec83eb; color: #fff; border-radius: 30px; padding: 5px 40px; text-align: center; cursor: pointer;} .Content .Ctitle{ font-size: 3rem; font-weight: 600; margin: 10px 0;} .Content .Ctitle span{ background: #ec83eb; color: #fff; border-radius: 30px; padding: 5px 40px; display: inline-block; text-align: center;} .Content .subtitle{ font-size: 2rem; color: #ec83eb; margin-top: 15px;} .Content .Csubtitle{ margin: 5px 0;} .Content .Csubtitle span{ background: #ffddff; color: #ec83eb; border-radius: 30px; padding: 5px 40px; display: inline-block; text-align: center; width: 100%; cursor: pointer;} .Content .Csubtitle span.active{ background: #f5abf4; color: #fff;} .Content .Csubtitle span:hover{ background: #ec83eb; color: #fff;} .Content .info{ background: #ffddff; border-radius: 10px; margin: 10px 0; padding: 15px;} .Content section{ margin: 20px auto; float: none;} .Content li{ float: none; display: list-item;} .Content ol li{ list-style: decimal; margin-left: 25px;} .Content ul li{ list-style: disc; margin-left: 25px;} .Content .Cimg,.Content .img{ margin: 15px auto; font-weight: 600; text-align: center;} .Content .Cimg{ float: none;} .Content .img img,.Content .Cimg img{ width: 100%; border-radius: 10px; box-shadow: rgba(0,0,0,0.38) 0px 0px 10px 0; margin: 5px 0;} .Content .Cimg p,.Content .img p{ margin: 5px auto;} .Content sup{ font-weight: 600;} .Content em{ font-style: normal; color: #2ca6e0;} .Content p span{ font-weight: 600;} .Content .info>div{ display: none;} .Content .info>div:nth-of-type(1){ display: block;} .Reference{ word-break: break-word;} .Reference P:nth-of-type(1) span{ text-align: center; font-size: 2.6rem;} .Reference P:nth-of-type(1) span:nth-of-type(2n-1){ border-top: 1px solid #ff3a3a; margin: 19px 0;}

@media only screen and (max-width: 767px) { .Banner{ background-size: 60%;} .Reference P:nth-of-type(1) span{ font-size: 2rem; margin: 4px 0;} .Reference P:nth-of-type(1) span:nth-of-type(2n-1){ margin: 18px 0;} }

@media only screen and (max-width: 992px) { .Banner{ margin: 100px 0 0 0;} }