MediaWiki:Common.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。
html, body {
font-family: "Merriweather", "Georgia", "Cambria", "Times New Roman", "Times", "Hiragino Sans GB", PMingLiU, "Microsoft YaHei", serif;
}
.fixed-600 img {
width: 600px;
height: auto;
}
.fixed-400 img {
width: 400px;
height: auto;
}
.fixed-200 img {
width: 200px;
height: auto;
}
q {
display: block;
padding: 20px;
color: grey;
font-size: large;
font-family: Georgia, "Times New Roman", STKaiti, KaiTi, "Microsoft YaHei", "微软雅黑", STXihei, "华文细黑", serif;
}
.MathJax {
padding-left: 5px;
padding-right: 5px;
border-bottom: 1px dashed #ff00003b;
color: #9c27b0;
}
pre, code, tt, kbd, samp, .mw-code, .mw-editfont-monospace {
font-family: 'Cascadia Code', Consolas, 'Courier New', monospace;
}
.label {
padding-left: .625rem;
padding-right: .625rem;
padding-bottom: .125rem;
padding-top: .125rem;
border-radius: .25rem;
font-size: 12px;
}
.label-default {
background-color: rgb(225, 239, 254);
color: rgb(30, 66, 159);
}
.label-dark {
background-color: rgb(243, 244, 246);
color: rgb(31, 41, 55);
}
.label-red {
background-color: rgb(253, 232, 232);
color: rgb(155, 28, 28);
}
.label-green {
background-color: rgb(222, 247, 236);
color: rgb(3, 84, 63);
}
.label-yellow {
background-color: rgb(253, 246, 178);
color: rgb(114, 59, 19);
}
.label-indigo {
background-color: rgb(229, 237, 255);
color: rgb(66, 56, 157);
}
.label-purple {
background-color: rgb(237, 235, 254);
color: rgb(85, 33, 181);
}
.label-pink {
background-color: rgb(252, 232, 243);
color: rgb(153, 21, 75);
}