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

View file

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