chore: remove h1 element from site title (#1960)

This commit is contained in:
Alexander Fuks 2024-09-24 04:21:34 +04:00 committed by GitHub
parent 73749067c5
commit e6b87d2811
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 10 deletions

View file

@ -11,9 +11,7 @@
{%- endif -%}
</a>
<h1 class="site-title">
<a href="{{ '/' | relative_url }}">{{ site.title }}</a>
</h1>
<a class="site-title d-block" href="{{ '/' | relative_url }}">{{ site.title }}</a>
<p class="site-subtitle fst-italic mb-0">{{ site.tagline }}</p>
</header>
<!-- .profile-wrapper -->

View file

@ -738,6 +738,9 @@ $btn-mb: 0.5rem;
}
.site-title {
@extend %clickable-transition;
@extend %sidebar-link-hover;
font-family: inherit;
font-weight: 900;
font-size: 1.75rem;
@ -745,13 +748,8 @@ $btn-mb: 0.5rem;
letter-spacing: 0.25px;
margin-top: 1.25rem;
margin-bottom: 0.5rem;
a {
@extend %clickable-transition;
@extend %sidebar-link-hover;
color: var(--site-title-color);
}
width: fit-content;
color: var(--site-title-color);
}
.site-subtitle {