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

Line 1: Line 1:
.Banner{ width: 100%; height: 400px; background: url(https://static.igem.org/mediawiki/2018/9/92/T--SSTi-SZGD--banner_Notebook.png) no-repeat center center; background-size: 50%; margin: 100px 0 80px 0;}
+
.Banner{ text-align: center; padding: 10% 0;}
 +
.Banner img{ margin: auto; float: none;}
 
.Content{ font-size: 1.6rem; margin-bottom: 100px;}
 
.Content{ font-size: 1.6rem; margin-bottom: 100px;}
 
.Content .content{ margin: 0;}
 
.Content .content{ margin: 0;}
Line 8: Line 9:
 
.Content section{ margin: 20px auto; float: none;}
 
.Content section{ margin: 20px auto; float: none;}
 
.Content .subcontent{ margin-left: 16px; display: block;}
 
.Content .subcontent{ margin-left: 16px; display: block;}
 
 
@media only screen and (max-width: 767px) {
 
.Banner{ height: 300px; background-size: 70%;}
 
}
 
 
@media only screen and (max-width: 992px) {
 
.Banner{ margin: 100px 0 0 0;}
 
}
 

Revision as of 00:42, 18 October 2018

.Banner{ text-align: center; padding: 10% 0;} .Banner img{ margin: auto; float: none;} .Content{ font-size: 1.6rem; margin-bottom: 100px;} .Content .content{ margin: 0;} .Content .title{ text-align: center; font-size: 3rem; font-weight: 600; background: #ff6a76; color: #fff; padding: 5px; border-radius: 30px; margin: 10px 0; cursor: pointer;} .Content .abstract{ font-size: 1.7rem;} .Content .content{ background: #fff3f4; padding: 15px 30px 30px 30px; border-radius: 15px; display: none;} .Content .subtitle{ font-size: 2rem; color: #ff616e; margin-top: 30px;} .Content section{ margin: 20px auto; float: none;} .Content .subcontent{ margin-left: 16px; display: block;}