MediaWiki:Common.css:修订间差异
来自「荏苒之境」
无编辑摘要 |
无编辑摘要 标签:已被回退 |
||
第57行: | 第57行: | ||
font-size: 13px; | font-size: 13px; | ||
line-height: 1.5em; | line-height: 1.5em; | ||
} | |||
.client-darkmode body { | |||
background: black; | |||
} | |||
.client-darkmode .mw-wiki-logo { | |||
background-position-y: 0.75em !important; | |||
background-repeat: no-repeat !important; | |||
background: url(/resources/assets/gltd-icons/wiki-logo-blue.svg); | |||
} | |||
.client-darkmode .mw-wiki-logo img { | |||
display: none; | |||
} | |||
.client-darkmode #mw-wrapper, | |||
.client-darkmode #mw-content-container { | |||
background: white; | |||
} | |||
.client-darkmode .mw-footer-container { | |||
color: black; | |||
} | |||
.client-darkmode .mw-footer-container a { | |||
color: #5d718e !important; | |||
} | |||
.client-darkmode #footer-poweredbyico img { | |||
filter: none; | |||
} | |||
.client-darkmode .ace_editor { | |||
filter: invert(1); | |||
} | |||
.client-darkmode .infobox-title, | |||
.client-darkmode .infobox-header { | |||
filter: invert(1) hue-rotate(180deg); | |||
} | |||
.client-darkmode #mw-content-container a, | |||
.client-darkmode .toctogglelabel, | |||
.client-darkmode .mw-portlet-body a, | |||
.skin-theme-clientpref-night a:visited, | |||
.client-darkmode a:visited, | |||
.skin-theme-clientpref-night .mw-parser-output a.extiw:visited, | |||
.client-darkmode .mw-parser-output a.extiw:visited, | |||
.skin-theme-clientpref-night #mw-panel .portal .body li a:visited, | |||
.client-darkmode #mw-panel .portal .body li a:visited{ | |||
color: #5b6c87; | |||
} | |||
html.skin-theme-clientpref-night .ext-discussiontools-init-highlight { | |||
mix-blend-mode: darken; | |||
} | |||
.client-darkmode .mw-highlight pre { | |||
filter: invert(1) hue-rotate(180deg); | |||
background: #212429; | |||
color: white; | |||
border-color: black; | |||
box-shadow: none; | |||
} | |||
.client-darkmode .mw-highlight .linenos { | |||
color: grey; | |||
background: none; | |||
} | |||
.skin-theme-clientpref-night .mw-highlight .hll { | |||
color: #212121; | |||
} | |||
.client-darkmode .mw-changeslist ul, | |||
.client-darkmode .mw-changeslist table.mw-enhanced-rc { | |||
background-color: white; | |||
} | } |
2025年8月24日 (日) 22:46的版本
/* 这里放置的CSS将应用于所有皮肤 */
@import url(https://fonts.googleapis.com/css?family=Noto+Serif+SC%3A200%2C300%2Cregular%2C500%2C600%2C700%2C800%2C900%7CNoto+Serif+SC%3Aregular);
@import url(https://fonts.googleapis.com/css?family=Noto+Serif);
@import url(https://fonts.googleapis.com/css?family=Hedvig+Letters+Serif);
@font-face {
font-family: Gilatod Unicode;
src: url(https://wiki.gilatod.art/images/2/25/Gilatod_unicode.otf);
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: "Hedvig Letters Serif", "Noto Serif", "Noto Serif SC", "SimSun", "DoulosSIL Regular", "Gilatod Unicode";
-webkit-font-smoothing: antialiased;
tab-size: 4;
}
#mw-scribunto-input {
font-family: "Courier New", monospace, "DoulosSIL-Regular", "Shohna";
}
.mw-body h1 {
font-family: "Noto Serif SC", "Noto Serif", "SimSun", "DoulosSIL Regular", "Gilatod Unicode" !important;
}
.mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt,
#p-logo-text a, #personal h2, .mw-body .toctitle h2, input,
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section.mw-heading2 h2,
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section h2,
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section.mw-heading2,
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section {
font-family: "Hedvig Letters Serif", "Noto Serif", "Noto Serif SC", "SimSun", "DoulosSIL Regular", "Gilatod Unicode" !important;
}
#mw-site-navigation h2, #mw-related-navigation h2 {
font-family: "Hedvig Letters Serif", "Noto Serif SC", "SimSun";
font-size: 1.1em;
}
#mw-content-text {
font-size: 1.1em;
line-height: 1.7em;
}
.overflowed {
margin: 0;
position: inherit;
}
.wikiEditor-ui-text textarea.mw-editfont-monospace, .screenplay, code, tt, kbd, pre, samp, .skin-timeless .monospace {
font-size: 13px;
line-height: 1.5em;
}
.client-darkmode body {
background: black;
}
.client-darkmode .mw-wiki-logo {
background-position-y: 0.75em !important;
background-repeat: no-repeat !important;
background: url(/resources/assets/gltd-icons/wiki-logo-blue.svg);
}
.client-darkmode .mw-wiki-logo img {
display: none;
}
.client-darkmode #mw-wrapper,
.client-darkmode #mw-content-container {
background: white;
}
.client-darkmode .mw-footer-container {
color: black;
}
.client-darkmode .mw-footer-container a {
color: #5d718e !important;
}
.client-darkmode #footer-poweredbyico img {
filter: none;
}
.client-darkmode .ace_editor {
filter: invert(1);
}
.client-darkmode .infobox-title,
.client-darkmode .infobox-header {
filter: invert(1) hue-rotate(180deg);
}
.client-darkmode #mw-content-container a,
.client-darkmode .toctogglelabel,
.client-darkmode .mw-portlet-body a,
.skin-theme-clientpref-night a:visited,
.client-darkmode a:visited,
.skin-theme-clientpref-night .mw-parser-output a.extiw:visited,
.client-darkmode .mw-parser-output a.extiw:visited,
.skin-theme-clientpref-night #mw-panel .portal .body li a:visited,
.client-darkmode #mw-panel .portal .body li a:visited{
color: #5b6c87;
}
html.skin-theme-clientpref-night .ext-discussiontools-init-highlight {
mix-blend-mode: darken;
}
.client-darkmode .mw-highlight pre {
filter: invert(1) hue-rotate(180deg);
background: #212429;
color: white;
border-color: black;
box-shadow: none;
}
.client-darkmode .mw-highlight .linenos {
color: grey;
background: none;
}
.skin-theme-clientpref-night .mw-highlight .hll {
color: #212121;
}
.client-darkmode .mw-changeslist ul,
.client-darkmode .mw-changeslist table.mw-enhanced-rc {
background-color: white;
}