refactor(typo): optimize the site-title position
This commit is contained in:
parent
65f722fb04
commit
fd5df7e1a1
2 changed files with 8 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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) */
|
||||
|
|
Loading…
Reference in a new issue