mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 11:13:06 +00:00
theme: limit width for wide screens #92
This commit is contained in:
parent
9f2a97f358
commit
d443816df7
1 changed files with 9 additions and 0 deletions
|
@ -378,6 +378,15 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* we limit width if we have large screens */
|
||||||
|
@media screen and ( min-width: 1300px ){ /* #sidebar/width + ./max-width */
|
||||||
|
#body #body-inner {
|
||||||
|
max-width: 1000px;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#chapter {
|
#chapter {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
Loading…
Reference in a new issue