mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 11:27:06 +00:00
Make CSS more efficient
Add side margins in global.css rather than two separate files
This commit is contained in:
@@ -9,23 +9,6 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.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%;
|
||||
}
|
||||
}
|
||||
|
||||
.main-content .mdc-card {
|
||||
float:left;
|
||||
clear:left;
|
||||
|
||||
Reference in New Issue
Block a user