️ fix(a11y): update heading tags (#140)

main
Óscar 1 year ago committed by GitHub
parent c79407e6d7
commit 0055a3613e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -150,12 +150,10 @@ article {
.section-title { .section-title {
display: block; display: block;
font-size: 2.2em; margin: 0;
margin-bottom: 0em;
margin-left: 0;
margin-right: 0;
font-weight: 550;
color: var(--text-color-high-contrast); color: var(--text-color-high-contrast);
font-weight: 550;
font-size: 2.2em;
} }
.last-updated { .last-updated {

@ -17,6 +17,7 @@
line-height: 3rem; line-height: 3rem;
#home-banner-header { #home-banner-header {
margin: 0;
margin-bottom: 1rem; margin-bottom: 1rem;
font-weight: 550; font-weight: 550;
font-size: 2.8rem; font-size: 2.8rem;

@ -6,6 +6,7 @@
} }
.article-title { .article-title {
margin: 0;
color: var(--text-color-high-contrast); color: var(--text-color-high-contrast);
display: block; display: block;
font-size: 2rem; font-size: 2rem;

@ -32,6 +32,7 @@
.bloglist-title { .bloglist-title {
margin: 0;
font-size: 1.2em; font-size: 1.2em;
font-weight: bold; font-weight: bold;

@ -27,13 +27,13 @@
{% endif %} {% endif %}
<div class="card-info"> <div class="card-info">
<h1 class="card-title"> <h2 class="card-title">
{% if page.extra.link_to %} {% if page.extra.link_to %}
<a rel="{{ rel_attributes }}" {{ blank_target }} href={{ page.extra.link_to }}>{{page.title}}</a> <a rel="{{ rel_attributes }}" {{ blank_target }} href={{ page.extra.link_to }}>{{page.title}}</a>
{% else %} {% else %}
<a href={{ page.permalink }}>{{page.title}}</a> <a href={{ page.permalink }}>{{page.title}}</a>
{% endif %} {% endif %}
</h1> </h2>
<div class="card-description"> <div class="card-description">
{% if page.description %} {% if page.description %}

@ -49,9 +49,9 @@
<main> <main>
<article> <article>
<div class="article-title"> <h1 class="article-title">
{{ page.title }} {{ page.title }}
</div> </h1>
<ul class="meta"> <ul class="meta">
{% if page.draft %} {% if page.draft %}

@ -18,9 +18,9 @@
{% endif %} {% endif %}
<div class="bloglist-content"> <div class="bloglist-content">
<div class="bloglist-title"> <h2 class="bloglist-title">
<a href="{{ post.permalink }}">{{ post.title }}</a> <a href="{{ post.permalink }}">{{ post.title }}</a>
</div> </h2>
{% if post.taxonomies.tags %} {% if post.taxonomies.tags %}
<div class="bloglist-tags"> <div class="bloglist-tags">

@ -2,7 +2,7 @@
<div id="banner-container-home"> <div id="banner-container-home">
<div id="home-banner-text"> <div id="home-banner-text">
<div id="home-banner-header">{{ desc.title }}</div> <h1 id="home-banner-header">{{ desc.title }}</h1>
<section id="banner-home-subtitle"> <section id="banner-home-subtitle">
{{ page.content | safe }} {{ page.content | safe }}
</section> </section>

@ -1,7 +1,7 @@
{% macro page_header(title) %} {% macro page_header(title) %}
<div class="title-container section-title bottom-divider"> <h1 class="title-container section-title bottom-divider">
{{ title }} {{ title }}
</div> </h1>
{% endmacro page_header %} {% endmacro page_header %}

Loading…
Cancel
Save