1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2026-01-07 23:47:27 +00:00

style: improve SCSS style

This commit is contained in:
Cotes Chung
2022-10-20 02:05:29 +08:00
parent 294e2985c1
commit a6ce765082
15 changed files with 242 additions and 296 deletions

View File

@@ -41,8 +41,6 @@
content: "";
display: inline-block;
position: relative;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
width: 12px;
height: 12px;
@@ -53,7 +51,6 @@
box-shadow: 0 0 2px 0 #c2c6cc;
z-index: 1;
}
}
ul {
@@ -65,8 +62,8 @@
text-overflow: ellipsis;
&:nth-child(odd) {
background-color: var(--main-bg, #fff);
background-image: linear-gradient(to left, #fff, #fbfbfb, #fbfbfb, #fbfbfb, #fff);
background-color: var(--main-bg, #ffffff);
background-image: linear-gradient(to left, #ffffff, #fbfbfb, #fbfbfb, #fbfbfb, #ffffff);
}
&::before {
@@ -81,7 +78,6 @@
&:last-child li:last-child::before {
height: 1.5rem;
}
} /* #archives ul */
.date {
@@ -97,8 +93,7 @@
&.day {
font-size: 85%;
font-family: 'Lato', sans-serif;
font-family: Lato, sans-serif;
}
}
@@ -117,8 +112,6 @@
content: "";
display: inline-block;
position: relative;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
width: 8px;
height: 8px;
@@ -130,8 +123,7 @@
z-index: 1;
}
}
} // #archives
} /* #archives */
@media all and (max-width: 576px) {
#archives {