1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2026-01-06 06:56:11 +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

@@ -28,10 +28,8 @@
border-top-left-radius: 0;
border-top-right-radius: 0;
}
}
} // .categories
} /* .categories */
.category-trigger {
width: 1.7rem;
@@ -40,18 +38,18 @@
text-align: center;
color: #6c757d !important;
&:hover {
i {
color: var(--categories-icon-hover-color);
}
}
i {
position: relative;
height: 0.7rem;
width: 1rem;
transition: transform 300ms ease;
}
&:hover {
i {
color: var(--categories-icon-hover-color);
}
}
}
@media (hover: hover) { // only works on desktop