1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2026-01-08 16:06:16 +00:00

refactor: reduce duplicate scss

This commit is contained in:
Cotes Chung
2024-10-20 13:47:54 +08:00
parent 6f461132c0
commit c1bd9eb9ee
6 changed files with 45 additions and 38 deletions

View File

@@ -58,9 +58,8 @@
li {
font-size: 1.1rem;
line-height: 3rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@extend %text-ellipsis;
&:nth-child(odd) {
background-color: var(--main-bg, #ffffff);