User:LiliCharlie/global.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
body, #globalWrapper, div, p, li.interlanguage-link, a.interlanguage-link-target {
font-family: "Noto Sans", "Noto Sans CJK SC", "Fairfax HD", sans;
font-size: min(12pt);
line-height: min(18pt);
}
h1, h2, h1.firstHeading, .firstHeading, .mw-headline, .mw-headline-number {
font-family: "Noto Serif", "Noto Serif CJK SC", serif;
}
.inline-quote-talk {
font-family: "Noto Serif", "Noto Serif CJK SC", serif;
}
code, listing, tt, pre, xmp {
font-family: monospace;
font-variant-ligatures: none;
}
:lang(zh), :lang(ja), :lang(ko), :lang(vi-Hani), :lang(vi-Hant), :lang(vi-nom), .Hani, .Hans, .Hant, .Hanb, .Bopo, .Hrkt, .Kana, .Japn, .Hang, .Kore {
font-size: min(14pt);
line-height: inherit;
}
:lang(vi-Hani), :lang(vi-Hant), :lang(vi-nom) {
font-family: "Han-Nom Gothic";
}
:lang(zh-Latn), :lang(zh-pinyin), .pinyin, :lang(ja-Latn), :lang(ko-Latn), :lang(vi-Latn) {
font-size: inherit;
line-height: inherit;
}
.IPA, .API {
font-family: "ChariOTF", "ChariX-SAMPA", "Charis SIL", "Fairfax HD", serif !important;
font-size-adjust: 0.53;
font-variant-ligatures: none;
}
/**
* Auto-number headings
*
* @source https://www.mediawiki.org/wiki/Snippets/Auto-number_headings
* @author Krinkle
* @version 2021-10-03
*/
/**
* Fallback for pages without a TOC. This could in principle work for all pages,
* but we don't to ensure consistency between the TOC and heading numbers
*/
.tpl-autonum .mw-parser-output {
counter-reset: autonum-h2 autonum-h3 autonum-h4 autonum-h5 autonum-h6;
}
.tpl-autonum .mw-parser-output h2 {
counter-reset: autonum-h3 autonum-h4 autonum-h5 autonum-h6;
}
.tpl-autonum .mw-parser-output h3 {
counter-reset: autonum-h4 autonum-h5 autonum-h6;
}
.tpl-autonum .mw-parser-output h4 {
counter-reset: autonum-h5 autonum-h6;
}
.tpl-autonum .mw-parser-output h5 {
counter-reset: autonum-h6;
}
.tpl-autonum .mw-parser-output h2 .mw-headline:before {
counter-increment: autonum-h2;
content: counter(autonum-h2) " ";
}
.tpl-autonum .mw-parser-output h3 .mw-headline:before {
counter-increment: autonum-h3;
content: counter(autonum-h2) "." counter(autonum-h3) " ";
}
.tpl-autonum .mw-parser-output h4 .mw-headline:before {
counter-increment: autonum-h4;
content: counter(autonum-h2) "." counter(autonum-h3) "." counter(autonum-h4) " ";
}
.tpl-autonum .mw-parser-output h5 .mw-headline:before {
counter-increment: autonum-h5;
content: counter(autonum-h2) "." counter(autonum-h3) "." counter(autonum-h4) "." counter(autonum-h5) " ";
}
.tpl-autonum .mw-parser-output h6 .mw-headline:before {
counter-increment: autonum-h6;
content: counter(autonum-h2) "." counter(autonum-h3) "." counter(autonum-h4) "." counter(autonum-h5) "." counter(autonum-h6) " ";
}
/* links — see [https://www.mediawiki.org/wiki/Design/Link_colors] for mediawiki's link colors */
a, a:link, a:visited {
color: rgba(6, 69, 173, 1) !important;
}
/* redlinks */
a.new, a.new:link, a.new:visited {
color: rgba(186, 0, 0, 1) !important;
}
/* links to disambiguation pages */
a.mw-disambig, a.mw-disambig:link, a.mw-disambig:visited {
background-color: rgba(255, 145, 145, 1) !important;
}
/* links to redirects */
a.mw-redirect, a.mw-redirect:link, a.mw-redirect:visited {
/* background-color: rgba(6, 69, 173, 0.05) !important; */
}