JClockH xc(讨论 | 贡献) 小无编辑摘要 |
JClockH xc(讨论 | 贡献) 小无编辑摘要 |
||
第22行: | 第22行: | ||
} | } | ||
.header { | .header { | ||
pointer-events: none; | |||
height: 100%; | |||
width: 100%; | |||
display: flex; | |||
align-items: center; | |||
padding: 0 15px; | |||
} | } | ||
.mainpage_background { | .mainpage_background { |
2023年8月14日 (一) 19:07的版本
.title { font-size: 15px; line-height: 18px; margin-top: 3em; margin-bottom: 1em; text-align: center; font-family: 'Minecraft AE' !important; } .sub { font-size: 8px; margin-left: 20em; } .subtitle { width: 100%; font-size: 16px; margin-top: 1em; margin-bottom: 1.5em; text-align: center; background-color: #D3D3D3; color: #ffffff; font-family: 'Minecraft AE' !important; } .header { pointer-events: none; height: 100%; width: 100%; display: flex; align-items: center; padding: 0 15px; } .mainpage_background { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: #242a31; border-radius: 8px; } .mainpage_background img { width: 100%; height: 100%; object-fit: cover; object-position: center; } .mainpage_background:after { position: absolute; pointer-events: none; top: 0; right: 0; bottom: 0; left: 0; display: block; content: ""; }