From 1a7f4521f5adfda0ba6851b402610617214cbfc0 Mon Sep 17 00:00:00 2001 From: Drew Date: Thu, 6 Mar 2025 22:09:53 -0700 Subject: [PATCH] init wompum header image --- data/colors.yaml | 40 +++++++ layouts/_default/baseof.html | 2 + layouts/_default/single.html | 31 +++--- layouts/index.html | 1 + layouts/partials/article-wompum.html | 12 +++ layouts/partials/css-variables.html | 9 ++ layouts/partials/sigil.html | 25 +++++ static/css/wompum.css | 30 ++++++ static/js/colorCalculator.js | 30 ++++++ static/js/sigil.js | 44 ++++++++ static/js/wompum.js | 149 +++++++++++++++++++++++++++ 11 files changed, 358 insertions(+), 15 deletions(-) create mode 100644 data/colors.yaml create mode 100644 layouts/partials/article-wompum.html create mode 100644 layouts/partials/css-variables.html create mode 100644 layouts/partials/sigil.html create mode 100644 static/css/wompum.css create mode 100644 static/js/colorCalculator.js create mode 100644 static/js/sigil.js create mode 100644 static/js/wompum.js diff --git a/data/colors.yaml b/data/colors.yaml new file mode 100644 index 0000000..4e02b56 --- /dev/null +++ b/data/colors.yaml @@ -0,0 +1,40 @@ +sand: + 100: "#eee8dd" + 500: "#d4c5aa" + 900: "#b19360" +pink: + 100: "#ead4d2" + 500: "#c0928a" + 900: "#a7695a" +red: + 100: "#e8c9c9" + 500: "#b87977" + 900: "#a35754" +rust: + 100: "#eacec4" + 500: "#c48a74" + 900: "#af6649" +clay: + 100: "#ead4c2" + 500: "#c49b6f" + 900: "#b17f48" +gold: + 100: "#e6dac1" + 500: "#bca66d" + 900: "#a88b48" +moss: + 100: "#d0ddc7" + 500: "#919f71" + 900: "#69734a" +pine: + 100: "#c7ddd2" + 500: "#7b9b85" + 900: "#516b57" +cyan: + 100: "#c0dadd" + 500: "#6a9799" + 900: "#436668" +blue: + 100: "#c2cfe0" + 500: "#6f88a3" + 900: "#5d7691" \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index d9becf3..e2765c0 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,6 +6,7 @@ {{ .Title }} + {{ partial "css-variables.html" . }} {{/* styles */}} {{ $options := dict "inlineImports" true }} {{ $styles := resources.Get "css/styles.css" }} @@ -14,6 +15,7 @@ {{ $styles = $styles | minify | fingerprint | resources.PostProcess }} {{ end }} + {{ partial "header.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a447e06..4bb254e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,17 +1,18 @@ {{ define "main" }} -
-
-

{{ .Title }}

-

Date:

-

Narrator: {{ .Params.narrator }}

-

Facilitator: {{ .Params.facilitator }}

-

Subject: {{ .Params.subject }}

-

Tags: {{ partial "tags.html" . }}

-
-
-

{{ .Title }}

- - {{ .Content }} -
-
+ +
+
+

{{ .Title }}

+

Date:

+

Narrator: {{ .Params.narrator }}

+

Facilitator: {{ .Params.facilitator }}

+

Subject: {{ .Params.subject }}

+

Tags: {{ partial "tags.html" . }}

+
+
+ {{ partial "article-wompum.html" . }} +

{{ .Title }}

+ {{ .Content }} +
+
{{ end }} \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index edbfed3..69cddc5 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,6 +5,7 @@