diff --git a/_data/metadata.js b/_data/metadata.js index 7d4b723..c6e727e 100644 --- a/_data/metadata.js +++ b/_data/metadata.js @@ -206,4 +206,5 @@ export default { nextURL: "http://geekring.net/site/350/next", }, ], + wooModeOnByDefault: false, }; diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk index 3115f1e..6e25937 100644 --- a/_includes/layouts/base.njk +++ b/_includes/layouts/base.njk @@ -5,6 +5,8 @@ + + {% if not excludeProfilesFromHead %}{% for link in metadata.socialLinks %}{% if not link.excludeFromHead %}{% endif %}{% endfor %}{% endif %} @@ -20,5 +22,6 @@ {% include "footer.njk" %} {% include "weather.njk" %} + {% include "wooMode.njk" %} diff --git a/_includes/siteSettings.njk b/_includes/siteSettings.njk index 65878a9..eedd4d6 100644 --- a/_includes/siteSettings.njk +++ b/_includes/siteSettings.njk @@ -11,6 +11,7 @@

Site Settings

{% include "weatherController.njk" %} + {% include "wooModeController.njk" %}
diff --git a/_includes/weatherController.njk b/_includes/weatherController.njk index 1eef1f3..99598eb 100644 --- a/_includes/weatherController.njk +++ b/_includes/weatherController.njk @@ -1,30 +1,4 @@ - - -
+
diff --git a/_includes/wooMode.njk b/_includes/wooMode.njk new file mode 100644 index 0000000..9a216a9 --- /dev/null +++ b/_includes/wooMode.njk @@ -0,0 +1,233 @@ + + +{# This include replaces the page background with a crazy rainbow animated shader #} + + + + + + + + + diff --git a/_includes/wooModeController.njk b/_includes/wooModeController.njk new file mode 100644 index 0000000..c906e79 --- /dev/null +++ b/_includes/wooModeController.njk @@ -0,0 +1,4 @@ +
+ + +
diff --git a/content/special/woo-woo-incense-description-generator/index.njk b/content/special/woo-woo-incense-description-generator/index.njk index 725dc98..8bc41cf 100644 --- a/content/special/woo-woo-incense-description-generator/index.njk +++ b/content/special/woo-woo-incense-description-generator/index.njk @@ -2,6 +2,7 @@ layout: layouts/base.njk title: "Woo-Woo Incense Description Generator" structuredData: none +forcedWoo: true ---

Woo-Woo Incense Description Generator

@@ -38,193 +39,3 @@ structuredData: none
Click the button to generate woo…
- - - - - - diff --git a/public/css/index.css b/public/css/index.css index 1c8cf34..7a8b640 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -156,7 +156,7 @@ html { input.answer { display: inline; } -input:not(.answer):not(#weatherToggle), +input:not(.answer, .siteSettingsToggle input), textarea { background-color: var(--background-color); border: var(--border-details); @@ -866,6 +866,31 @@ sup { line-height: 0; } +/* Site Settings */ +.siteSettingsToggle { + color: var(--text-color); + font-size: var(--step--2); + font-variation-settings: var(--font-variation-ui); + text-transform: uppercase; + letter-spacing: var(--ui-letter-spacing); + font-family: var(--font-family-ui); + & label { + display: inline; + } + & input { + accent-color: var(--contrast-color); + background-color: var(--background-color); + border: var(--border-details); + border-color: var(--contrast-color); + border-radius: var(--border-radius); + color: var(--text-color); + &:focus { + box-shadow: 0 0 0 2px var(--contrast-color); + outline: none; + } + } +} + /* Tags */ a.post-tag { background-color: var(--color-gray-20);