diff --git a/sass/stylesheet.css b/sass/stylesheet.css index 627224e..b220310 100644 --- a/sass/stylesheet.css +++ b/sass/stylesheet.css @@ -1,8 +1,14 @@ +/* + Made with love by @kittywitch ^_^ +*/ * { box-sizing: border-box; } html { - font-family: "Monaspace Krypton", monospace; } + color: #ddd; + background: #141414; } + html h1, html h2, html h3 { + color: #eee; } body { /* Make the body a 80 character wide container */ @@ -14,6 +20,10 @@ body { /* Make sure the edge of the body has a gap for mobile */ padding: 1em; } +/* A kindness to those of you who don't use Javascript */ +.nonoscript { + display: none; } + #gallery ul { list-style-type: none; margin: 0; @@ -67,14 +77,11 @@ footer nav ul { list-style-type: none; padding: 0; margin: 0; - display: flex; - flex-wrap: wrap; - column-count: 2; - gap: 0.5em 0.25em; } + display: grid; + grid-template-columns: 1fr 1fr; } footer nav ul li { padding: 0; - margin: 0; - flex-grow: 1; } + margin: 0; } footer nav ul li:nth-child(2n) { text-align: right; } @@ -82,15 +89,15 @@ footer nav ul { html { color: #ddd; background: #141414; } - h1, h2, h3 { - color: #eee; } } + html h1, html h2, html h3 { + color: #eee; } } @media (prefers-color-scheme: light) { html { color: #333; background: #fcfcfc; } - h1, h2, h3 { - color: #111; } } + html h1, html h2, html h3 { + color: #111; } } html:has(#color-scheme-dark:checked) { color: #ddd; diff --git a/templates/base-page-title.html b/templates/base-page-title.html deleted file mode 100644 index 49f1fab..0000000 --- a/templates/base-page-title.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - {{ page.title }} - {{ config.extra.site_title }} - {% include "head.html" %} - - - -
-
- {% include "header.html" %} -
-
- {% block content %} {% endblock content %} -
- -
- - - diff --git a/templates/base-section-title.html b/templates/base-section-title.html deleted file mode 100644 index 9695fca..0000000 --- a/templates/base-section-title.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - {{ section.title }} - {{ config.extra.site_title }} - {% include "head.html" %} - - - -
-
- {% include "header.html" %} -
-
- {% block content %} {% endblock content %} -
- -
- - - diff --git a/templates/base.html b/templates/base.html index 055434d..521c47d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,24 +1,35 @@ + +{% include "love.html" %} + - - - {{ config.extra.site_title }} - {% include "head.html" %} - + + + + {% if section is defined and section.title is defined and section.title is string %} + {{ section.title }} - + {% elif page is defined and page.title is defined and page.title is string %} + {{ page.title }} - + {% endif %} + {{ config.extra.site_title }} + + {% include "head.html" %} + - +
-
- {% include "header.html" %} -
-
- {% block content %} {% endblock content %} -
- -
- +
+ {% include "header.html" %} +
+
+ {% block content %} {% endblock content %} +
+ + + {% include "nonoscript.html" %} + diff --git a/templates/blog.html b/templates/blog.html index 3635866..90b3a03 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -1,4 +1,4 @@ -{% extends "base-section-title.html" %} +{% extends "base.html" %} {% block content %}
diff --git a/templates/colorscheme.html b/templates/colorscheme.html new file mode 100644 index 0000000..e8ac7f2 --- /dev/null +++ b/templates/colorscheme.html @@ -0,0 +1,74 @@ + + + + +
+ Site color scheme + + + + + + +
+ + + + + diff --git a/templates/header.html b/templates/header.html index 67640ed..37d69f8 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1,7 +1,4 @@ - - - - +{% include "colorscheme.html" %}

{{ config.extra.site_title }}