Skip to content

Commit

Permalink
theme: fix chapter margins on big screens matcornic#315
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Jul 26, 2022
1 parent 4fa8856 commit d4724f5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions static/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -357,21 +357,24 @@ th {
width: calc( 1300px - 300px - 2 * 3.25rem );
max-width: calc( 1300px - 300px - 2 * 3.25rem );
}
#body .narrow .flex-block-wrapper {
min-width: calc( 1300px - 300px - 2 * 9.75rem );
width: calc( 1300px - 300px - 2 * 9.75rem );
max-width: calc( 1300px - 300px - 2 * 9.75rem );
}
}

#body-inner.narrow {
margin-left: auto;
margin-right: auto;
padding: 2rem 9.75rem;
}
@media screen and (max-width: 59.938em) {
#body-inner.narrow {
padding: 15px 6.5rem 15px 6.5rem;
padding: 15px 6.5rem;
}
}
@media screen and (max-width: 47.938em) {
#body-inner.narrow {
padding: 5px 3.25rem 5px 3.25rem;
padding: 5px 3.25rem;
}
}

Expand Down

0 comments on commit d4724f5

Please sign in to comment.