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

(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/5/55/T--SSTi-SZGD--banner_Description.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;}
+
.Content .content{ padding: 0 15px;}
.Content .content{ margin: auto; float: none;}
+
.Content .title{ font-size: 3rem; font-weight: 600; margin: 10px 0;}
.Content .title{ font-size: 3rem; font-weight: 600; margin: 10px 0; padding: 5px 40px; background: #b9f1ee; color: #fff; text-align: center; border-radius: 30px;}
+
.Content .title span{ background: #ff3a3a; color: #fff; border-radius: 30px; padding: 5px 40px; display: inline-block; text-align: center;}
.Content .abstract{ font-size: 1.7rem; padding: 0 10px;}
+
.Content .subtitle{ font-size: 2rem; color: #ff3a3a; margin-top: 15px;}
.Content .subtitle{ font-size: 2rem; margin: 30px 0 10px 0;}
+
.Content .subtitle span{ border-radius: 30px; background: #b9f1ee; color: #fff; font-weight: 600; padding: 5px 40px; display: inline-block;}
+
 
.Content section{ margin: 20px auto; float: none;}
 
.Content section{ margin: 20px auto; float: none;}
.Content table{ text-align: center;}
+
.Content li{ float: none; display: list-item;}
.Content table th{ text-align: center; background: #b9f1ee; border: 1px solid #fff !important;}
+
.Content ol li{ list-style: decimal; margin-left: 25px;}
.Content table td{ vertical-align: middle !important; border: 1px solid #fff !important;}
+
.Content ul li{ list-style: disc; margin-left: 25px;}
.Content table tr:nth-of-type(2n){ background: #b9f1ee;}
+
.Content .img{ float: none; margin: 15px auto; color: #ff3a3a; font-weight: 600; text-align: center;}
.Content table tr td:nth-of-type(3){ text-align: justify;}
+
.Content .img img{ width: 100%;}
 +
.Content sup{ font-weight: 600;}
 +
.Content p span{ font-weight: 600;}
 +
.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;}
 +
}

Revision as of 14:30, 6 November 2018

.Banner{ width: 100%; height: 400px; background: url(T--SSTi-SZGD--banner_Description.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 .content{ padding: 0 15px;} .Content .title{ font-size: 3rem; font-weight: 600; margin: 10px 0;} .Content .title span{ background: #ff3a3a; color: #fff; border-radius: 30px; padding: 5px 40px; display: inline-block; text-align: center;} .Content .subtitle{ font-size: 2rem; color: #ff3a3a; margin-top: 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 .img{ float: none; margin: 15px auto; color: #ff3a3a; font-weight: 600; text-align: center;} .Content .img img{ width: 100%;} .Content sup{ font-weight: 600;} .Content p span{ font-weight: 600;} .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;} }