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

来自Dollan Infinity TH Wiki
无编辑摘要
无编辑摘要
第10行: 第10行:
#home-selected .home-card__background a {
#home-selected .home-card__background a {
display: block;
display: block;
height: 100%;
height: 102%;
}
}


第19行: 第19行:
     bottom: 0;
     bottom: 0;
     left: 0;
     left: 0;
     width: 100%;
     width: 102%;
     height: 100%;
     height: 102%;
     display: block;
     display: block;
     content: "";
     content: "";

2023年8月15日 (二) 20:35的版本

#home-selected {
	overflow: hidden;
}

#home-selected .home-card__background img {
	margin-top: 0;
	background-position: center center;
}

#home-selected .home-card__background a {
	display: block;
	height: 102%;
}

#home-selected .home-card__background:after {
	position: absolute;
	pointer-events: none;
    right: 0;
    bottom: 0;
    left: 0;
    width: 102%;
    height: 102%;
    display: block;
    content: "";
}

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