_sass/components/_card.scss in jekyll-sleek-0.1.2 vs _sass/components/_card.scss in jekyll-sleek-0.1.3
- old
+ new
@@ -5,14 +5,16 @@
border-radius: 4px;
overflow: hidden;
background-color: $bg-color;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
margin-bottom: 5.26316%;
+ border-bottom: 0;
transition: box-shadow .25s ease;
&:hover,
&:focus {
+ border-bottom: 0;
box-shadow: 0 2px 40px 0 hsla(232, 8%, 63%, .3);
}
@include breakpoint($md) {
width: 48.4375%;
@@ -39,11 +41,12 @@
}
}
.post-card__thumb {
margin: 0;
- background: $dark-light;
+ background: $bg-color;
position: relative;
+ overflow: hidden;
&::after {
content: "";
display: block;
height: 0;