JClockH xc(讨论 | 贡献) 小无编辑摘要 |
JClockH xc(讨论 | 贡献) 小无编辑摘要 |
||
第1行: | 第1行: | ||
#home-selected { | #home-selected { | ||
margin-top: -0. | margin-top: -0.5em; | ||
} | } | ||
#home-selected .home-card__background | #home-selected .home-card__background { | ||
background-position: center center !important; | |||
background-position: center center; | width: 110%; | ||
width: | height: 110%; | ||
height: | |||
} | } | ||
#home-selected .home-card__background a { | #home-selected .home-card__background a { | ||
display: block; | display: block; | ||
height: | height: 100%; | ||
} | } | ||
2023年8月15日 (二) 20:38的版本
#home-selected { margin-top: -0.5em; } #home-selected .home-card__background { background-position: center center !important; width: 110%; height: 110%; } #home-selected .home-card__background a { display: block; height: 100%; } #home-selected .home-card__background:after { position: absolute; pointer-events: none; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; display: block; content: ""; } #home-selected .home-card__foreground { pointer-events: none; right: 15px; bottom: 15px; left: 15px; }