2024-02-15 14:04:01 +01:00
|
|
|
.components__member_card {
|
|
|
|
display: grid;
|
2024-07-11 17:06:31 +02:00
|
|
|
grid-template-rows: 1fr auto;
|
|
|
|
width: 16rem;
|
2024-02-15 14:04:01 +01:00
|
|
|
aspect-ratio: 1;
|
|
|
|
box-shadow: 0 0 0.4rem 0.2rem var(--_translucent);
|
|
|
|
border: var(--_border-size) solid transparent;
|
2024-07-11 17:06:31 +02:00
|
|
|
background-size: 90%;
|
|
|
|
background-position-x: center;
|
2024-02-15 14:04:01 +01:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
|
|
|
&:has(a:focus-visible),
|
|
|
|
&:hover {
|
|
|
|
border: var(--_border-size) solid var(--_accent-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
& h3 {
|
|
|
|
margin: 0;
|
2024-07-11 17:06:31 +02:00
|
|
|
text-align: center;
|
2024-02-15 14:04:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
& a {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.components__member_card__icon {
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components__member_card__content {
|
2024-07-11 14:07:44 +02:00
|
|
|
background-color: var(--_translucent-bg);
|
2024-02-15 14:04:01 +01:00
|
|
|
backdrop-filter: blur(var(--_blur));
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: var(--_gap-half);
|
|
|
|
gap: var(--_gap-half);
|
|
|
|
}
|
|
|
|
|
|
|
|
.components__member_card__groups {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: var(--_gap-half);
|
|
|
|
|
|
|
|
& span {
|
|
|
|
padding: var(--_gap-half);
|
|
|
|
background-color: var(--_translucent);
|
|
|
|
}
|
|
|
|
}
|