refactor(typo): optimize the site-title position

This commit is contained in:
Cotes Chung 2022-10-11 22:47:36 +08:00
parent 65f722fb04
commit fd5df7e1a1
No known key found for this signature in database
GPG key ID: 0D9E54843167A808
2 changed files with 8 additions and 4 deletions

View file

@ -21,7 +21,7 @@
</a>
</div>
<div class="site-title mt-3">
<div class="site-title">
<a href="{{ '/' | relative_url }}">{{ site.title }}</a>
</div>
<div class="site-subtitle font-italic">{{ site.tagline }}</div>

View file

@ -689,6 +689,8 @@ $sidebar-display: "sidebar-display";
} /* #avatar */
.site-title {
margin-top: 0.55rem;
a {
@extend %clickable-transition;
@ -702,9 +704,9 @@ $sidebar-display: "sidebar-display";
.site-subtitle {
font-size: 95%;
color: var(--sidebar-muted-color);
line-height: 1.2rem;
line-height: 1.25rem;
word-spacing: 1px;
margin: 0.5rem 1.5rem 0.5rem 1.5rem;
margin: 0.2rem 1.5rem 0.5rem 1.5rem;
min-height: 3rem; /* avoid vertical shifting in multi-line words */
user-select: none;
}
@ -1584,6 +1586,8 @@ $sidebar-display: "sidebar-display";
.site-title {
@extend %profile-ml;
margin-top: 0.4rem;
a {
font-size: 1.7rem;
letter-spacing: 1px;
@ -1594,7 +1598,7 @@ $sidebar-display: "sidebar-display";
@extend %profile-ml;
word-spacing: 0;
margin-top: 0.3rem;
margin-top: 0;
}
} /* .profile-wrapper (min-width: 1650px) */