MediaWiki:Common.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第10行: | 第10行: | ||
} | } | ||
.mw-logo-icon { | .mw-logo-icon { | ||
width: | width: 30px; | ||
height: | height: 30px; | ||
} | } | ||
.mw-logo:before { | .mw-logo:before { | ||
content: ''; | content: ''; | ||
background-image: url(https://wiki.tianxia.world//w/images/c/c9/Logo.png); | background-image: url(https://wiki.tianxia.world//w/images/c/c9/Logo.png); | ||
width: 180px; | |||
height: 100px; | height: 100px; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: 120px auto; | background-size: 120px auto; | ||
position: absolute; | position: absolute; | ||
top: -24px; | top: -24px; | ||
left: | left: -20px; | ||
} | |||
.mw-logo-container { | |||
float: left; | |||
margin-left: 110px; | |||
} | } |
2024年4月26日 (五) 13:52的版本
/* 这里放置的CSS将应用于所有皮肤 */ .vector-body img { width: 100%; height: 100%; object-fit: contain; } .mw-logo { position: relative; } .mw-logo-icon { width: 30px; height: 30px; } .mw-logo:before { content: ''; background-image: url(https://wiki.tianxia.world//w/images/c/c9/Logo.png); width: 180px; height: 100px; background-repeat: no-repeat; background-size: 120px auto; position: absolute; top: -24px; left: -20px; } .mw-logo-container { float: left; margin-left: 110px; }