Template:MainPage/Citizen/featured/styles.css: Difference between revisions

From IxWiki
Jump to navigation Jump to search
No edit summary
 
m 1 revision imported
(No difference)

Revision as of 13:37, 29 July 2024

#home-featured {
	overflow: hidden;
}

#home-featured .home-card__background {
	overflow: hidden;
    border-top-right-radius: 12px;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

#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--button:hover .home-card__background::after {
	transform: translateY(100%);
}

#home-featured .home-card__foreground {
	justify-content: flex-end;
}