Max line width only in main section and add zen-gutters-reverse variable.

This commit is contained in:
Fredrik Jonsson 2022-06-01 14:22:29 +02:00
commit 811f82fcec
2 changed files with 10 additions and 7 deletions

View file

@ -128,6 +128,7 @@ $max-line-width: 70ch;
// The default left/right gutter/padding.
$zen-gutters: calc(5px + 1.5625vw);
$zen-gutters-reverse: calc(0px - (5px + 1.5625vw));
// Border radius.
$s-radius: 3px;

View file

@ -70,11 +70,13 @@ h6,
// Set max text line width for redability.
h2,
h3,
h4,
h5,
h6,
p {
max-width: $max-line-width;
.main {
h2,
h3,
h4,
h5,
h6,
p {
max-width: $max-line-width;
}
}