模板:Main page/featured/styles.css

来自决策链云智库
#home-featured {
	overflow: hidden;
}

#home-featured .home-card__background a {
	display: block;
	height: 100%;
}

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

#home-featured .home-card__foreground {
	top: unset;
}

#home-featured .home-card__header {
	color: #000;
}