diff --git a/sass/stylesheet.scss b/sass/stylesheet.scss index 75523d4..52db5cd 100644 --- a/sass/stylesheet.scss +++ b/sass/stylesheet.scss @@ -1,3 +1,7 @@ +/* + Made with love by @kittywitch ^_^ +*/ + $light-bg: #fcfcfc; $light-fg: #333; $light-heading: #111; @@ -13,7 +17,11 @@ $link-visited: #3784e8; } html { - font-family: "Monaspace Krypton", monospace; + color: $dark-fg; + background: $dark-bg; + h1, h2, h3 { + color: $dark-heading; + } } body { @@ -27,6 +35,11 @@ body { padding: 1em; } +/* A kindness to those of you who don't use Javascript */ +.nonoscript { + display: none; +} + #gallery { ul { list-style-type: none; @@ -98,14 +111,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; li { padding: 0; margin: 0; - flex-grow: 1; &:nth-child(2n) { text-align: right; } @@ -116,9 +126,9 @@ footer nav ul { html { color: $dark-fg; background: $dark-bg; - } - h1, h2, h3 { - color: $dark-heading; + h1, h2, h3 { + color: $dark-heading; + } } } @@ -126,9 +136,9 @@ footer nav ul { html { color: $light-fg; background: $light-bg; - } - h1, h2, h3 { - color: $light-heading; + h1, h2, h3 { + color: $light-heading; + } } } 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 }}