From c436c8abeb7a9aee5d35e1135ca63ca046051f5e Mon Sep 17 00:00:00 2001 From: trivernis Date: Fri, 9 Jun 2023 08:59:47 +0200 Subject: [PATCH] Improve style of footer and heading sizes --- sass/style.scss | 7 ++++++- templates/base.html | 4 ++-- templates/plant.html | 6 +++--- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/sass/style.scss b/sass/style.scss index 79b3106..17254ab 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -37,7 +37,12 @@ footer.footer { a { color: $highlight-inactive-text; - text-decoration: none; + text-decoration-color: $highlight-inactive-text; + + &:hover { + color: $highlight-text; + text-decoration-color: $highlight-text; + } } } diff --git a/templates/base.html b/templates/base.html index d7eb877..774e0a0 100644 --- a/templates/base.html +++ b/templates/base.html @@ -38,10 +38,10 @@ My Website diff --git a/templates/plant.html b/templates/plant.html index a77eb21..e490bb8 100644 --- a/templates/plant.html +++ b/templates/plant.html @@ -28,7 +28,7 @@ {% endblock image %}
-

Site

+

Site

{% if data.site.temp %} {{ macros::badge(icon="thermometer", class="temp-badge", text=data.site.temp, plain="Prefers " ~ data.site.temp ~ " temperatures.") }} @@ -48,7 +48,7 @@
-

Care

+

Care

{% if data.care.water_schedule %} {{ macros::badge(icon="drizzle", class="water-badge", text="every " ~ data.care.water_schedule, plain="Water every " ~ data.care.water_schedule ~ ".") }} @@ -70,7 +70,7 @@ {% block additional_chapters %} {% for key, chapter in data.additional_chapters %}
-

{{ chapter.title }}

+

{{ chapter.title }}

{{ load_data(path="/static/plants/" ~ page.extra.data ~ "/" ~ chapter.file ~ ".md") | markdown | safe }}
{% endfor %}