模板:Main page/featured/styles.css:修订间差异

来自NebulaeWiki
(创建页面,内容为“#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, #000, transparent ); border-radius: 0 0 8px 8px; content: ''; } #home-featured .home-card__foreground { pointer-events: none; right: 15px; bottom: 15p…”)
 
无编辑摘要
第5行: 第5行:
#home-featured .home-card__background a {
#home-featured .home-card__background a {
display: block;
display: block;
height: 100%;
height: 10%;
}
}



2023年9月19日 (二) 14:22的版本

#home-featured {
	overflow: hidden;
}

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

#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, #000, transparent );
	border-radius: 0 0 8px 8px;
	content: '';
}

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