Add Continue Watching / Listening Section #7

This commit is contained in:
prayag17 committed 2023-03-24 12:35:48 +05:30
1 parent 3d40912b6f
commit 112b2babc1
5 files changed
+232 -35

No files matched your search

+3 -5
View File
@@ -2,6 +2,7 @@
.card {
margin-right: 1em;
border-radius: $border-radius-default;
&.landscape {
--image-aspect-ratio: 1.77;
@@ -13,8 +14,7 @@
&-image {
position: relative;
z-index: 1;
border-radius: 10px;
border-radius: $border-radius-default;
aspect-ratio: var(--image-aspect-ratio);
background-size: cover;
background-position: center;
@@ -33,16 +33,14 @@
width: 100% !important;
color: transparent;
background: $clr-gradient-dark;
z-index: 0;
border-radius: $border-radius-default;
}
}
}
&-text-container {
margin-top: 0.5em;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0 !important;
}
}