Make CSS more efficient

Add side margins in global.css rather than two separate files
This commit is contained in:
Matthew Grove
2018-11-24 15:40:12 +00:00
parent de632e9145
commit 0c49ba651b
4 changed files with 19 additions and 35 deletions

View File

@@ -36,7 +36,25 @@ footer {
margin: 15px;
}
/* add side margins */
.main-content {
margin-left: 15%;
margin-right: 15%;
}
@media screen and (max-width: 600px) {
.main-content {
margin-left: 5%;
margin-right: 5%;
}
}
@media screen and (max-width: 500px) {
.main-content {
margin-left: 2%;
margin-right: 2%;
}
}
/* for cookie notice */
#cookies {
display: none;
width: 100%;