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. // The default left/right gutter/padding.
$zen-gutters: calc(5px + 1.5625vw); $zen-gutters: calc(5px + 1.5625vw);
$zen-gutters-reverse: calc(0px - (5px + 1.5625vw));
// Border radius. // Border radius.
$s-radius: 3px; $s-radius: 3px;

View file

@ -70,6 +70,7 @@ h6,
// Set max text line width for redability. // Set max text line width for redability.
.main {
h2, h2,
h3, h3,
h4, h4,
@ -78,3 +79,4 @@ h6,
p { p {
max-width: $max-line-width; max-width: $max-line-width;
} }
}