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

Optimized typography.

This commit is contained in:
Cotes Chung
2020-04-07 20:23:57 +08:00
parent 3e8dc979c6
commit b393e12e30
10 changed files with 51 additions and 346 deletions

View File

@@ -18,6 +18,10 @@
background-color: var(--timeline-color);
}
%date-font {
font-family: 'Roboto Condensed', sans-serif;
}
#archives {
letter-spacing: 0.03rem;
li {
@@ -37,7 +41,7 @@
span.lead {
font-size: 1.5rem;
font-family: 'Oswald', sans-serif;
@extend %date-font;
position: relative;
left: 8px;
@@ -75,7 +79,7 @@
&.month {
width: 1.4rem;
text-align: center;
font-family: 'Oswald', sans-serif;
@extend %date-font;
~a::before {
/* A dot for Month and Day */
content: "";
@@ -96,7 +100,7 @@
}
&.day {
font-size: 85%;
font-family: sans-serif;
font-family: 'Lato', sans-serif;
text-align: center;
margin-right: -2px;
width: 1.2rem;