From 0055a3613ec86c271c9381aee5de8d7799d6567a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar?= Date: Sat, 9 Sep 2023 18:03:09 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BF=EF=B8=8F=20fix(a11y):=20update=20head?= =?UTF-8?q?ing=20tags=20(#140)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/main.scss | 8 +++----- sass/parts/_home-banner.scss | 1 + sass/parts/_misc.scss | 1 + sass/parts/_posts_list.scss | 1 + templates/macros/cards_pages.html | 4 ++-- templates/macros/content.html | 4 ++-- templates/macros/list_posts.html | 4 ++-- templates/macros/page_desc.html | 2 +- templates/macros/page_header.html | 4 ++-- 9 files changed, 15 insertions(+), 14 deletions(-) diff --git a/sass/main.scss b/sass/main.scss index 6b7a7a5..3286eca 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -150,12 +150,10 @@ article { .section-title { display: block; - font-size: 2.2em; - margin-bottom: 0em; - margin-left: 0; - margin-right: 0; - font-weight: 550; + margin: 0; color: var(--text-color-high-contrast); + font-weight: 550; + font-size: 2.2em; } .last-updated { diff --git a/sass/parts/_home-banner.scss b/sass/parts/_home-banner.scss index 494063b..9b63566 100644 --- a/sass/parts/_home-banner.scss +++ b/sass/parts/_home-banner.scss @@ -17,6 +17,7 @@ line-height: 3rem; #home-banner-header { + margin: 0; margin-bottom: 1rem; font-weight: 550; font-size: 2.8rem; diff --git a/sass/parts/_misc.scss b/sass/parts/_misc.scss index ba10813..def72aa 100644 --- a/sass/parts/_misc.scss +++ b/sass/parts/_misc.scss @@ -6,6 +6,7 @@ } .article-title { + margin: 0; color: var(--text-color-high-contrast); display: block; font-size: 2rem; diff --git a/sass/parts/_posts_list.scss b/sass/parts/_posts_list.scss index 3239e1b..0f790e4 100644 --- a/sass/parts/_posts_list.scss +++ b/sass/parts/_posts_list.scss @@ -32,6 +32,7 @@ .bloglist-title { + margin: 0; font-size: 1.2em; font-weight: bold; diff --git a/templates/macros/cards_pages.html b/templates/macros/cards_pages.html index 529b1df..98fc9ae 100644 --- a/templates/macros/cards_pages.html +++ b/templates/macros/cards_pages.html @@ -27,13 +27,13 @@ {% endif %}
-

+

{% if page.extra.link_to %} {{page.title}} {% else %} {{page.title}} {% endif %} -

+
{% if page.description %} diff --git a/templates/macros/content.html b/templates/macros/content.html index b37df89..2865c84 100644 --- a/templates/macros/content.html +++ b/templates/macros/content.html @@ -49,9 +49,9 @@
-
+

{{ page.title }} -

+
    {% if page.draft %} diff --git a/templates/macros/list_posts.html b/templates/macros/list_posts.html index ad3e980..880c9dc 100644 --- a/templates/macros/list_posts.html +++ b/templates/macros/list_posts.html @@ -18,9 +18,9 @@ {% endif %}
    - + {% if post.taxonomies.tags %}
    diff --git a/templates/macros/page_desc.html b/templates/macros/page_desc.html index 0b59b0f..30b7f86 100644 --- a/templates/macros/page_desc.html +++ b/templates/macros/page_desc.html @@ -2,7 +2,7 @@