Add responsive widths to content section

This commit is contained in:
copernicus-mogley 2020-01-22 16:34:42 +01:00 committed by Daira Hopwood
parent 25d295ea38
commit 09091814b5
1 changed files with 27 additions and 1 deletions

View File

@ -488,7 +488,7 @@ body, body > section {
body {
font-family: 'robotoregular',Arial,Helvetica Neue,Helvetica,sans-serif;
color: #212529;
line-height: 1.6;
line-height: 1.5;
max-width: 1140px;
}
@ -584,3 +584,29 @@ td:first-child {
#references table, #references th, #references td {
border: 0 none transparent;
}
@media (min-width: 576px) {
body > section {
max-width: initial;
width: 510px;
}
}
@media (min-width: 768px) {
body > section {
width: 690px;
}
}
@media (min-width: 992px) {
body > section {
width: 770px;
}
}
@media (min-width: 1200px) {
body > section {
max-width: initial;
width: 920px;
}
}