1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-19 14:14:17 +00:00

Optimize the typography.

This commit is contained in:
Cotes Chung
2020-02-29 00:16:47 +08:00
parent 3b4ea05cd3
commit 0425b1058f
7 changed files with 50 additions and 41 deletions

View File

@@ -29,18 +29,27 @@
color: var(--link-color);
}
%link-underline {
border-bottom: 1px solid var(--link-underline-color);
}
%no-bottom-border {
border-bottom: none;
}
%section {
line-height: 1.2;
margin-bottom: 1rem;
#post-wrapper & {
line-height: 1.2;
margin-bottom: 1rem;
}
}
%anchor {
padding-top: 3.5rem;
margin-top: -2.5rem;
#post-wrapper &,
#page & {
padding-top: 3.5rem;
margin-top: -2.5rem;
}
}
%footer-content {