1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

perf: avoid the layout shift for post datetime

This commit is contained in:
Cotes Chung
2022-04-26 00:39:58 +08:00
parent 42c44a8bc1
commit 6d35f5f8da
20 changed files with 87 additions and 160 deletions

View File

@@ -173,6 +173,8 @@ nav[data-toggle=toc] {
em {
@extend %normal-font-style;
color: var(--relate-post-date);
}
.card {
@@ -194,10 +196,6 @@ nav[data-toggle=toc] {
}
}
.timeago {
color: var(--relate-post-date);
}
p {
font-size: 0.9rem;
margin-bottom: 0.5rem;