From aecbbcf022b72aae5fbdaec8b8b5ab779bde68d6 Mon Sep 17 00:00:00 2001
From: Parker TenBroeck <51721964+ParkerTenBroeck@users.noreply.github.com>
Date: Fri, 23 Jan 2026 09:19:44 -0500
Subject: [PATCH] inlined script and css to base html
---
sass/theme.scss | 4 ++--
templates/base.html | 7 +++++--
templates/gallery.html | 4 ++--
templates/partials/footer.html | 2 +-
4 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/sass/theme.scss b/sass/theme.scss
index ea49a15..4345f40 100644
--- a/sass/theme.scss
+++ b/sass/theme.scss
@@ -2,7 +2,7 @@
@media (prefers-color-scheme: dark) {
* {
- color-scheme: dark !important;
+ color-scheme: dark;
}
}
@@ -14,7 +14,7 @@
@media (prefers-color-scheme: light) {
* {
- color-scheme: light !important;
+ color-scheme: light;
}
}
diff --git a/templates/base.html b/templates/base.html
index e7c63eb..f32d390 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -23,7 +23,8 @@
{%- block feeds -%}{%- endblock -%}
{% endif %}
-
+ {% set css = load_data(path="style.css") %}
+
{%- if page.extra.stylesheets or section.extra.stylesheets %}
{%- for stylesheet in page.extra.stylesheets | default(value=section.extra.stylesheets) %}
@@ -142,5 +143,7 @@