Template:Main page/featured/styles.css: Difference between revisions
Template page
More actions
[checked revision] | [checked revision] |
Created page with "#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 { justify-content: flex-end; } #home-featured .home-card__badge { border-bottom-left-radius: var(--border-radius-base); } #home-feature..." |
m Protected "Template:Main page/featured/styles.css" ([Edit=Allow only central notice administrators] (indefinite) [Move=Allow only central notice administrators] (indefinite)) |
(No difference)
|
Latest revision as of 15:57, 28 June 2025
#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 {
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%);
}