Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/frjo/hugo-theme-zen.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Jonsson <frjo@xdeb.org>2022-06-01 20:08:12 +0300
committerFredrik Jonsson <frjo@xdeb.org>2022-06-01 20:08:12 +0300
commit76e0a348bfa25cda868fac13e25a7fb94a374de6 (patch)
treed0e9ee5ad1cb0a0ab2c8f99196848a830c77dd83
parent811f82fcec51bcd5f8093ef8dca43e2237c856e2 (diff)
Update README with new features.
-rw-r--r--README.md3
-rw-r--r--assets/sass/_variables.scss2
-rw-r--r--assets/sass/reset/sections/_sections.scss2
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,