From 76e0a348bfa25cda868fac13e25a7fb94a374de6 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Wed, 1 Jun 2022 19:08:12 +0200 Subject: [PATCH] Update README with new features. --- README.md | 3 +++ assets/sass/_variables.scss | 2 +- assets/sass/reset/sections/_sections.scss | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fbfd42f..d3c4846 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,9 @@ Sass is processed with Hugo pipes. To make using npm optional I have added the s * Use `site` instead of `.Site` and `$.Site`. * Use a default line-height of unitless 1.5. For headers it is set to 1.3. * Added `_extra.scss` where variables can be overridden. +* The zen-gutters variable is now a calculated value based on window width. +* Added max-line-width for readability, default to 70ch. +* New shortcodes: button, svg, reflink and details. ### Todo diff --git a/assets/sass/_variables.scss b/assets/sass/_variables.scss index 11f0e1f..391d385 100644 --- a/assets/sass/_variables.scss +++ b/assets/sass/_variables.scss @@ -123,7 +123,7 @@ $breakpoints: ( // The max content width. $max-content-width: 1000px; -// The max line width for redability. +// The max line width for readability. $max-line-width: 70ch; // The default left/right gutter/padding. diff --git a/assets/sass/reset/sections/_sections.scss b/assets/sass/reset/sections/_sections.scss index 5bd9da0..5e1b9f7 100644 --- a/assets/sass/reset/sections/_sections.scss +++ b/assets/sass/reset/sections/_sections.scss @@ -68,7 +68,7 @@ h6, line-height: 1.3; } -// Set max text line width for redability. +// Set max text line width for readability. .main { h2,