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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user