Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | @import "../../styles/colors";
@mixin cf {
&::after,
&::before {
display: table;
content: "";
}
&::after {
clear: both;
}
}
// Base styles
.data {
transition: transform 0.3s;
transform: translateY(0);
}
.data-content {
position: relative;
z-index: 1;
padding: 1em;
background-color: $white;
}
.stats {
display: flex;
flex-wrap: wrap;
align-items: center;
}
.custom-card {
transition: box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
&:hover {
box-shadow: 0 0 30px 0 rgb(0 0 0 / 30%);
}
p {
color: $black;
}
}
.date {
padding: 0.8em;
color: $white;
background-color: $bermuda;
span {
display: block;
text-align: center;
}
}
.title {
margin-top: 20px;
color: $light-blue;
}
.wrapper {
position: relative;
min-height: 5.7rem;
overflow: hidden;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);
transition: all 0.5s ease 0s;
@media (min-width: 576px) {
min-height: 15rem;
}
&:hover {
opacity: 0.9;
}
}
// Style for img tag to match div.wrapper
img.wrapper {
display: block;
width: 100%;
height: 5.7rem;
object-fit: cover;
object-position: center;
@media (min-width: 576px) {
height: 15rem;
}
}
.image-link {
display: block;
}
|