Constrained text width to 75ch on text pages to improve readability.

This commit is contained in:
Stephan 2021-03-21 17:28:14 +01:00
parent 7ba82cd2c9
commit 4fb5cc4323
2 changed files with 5 additions and 1 deletions

View File

@ -805,6 +805,10 @@ hr.-even {
column-count: var(--column-count); column-count: var(--column-count);
} }
.content__inner_box.-width_constraint {
max-width: 75ch;
}
.content.-odd { .content.-odd {
background-color: var(--wtf-light-grey); background-color: var(--wtf-light-grey);
color: var(--wtf-dark-grey); color: var(--wtf-dark-grey);

View File

@ -15,7 +15,7 @@
</div> </div>
<section class="content -odd"> <section class="content -odd">
<div class="content__box"> <div class="content__box">
<div class="content__inner_box"> <div class="content__inner_box -width_constraint">
{{ this.body }} {{ this.body }}
</div> </div>
</div> </div>