theme: limit width for wide screens #92

This commit is contained in:
Sören Weber 2021-09-28 22:17:24 +02:00
parent 9f2a97f358
commit d443816df7
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589

View file

@ -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;