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

perf(ui): improve related posts design

This commit is contained in:
Cotes Chung
2023-03-21 07:20:32 +08:00
parent 97b8dfeed6
commit 2918da9f29
9 changed files with 48 additions and 75 deletions

View File

@@ -333,24 +333,13 @@ h1 + .post-meta {
}
a:hover {
text-decoration: none;
@extend %no-decoration;
}
.card {
border-color: var(--card-border-color);
background-color: var(--card-bg);
box-shadow: 0 0 5px 0 var(--card-box-shadow);
transition: all 0.3s ease-in-out;
h3 {
@extend %text-color;
}
&:hover {
-webkit-transform: translate3d(0, -3px, 0);
transform: translate3d(0, -3px, 0);
box-shadow: 0 10px 15px -4px rgba(0, 0, 0, 0.15);
}
}
}