mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
theme: align content scrollbar to the right on big screens #223
This commit is contained in:
parent
c9652602f0
commit
45f0585f23
1 changed files with 5 additions and 4 deletions
|
@ -412,17 +412,18 @@ th {
|
|||
margin-top: -1rem;
|
||||
}
|
||||
|
||||
#body .flex-block-wrapper {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
/* we limit width if we have large screens */
|
||||
@media screen and ( min-width: 1300px ){ /* #sidebar/width + ./max-width */
|
||||
#body #body-inner {
|
||||
margin: auto;
|
||||
#body .flex-block-wrapper {
|
||||
max-width: 1000px;
|
||||
}
|
||||
}
|
||||
|
||||
#body-inner.chapter {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding: 2rem 9rem;
|
||||
}
|
||||
@media only all and (max-width: 59.938em) {
|
||||
|
|
Loading…
Reference in a new issue