From f6ac7497c4a44668505341a145909411b7ddc9b5 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 19 Jul 2024 02:43:02 -0400 Subject: cleanup templates --- static/main.css | 10 ++++++---- templates/404.html | 7 ++++++- templates/base.html | 16 ++++++++-------- templates/index.html | 2 +- 4 files changed, 21 insertions(+), 14 deletions(-) diff --git a/static/main.css b/static/main.css index 89789c2..133e31d 100644 --- a/static/main.css +++ b/static/main.css @@ -1,9 +1,11 @@ +@import url("https://unpkg.com/@catppuccin/palette/css/catppuccin.css"); + :root { - --background-color: #1e1e2e; + --background-color: var(--ctp-mocha-base); --primary-font: "Noto Sans"; - --regular-text: #cdd6f4; - --blue-text: #89b4fa; - --subtext: #bac2de; + --regular-text: var(--ctp-mocha-text); + --blue-text: var(--ctp-mocha-blue); + --subtext: var(--ctp-mocha-subtext1); --medium-screen: 768px; } diff --git a/templates/404.html b/templates/404.html index 39f9d4d..e0d1ed7 100644 --- a/templates/404.html +++ b/templates/404.html @@ -6,5 +6,10 @@ {% block content %}

404 :(

-Can I get you some tapwater? +Can I get you some tapwater? {% endblock content %} diff --git a/templates/base.html b/templates/base.html index 9a2c565..9a5f8de 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,7 +1,7 @@ + {% block head %} - {% block head %} {% block title %}{% endblock title %} @@ -9,14 +9,14 @@ name="description" content="{% block description %}{% endblock description %}" /> - - - {% endblock head %} + + + {% endblock head %}

getchoo's website 🦀

+ {% block nav %} + {% endblock nav %} {% block content %}{% endblock content %} + {% block footer %} + {% endblock footer %} diff --git a/templates/index.html b/templates/index.html index 3617682..db540b6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -9,7 +9,7 @@
{% for gif in config.extra.gifs %} - {% set img = '' ~ gif.alt ~ '' %} + {% set img = '' ~ gif.alt ~ '' %} {% if gif.href %} {{ img | safe }} {% else %} -- cgit v1.2.3