MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第19行: | 第19行: | ||
/* 角色信息框 - 基于Infobox元模板 适配SimmcWIKI专属风格 */ | /* 角色信息框 - 基于Infobox元模板 适配SimmcWIKI专属风格 */ | ||
/* 角色信息框 修复闪烁问题 */ | |||
.infobox { | .infobox { | ||
border: 4vmin solid transparent !important; | |||
border: 4vmin solid transparent | border-image:url(https://huiji-public.huijistatic.com/simmc/uploads/8/8a/HomePageBoarderImage.png) 170 round !important; | ||
background-color: #fbf2db !important; | |||
border-image:url(https://huiji-public.huijistatic.com/simmc/uploads/8/8a/HomePageBoarderImage.png) 170 round; | color: #361d07 !important; | ||
background-color: #fbf2db; | margin: 0 0 0.5em 1em !important; | ||
color: #361d07; | padding: 0.5em !important; | ||
float: right !important; | |||
margin: 0 0 0.5em 1em; | clear: right !important; | ||
padding: 0.5em; | font-size: 88% !important; | ||
float: right; | line-height: 1.6em !important; | ||
clear: right; | width: 22em !important; | ||
font-size: 88%; | font-family: Minecraft, sans-serif !important; | ||
line-height: 1.6em; | image-rendering: pixelated !important; | ||
width: 22em; | box-shadow: 0 0 20px rgba(0,0,0,0.1) !important; | ||
box-sizing: border-box !important; | |||
font-family: Minecraft, sans-serif; | display: table !important; | ||
image-rendering: pixelated; | position: relative !important; | ||
box-shadow: 0 0 20px rgba(0,0,0,0.1); | z-index: 999 !important; | ||
box-sizing: border-box; | |||
} | } | ||
.infobox-above { | .infobox-above { | ||
text-align: center; | text-align: center !important; | ||
font-size: 1.3em; | font-size: 1.3em !important; | ||
font-weight: bold | font-weight: bold !important; | ||
color: #441f74 !important; | |||
color: #441f74 | |||
} | } | ||
.infobox-header { | .infobox-header { | ||
text-align: center | text-align: center !important; | ||
background: #221b0066 !important; | |||
background | color: #f6c628 !important; | ||
color: #f6c628; | padding: 0.4em !important; | ||
border-radius: 2vmin !important; | |||
} | } | ||
.infobox-label { | .infobox-label { | ||
text-align: right; | text-align: right !important; | ||
padding: 0.3em 0.8em | padding: 0.3em 0.8em !important; | ||
background: #221b0022 !important; | |||
border-radius: 1vmin !important; | |||
white-space: nowrap !important; | |||
background | |||
border-radius: 1vmin; | |||
} | } | ||
.infobox-data { | .infobox-data { | ||
padding: 0.3em 0.5em | padding: 0.3em 0.5em !important; | ||
color: #361d07 !important; | |||
color: #361d07 | |||
} | } | ||
.infobox-image { | .infobox-image { | ||
text-align: center | text-align: center !important; | ||
image-rendering: pixelated !important; | |||
image-rendering: pixelated; | |||
} | } | ||
.infobox-caption { | .infobox-caption { | ||
font-size: 85%; | font-size: 85% !important; | ||
text-align: center | text-align: center !important; | ||
font-style: italic !important; | |||
font-style: italic | |||
} | } | ||
2026年3月28日 (六) 01:48的版本
/* 这里放置的CSS将应用于所有皮肤 */
/* 首行缩进 */
div.textIndent p {
text-indent: 2em;
margin: 0.5em 0;
}
/* 首字下沉样式 */
.dropCap::first-letter {
float: left;
font-size: 3.2em !important;
line-height: 0.85em !important;
margin-right: 0.1em !important;
font-weight: bold;
color: #000;
}
/* 角色信息框 - 基于Infobox元模板 适配SimmcWIKI专属风格 */
/* 角色信息框 修复闪烁问题 */
.infobox {
border: 4vmin solid transparent !important;
border-image:url(https://huiji-public.huijistatic.com/simmc/uploads/8/8a/HomePageBoarderImage.png) 170 round !important;
background-color: #fbf2db !important;
color: #361d07 !important;
margin: 0 0 0.5em 1em !important;
padding: 0.5em !important;
float: right !important;
clear: right !important;
font-size: 88% !important;
line-height: 1.6em !important;
width: 22em !important;
font-family: Minecraft, sans-serif !important;
image-rendering: pixelated !important;
box-shadow: 0 0 20px rgba(0,0,0,0.1) !important;
box-sizing: border-box !important;
display: table !important;
position: relative !important;
z-index: 999 !important;
}
.infobox-above {
text-align: center !important;
font-size: 1.3em !important;
font-weight: bold !important;
color: #441f74 !important;
}
.infobox-header {
text-align: center !important;
background: #221b0066 !important;
color: #f6c628 !important;
padding: 0.4em !important;
border-radius: 2vmin !important;
}
.infobox-label {
text-align: right !important;
padding: 0.3em 0.8em !important;
background: #221b0022 !important;
border-radius: 1vmin !important;
white-space: nowrap !important;
}
.infobox-data {
padding: 0.3em 0.5em !important;
color: #361d07 !important;
}
.infobox-image {
text-align: center !important;
image-rendering: pixelated !important;
}
.infobox-caption {
font-size: 85% !important;
text-align: center !important;
font-style: italic !important;
}