Template:Main page/featured/styles.css: Difference between revisions
Template page
More actions
m 1 revision imported from starcitizen:Template:Main_page/featured/styles.css |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 16: | Line 16: | ||
#home-featured .home-card__foreground { | #home-featured .home-card__foreground, #home-newest .home-card__foreground { | ||
justify-content: flex-end; | justify-content: flex-end; | ||
} | } | ||
Latest revision as of 13:17, 9 November 2026
#home-featured {
overflow: hidden;
border-radius: var(--border-radius-medium);
}
#home-featured .home-card__background a {
display: block;
height: 100%;
}
#home-featured .home-card__background:after {
top: unset;
height: 60%;
background: linear-gradient( to top, #000, transparent );
}
#home-featured .home-card__foreground, #home-newest .home-card__foreground {
justify-content: flex-end;
}
#home-featured .home-card__badge {
border-bottom-left-radius: var(--border-radius-base);
}
#home-featured.home-card--button:hover .home-card__background::after {
transform: translateY(100%);
}