MediaWiki:Mobile.css
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
/* 这里放置的CSS将影响使用移动版网站的用户 */
.xd-mbox-mini {
display: inline-block;
border-left: 5px solid #996699;
background: white;
}
.xd-mbox > .xd-icon {
display: inline-block;
font-size: 2em;
}
.xd-mbox {
padding: 5px;
border-left: 5px solid #996699;
background: white;
}
.xd-textwidth {
width: 100%;
height: auto;
}
@font-face {
font-family: "Fira Xdi8";
src: url('https://cdn.jsdelivr.net/gh/Honoka55/Xdi8Fonts/Fira Xdi8 Variable.ttf') format('truetype')
}
@font-face {
font-family: "Han Aho";
src: url('/w/resources/assets/aho.ttf') format('truetype')
}
@font-face {
font-family: "Noto Emoji";
src: url('/w/resources/assets/NotoEmoji-Regular.ttf') format('truetype')
}
span.xdi8-text {
font-family: "Fira Xdi8 Variable", "Fira Xdi8";
margin-left: -.844em; /* m 字符实际宽度 */
}
.disambiguation {
background-color: #FED;
}
.head-warning {
background-color: #FEE;
}
.disambiguation, .head-warning {
color: #555;
font-size: .8em;
padding: 5px;
}
/* 正文字重为 300, 强调字重为 600 */
body, #firstHeading, button, input, select, textarea {
font-family: -apple-system, BlinkMacSystemFont,
'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif,
'Noto Emoji';
font-weight: 300;
}
a {
font-weight: normal;
}
strong, b {
font-weight: 600;
}
body:lang(zh-CN), #firstHeading:lang(zh-CN), button:lang(zh-CN),
input:lang(zh-CN), select:lang(zh-CN), textarea:lang(zh-CN) {
font-family: 'PingFang SC', 'Lantinghei SC',
'Microsoft Yahei', 'Hiragino Sans GB', 'Microsoft Sans Serif',
'WenQuanYi Micro Hei', sans-serif, 'Noto Emoji';
}