Optimize typography

- Set the table width to 100% on small screens
- Optimize list style
- Optimize image style
- Make checkbox color lighter (light mode)
- Reduce the space for inline code
This commit is contained in:
Cotes Chung
2020-12-24 19:37:33 +08:00
parent ef0c9ce770
commit fa310d3190
7 changed files with 76 additions and 70 deletions

View File

@@ -19,10 +19,6 @@
background-color: var(--timeline-color);
}
%date-font {
font-family: 'Roboto Condensed', sans-serif;
}
#archives {
letter-spacing: 0.03rem;
li {
@@ -42,7 +38,6 @@
span.lead {
font-size: 1.5rem;
@extend %date-font;
position: relative;
left: 8px;
@@ -54,8 +49,7 @@
}
}
&::after {
/* Year dot */
&::after { /* Year dot */
content: "";
display: block;
position: relative;
@@ -80,8 +74,8 @@
&.month {
width: 1.4rem;
text-align: center;
@extend %date-font;
~a::before {
~ a::before {
/* A dot for Month and Day */
content: "";
display: inline-block;