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

Finished the rest dark mode toggle job.

This commit is contained in:
Cotes Chung
2020-02-12 00:04:59 +08:00
parent 7e92a32243
commit 58af2fefce
7 changed files with 154 additions and 90 deletions

View File

@@ -64,25 +64,3 @@
-webkit-transform: rotate(-90deg); /* Safari 3-8 */
transform: rotate(-90deg);
}
@media (prefers-color-scheme: dark) {
.categories.card,
.list-group-item {
background-color: var(--card-bg);
}
.categories .card-header {
background-color: var(--card-header-bg);
}
.categories .list-group-item {
border-left: none;
border-right: none;
padding-left: 2rem;
border-color: var(--main-border);
}
.categories .list-group-item:last-child {
border-bottom-color: var(--card-bg);
}
}