More actions
(Created page with ".profile-iconbox { position: relative; background: #242a31; border-radius: 8px; box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 ); font-size: 0.875rem; overflow: hidden; display: inline-block; min-width: 170px; width: 100%; height: 4rem; } .profile-iconbox .profile-iconbox__img a { display: block; height: 100%; } .profile-iconbox .profile-iconbox__img:after { position: absolute; pointer-events: none; right: 0; bot...") |
m (fix) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
. | .home-event .home-card { | ||
height: 5rem; | |||
height: | |||
} | } | ||
. | .home-event .home-card__foreground { | ||
position: absolute; | |||
top: 0; | |||
bottom: 0; | |||
left: 0; | |||
right: 0; | |||
padding: var(--space-md); | |||
display: flex; | |||
flex-direction: column; | |||
justify-content: center; | |||
gap: var(--space-xxs); | |||
color: #fff; | |||
line-height: var(--line-height-xs); | |||
pointer-events: none; | |||
} | } | ||
.home-card__header { | |||
. | color: var(--color-base--emphasized); | ||
font-size: 1rem; | |||
font-weight: var(--font-weight-semibold); | |||
line-height: var(--line-height-xs); | |||
} | } | ||
.home-event .home-card__background::after { | |||
. | position: absolute; | ||
pointer-events: none; | |||
top: 0; | |||
bottom: 0; | |||
left: 0; | |||
right: 0; | |||
display: block; | |||
background: linear-gradient(to right,#000,transparent); | |||
content: ""; | |||
} | } | ||
Latest revision as of 22:32, 28 October 2023
.home-event .home-card {
height: 5rem;
}
.home-event .home-card__foreground {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
padding: var(--space-md);
display: flex;
flex-direction: column;
justify-content: center;
gap: var(--space-xxs);
color: #fff;
line-height: var(--line-height-xs);
pointer-events: none;
}
.home-card__header {
color: var(--color-base--emphasized);
font-size: 1rem;
font-weight: var(--font-weight-semibold);
line-height: var(--line-height-xs);
}
.home-event .home-card__background::after {
position: absolute;
pointer-events: none;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: block;
background: linear-gradient(to right,#000,transparent);
content: "";
}