Files
blitzkit/packages/website/src/components/TankopediaVideos/index.module.css
T

48 lines
993 B
CSS
Raw Normal View History

.section {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-5);
padding: var(--space-4);
.cards {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: var(--space-4);
width: 100%;
.card {
display: flex;
flex: 0 0 auto;
flex-direction: column;
overflow: hidden;
border-radius: var(--space-3);
background-size: cover;
background-position: 0 18px;
color: inherit;
text-decoration: none;
.thumbnail {
width: 16rem;
aspect-ratio: 16 / 9;
background-size: cover;
background-position: center;
}
.info {
display: flex;
align-items: center;
justify-content: center;
gap: var(--space-1);
padding: var(--space-3);
backdrop-filter: blur(4rem);
-webkit-backdrop-filter: blur(4rem);
}
&:hover .info {
text-decoration: underline;
}
}
}
}