diff --git a/_layouts/article.html b/_layouts/article.html new file mode 100644 index 0000000..846bde0 --- /dev/null +++ b/_layouts/article.html @@ -0,0 +1,37 @@ +{% case site.color-scheme %} + {% when "", nil, false, 0, empty %} + {% assign ColorScheme = "auto" %} + {% else %} + {% assign ColorScheme = site.color-scheme %} +{% endcase %} + + + + + + + + + + + + + + + {% include head-custom.html %} + + +
+
+ + {{ content }} + +



Copyright (c) 2024 Sam Hadow Verbatim copying and redistribution of this entire page are permitted provided this notice is preserved.

+
+ +
+ + + diff --git a/_sass/jekyll-theme-minimalist.scss b/_sass/jekyll-theme-minimalist.scss index 2812aa4..cd1f828 100644 --- a/_sass/jekyll-theme-minimalist.scss +++ b/_sass/jekyll-theme-minimalist.scss @@ -2,6 +2,11 @@ @import "rouge-github"; @import "colors"; +// default variables +$section-width: 610px !default; +$section-float: right !default; +$section-padding-bottom: 30px !default; + body { background-color: var(--clr-bg); padding:50px; @@ -174,9 +179,9 @@ strong { } section { - width: 610px; - float:right; - padding-bottom:30px; + width: $section-width; + float: $section-float; + padding-bottom: $section-padding-bottom; } small {