mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
theme: fix chapter margins on big screens #315
This commit is contained in:
parent
4fa8856524
commit
d4724f50fa
1 changed files with 7 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue