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。
/* 这里放置的CSS将应用于所有皮肤 */
@import url(https://googlefonts.wp-china-yes.net/css2?family=Noto+Serif+SC:wght@200..900&display=swap);
@font-face {
font-family: Shohna;
src: url(https://gilatod.art/wp-content/uploads/custom_fonts/Shohna.ttf);
font-weight: normal;
}
@font-face {
font-family: DoulosSIL-Regular;
src: url(https://gilatod.art/wp-content/uploads/custom_fonts/DoulosSIL-Regular.ttf);
font-weight: normal;
}
body {
font-family: "Noto Serif SC", "SimSun", "DoulosSIL-Regular", "Shohna";
font-size: 1em;
}
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt,
#p-logo-text a, #personal h2 {
font-family: "Noto Serif SC", "SimSun", "DoulosSIL-Regular", "Shohna" !important;
}
.wikiEditor-ui-text textarea.mw-editfont-monospace, .screenplay, code, tt, kbd, pre, samp, .skin-timeless .monospace {
font-family: 'Menlo','Consolas','Monaco','Noto Mono','Nimbus Mono L', "Noto Serif SC", "Shohna" !important;
}
.infobox {
background: #f8f9fa;
border: 1px solid #a2a9b1;
float: right;
font-size: 0.77em;
margin-left: 15px;
margin-bottom: 15px;
width: 300px;
}
.overflowed {
margin: 0;
position: inherit;
}
.infobox table {
border-collapse: collapse;
width: 100%;
}
.infobox tr:only-child {
display: none;
}
@media screen and (max-width: 660px) {
.infobox {
font-size: 0.9em;
width: 100%;
}
}
.infobox th {
padding-top: 0.45em;
padding-bottom: 0.45em;
padding-left: 0.7em;
text-align: left;
vertical-align: top;
width: 35%;
border-top: 1px solid #d4d4d4;
}
.infobox td {
width: 65%;
padding-top: 0.45em;
padding-bottom: 0.45em;
padding-right: 0.7em;
vertical-align: top;
border-top: 1px solid #d4d4d4;
}
.infobox tr:last-child > th { padding-bottom: 0.53em; }
.infobox tr:last-child > td { padding-bottom: 0.53em; }
th.infobox-title {
border-top: none;
text-align: center;
font-weight: bold;
font-size: 1.2em;
padding-left: 0;
padding-right: 0;
padding-top: 0.7em;
padding-bottom: 0.7em;
}
th.infobox-header {
text-align: center;
font-weight: bold;
font-size: 1em;
margin-top: 0.5em;
padding-left: 0;
padding-right: 0;
padding-top: 0.7em;
padding-bottom: 0.7em;
}
th.infobox-image {
padding: 0;
border-top: none;
text-align: center;
}
th.infobox-caption {
border-top: none;
font-size: 1em;
font-weight: lighter;
text-align: center;
color: #999999;
padding-left: 0;
padding-right: 0;
}
.quote {
margin-top: 0.5em;
margin-bottom: 0.5em;
background: #FFFFFF;
font-size: 15px;
color: #444444;
border: 4px solid #AAAAAA;
border-top: none;
border-bottom: none;
padding:14px 20px 14px 20px
}