1
0
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:
Cotes Chung
2023-10-08 04:40:16 +08:00
parent 575dc87d83
commit 50835b4c71
4 changed files with 12 additions and 7 deletions

View File

@@ -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 {

View File

@@ -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);