feat(style): improve style shortcode to support nesting (#263)

This commit is contained in:
Dillon
2020-04-27 01:19:23 +08:00
committed by GitHub
parent f8b84de3f8
commit fc46fba6aa
19 changed files with 90 additions and 63 deletions

View File

@@ -15,6 +15,7 @@
padding: 30% 0 0;
position: relative;
margin: 0.6rem auto;
@include transition(transform 0.4s ease);
img {
position: absolute;
@@ -24,6 +25,10 @@
top: 0;
object-fit: cover;
}
&:hover {
@include transform(scale(1.01));
}
}
.single-title {