mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 05:41:31 +00:00
refactor: optimize meta font size
This commit is contained in:
@@ -136,7 +136,7 @@ footer {
|
||||
height: $footer-height;
|
||||
border-top: 1px solid var(--main-border-color);
|
||||
|
||||
@extend %text-meta;
|
||||
@extend %text-xs;
|
||||
|
||||
a {
|
||||
@extend %text-highlight;
|
||||
@@ -379,7 +379,7 @@ main {
|
||||
}
|
||||
|
||||
.post-meta {
|
||||
@extend %text-meta;
|
||||
@extend %text-sm;
|
||||
|
||||
a {
|
||||
&:not([class]):hover {
|
||||
|
||||
@@ -127,10 +127,14 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
%text-meta {
|
||||
%text-sm {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
%text-xs {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
%sup-fn-target {
|
||||
&:target {
|
||||
background-color: var(--footnote-target-bg);
|
||||
|
||||
@@ -40,7 +40,7 @@ h1 + .post-meta {
|
||||
}
|
||||
|
||||
.post-tail-wrapper {
|
||||
@extend %text-meta;
|
||||
@extend %text-sm;
|
||||
|
||||
margin-top: 6rem;
|
||||
border-bottom: 1px double var(--main-border-color);
|
||||
@@ -57,7 +57,7 @@ h1 + .post-meta {
|
||||
}
|
||||
|
||||
span:last-child {
|
||||
@extend %text-meta;
|
||||
@extend %text-sm;
|
||||
}
|
||||
} /* .license-wrapper */
|
||||
|
||||
@@ -297,6 +297,7 @@ h1 + .post-meta {
|
||||
|
||||
time {
|
||||
@extend %normal-font-style;
|
||||
@extend %text-xs;
|
||||
|
||||
color: var(--text-muted-color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user