Template:Main page/featured/styles.css: Difference between revisions

Template page
imported>Alistair3149
No edit summary
 
No edit summary
Tag: Manual revert
 
(3 intermediate revisions by 2 users not shown)
Line 9: Line 9:


#home-featured .home-card__background:after {
#home-featured .home-card__background:after {
position: absolute;
top: unset;
pointer-events: none;
right: 0;
bottom: 0;
left: 0;
display: block;
height: 60%;
height: 60%;
background: linear-gradient( to top, #000, transparent );
background: linear-gradient( to top, #000, transparent );
border-radius: 0 0 8px 8px;
content: '';
}
}


#home-featured .home-card__foreground {
#home-featured .home-card__foreground {
pointer-events: none;
justify-content: flex-end;
right: 15px;
bottom: 15px;
left: 15px;
}
}

Latest revision as of 18:21, 25 May 2024

#home-featured {
	overflow: hidden;
}

#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;
}