Difference between revisions of "MediaWiki:Common.css"

From NikkiWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
/* Cascading stylesheets (CSS) here will be applied to all skins. */
 
/* Cascading stylesheets (CSS) here will be applied to all skins. */
  
 +
/* sans-serif */
 
@font-face { font-family: "Noto Sans Regular"; src: url("fonts/google/NotoSans-Regular.ttf"); }
 
@font-face { font-family: "Noto Sans Regular"; src: url("fonts/google/NotoSans-Regular.ttf"); }
 
@font-face { font-family: "Noto Sans Italic"; font-style: italic; src: url("fonts/google/NotoSans-Italic.ttf"); }
 
@font-face { font-family: "Noto Sans Italic"; font-style: italic; src: url("fonts/google/NotoSans-Italic.ttf"); }
  
 +
/* monospace */
 
@font-face { font-family: "Red Hat Mono Light"; font-display: swap; src: local("Red Hat Mono Light"), local("Red Hat Mono"), url("/fonts/google/RedHatMono.ttf"); }
 
@font-face { font-family: "Red Hat Mono Light"; font-display: swap; src: local("Red Hat Mono Light"), local("Red Hat Mono"), url("/fonts/google/RedHatMono.ttf"); }
@font-face { font-family: "Noto Sans Mono Regular"; src: url("fonts/google/NotoSansMono-Regular.ttf"); }
+
@font-face { font-family: "Noto Sans Mono Regular"; src: local("Noto Sans Mono Regular"), local("Noto Sans Mono"), url("fonts/google/NotoSansMono-Regular.ttf"); }
  
 
.translate { font-size: large; word-spacing: 1em; }
 
.translate { font-size: large; word-spacing: 1em; }
 
.translate code { font-family: "Red Hat Mono Light", "Red Hat Mono", "Roboto Mono Regular", "Roboto Mono", "Noto Sans Mono Regular", "Noto Sans Mono", monospace; }
 
.translate code { font-family: "Red Hat Mono Light", "Red Hat Mono", "Roboto Mono Regular", "Roboto Mono", "Noto Sans Mono Regular", "Noto Sans Mono", monospace; }
  
.translations { font-size: large; }
+
.translations { font-size: large; font-family: "Noto Sans Regular", sans-serif; }
 +
.translations code { font-family: "Noto Sans Mono Regular", "Noto Sans Mono", monospace; }
 +
.translations i { font-family: "Noto Sans Italic", sans-serif; }
 +
 
 +
/* Arabic (ARAB): Arabic (AR), Persian (FA), Pashto (PS), Sindhi (SD), Uyghur (UG), and Urdu (UR) */
 +
@font-face { font-family: "Noto Sans Arabic Regular"; src: url("fonts/google/NotoSansArabic-Regular.ttf"); }
 +
.arab { font-family: "Noto Sans Arabic Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Armenian (ARMN)): Armenian (HY) */
 +
@font-face { font-family: "Noto Sans Armenian Regular"; src: url("fonts/google/NotoSansArmenian-Regular.ttf"); }
 +
.armn { font-family: "Noto Sans Armenian Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Bengali (BENG)): Bengali (BN) */
 +
@font-face { font-family: "Noto Sans Bengali Regular"; src: url("fonts/google/NotoSansBengali-Regular.ttf"); }
 +
.beng { font-family: "Noto Sans Bengali Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Devanagari (DEVA): Hindi (HI), Marathi (MR), and Nepali (NE) */
 +
@font-face { font-family: "Noto Sans Devanagari Regular"; src: url("fonts/google/NotoSansDevanagari-Regular.ttf"); }
 +
.deva { font-family: "Noto Sans Devanagari Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Ge'ez (ETHI): Amharic (AM) */
 +
@font-face { font-family: "Noto Sans Ethiopic Regular"; src: url("fonts/google/NotoSansEthiopic-Regular.ttf"); }
 +
.ethi { font-family: "Noto Sans Ethiopic Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Georgian (GEOR): Georgian (KA) */
 +
@font-face { font-family: "Noto Sans Georgian Regular"; src: url("fonts/google/NotoSansGeorgian-Regular.ttf"); }
 +
.geor { font-family: "Noto Sans Georgian Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Gujarati (GUJR): Gujarati (GU) */
 +
@font-face { font-family: "Noto Sans Gujarati Regular"; src: url("fonts/google/NotoSansGujarati-Regular.ttf"); }
 +
.gujr { font-family: "Noto Sans Gujarati Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Gurmukhi (GURU): Eastern Punjabi (PA) */
 +
@font-face { font-family: "Noto Sans Gurmukhi Regular"; src: url("fonts/google/NotoSansGurmukhi-Regular.ttf"); }
 +
.guru { font-family: "Noto Sans Gurmukhi Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Simplified Chinese (HANS): Chinese (ZH) */
 +
@font-face { font-family: "Noto Sans SC"; src: url("fonts/google/NotoSansSC-Regular.otf"); }
 +
.hans { font-family: "Noto Sans SC", "Noto Sans CJK SC", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Traditional Chinese (HANT): Chinese (ZH) */
 +
@font-face { font-family: "Noto Sans TC"; src: url("fonts/google/NotoSansTC-Regular.otf"); }
 +
.hant { font-family: "Noto Sans TC", "Noto Sans CJK TC", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Hebrew (HEBR): Hebrew (HE), Yiddish (YI) */
 +
@font-face { font-family: "Noto Sans Hebrew Regular"; src: url("fonts/google/NotoSansHebrew-Regular.ttf"); }
 +
.hebr { font-family: "Noto Sans Hebrew Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Japanese (JPAN): Japanese (JA) */
 +
@font-face { font-family: "Noto Sans CJK JP"; src: url("fonts/google/NotoSansCJKjp-Regular.otf"); }
 +
.jpan { font-family: "Noto Sans CJK JP", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Khmer (KHMR): Khmer (KM) */
 +
@font-face { font-family: "Noto Sans Khmer Regular"; src: url("fonts/google/NotoSansKhmer-Regular.ttf"); }
 +
.khmr { font-family: "Noto Sans Khmer Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Kannada (KNDA): Kannada (KN) */
 +
@font-face { font-family: "Noto Sans Kannada Regular"; src: url("fonts/google/NotoSansKannada-Regular.ttf"); }
 +
.knda { font-family: "Noto Sans Kannada Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Korean (KORE) / Hangul (HANG): Korean (KO) */
 +
@font-face { font-family: "Noto Sans KR"; src: url("fonts/google/NotoSansKR-Regular.otf"); }
 +
.hang { font-family: "Noto Sans KR", "Noto Sans CJK KR", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Lao (LAOO): Lao (LO) */
 +
@font-face { font-family: "Noto Sans Lao Regular"; src: url("fonts/google/NotoSansLao-Regular.ttf"); }
 +
.laoo { font-family: "Noto Sans Lao Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Malayalam (MLYM): Malayalam (ML) */
 +
@font-face { font-family: "Noto Sans Malayalam Regular"; src: url("fonts/google/NotoSansMalayalam-Regular.ttf"); }
 +
.mlym { font-family: "Noto Sans Malayalam Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Myanmar (MYMR): Myanmar (MY) */
 +
@font-face { font-family: "Noto Sans Myanmar Regular"; src: url("fonts/google/NotoSansMyanmar-Regular.ttf"); }
 +
.mymr { font-family: "Noto Sans Myanmar Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Odia (ORYA): Odia (OR) */
 +
@font-face { font-family: "Noto Sans Oriya Regular"; src: url("fonts/google/NotoSansOriya-Regular.ttf"); }
 +
.orya { font-family: "Noto Sans Oriya Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Sinhala (SINH): Sinhala (SI) */
 +
@font-face { font-family: "Noto Sans Sinhala Regular"; src: url("fonts/google/NotoSansSinhala-Regular.ttf"); }
 +
.sinh { font-family: "Noto Sans Sinhala Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Tamil (TAML): Tamil (TA) */
 +
@font-face { font-family: "Noto Sans Tamil Regular"; src: url("fonts/google/NotoSansTamil-Regular.ttf"); }
 +
.taml { font-family: "Noto Sans Tamil Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Telugu (TELU): Telugu (TE) */
 +
@font-face { font-family: "Noto Sans Telugu Regular"; src: url("fonts/google/NotoSansTelugu-Regular.ttf"); }
 +
.telu { font-family: "Noto Sans Telugu Regular", "Noto Sans Regular", sans-serif; }
 +
 
 +
/* Thai (THAI): Thai (TH) */
 +
@font-face { font-family: "Noto Sans Thai Regular"; src: url("fonts/google/NotoSansThai-Regular.ttf"); }
 +
.thai { font-family: "Noto Sans Thai Regular", "Noto Sans Regular", sans-serif; }

Revision as of 2022-04-27T03:03:23

/* Cascading stylesheets (CSS) here will be applied to all skins. */

/* sans-serif */
@font-face { font-family: "Noto Sans Regular"; src: url("fonts/google/NotoSans-Regular.ttf"); }
@font-face { font-family: "Noto Sans Italic"; font-style: italic; src: url("fonts/google/NotoSans-Italic.ttf"); }

/* monospace */
@font-face { font-family: "Red Hat Mono Light"; font-display: swap; src: local("Red Hat Mono Light"), local("Red Hat Mono"), url("/fonts/google/RedHatMono.ttf"); }
@font-face { font-family: "Noto Sans Mono Regular"; src: local("Noto Sans Mono Regular"), local("Noto Sans Mono"), url("fonts/google/NotoSansMono-Regular.ttf"); }

.translate { font-size: large; word-spacing: 1em; }
.translate code { font-family: "Red Hat Mono Light", "Red Hat Mono", "Roboto Mono Regular", "Roboto Mono", "Noto Sans Mono Regular", "Noto Sans Mono", monospace; }

.translations { font-size: large; font-family: "Noto Sans Regular", sans-serif; }
.translations code { font-family: "Noto Sans Mono Regular", "Noto Sans Mono", monospace; }
.translations i { font-family: "Noto Sans Italic", sans-serif; }

/* Arabic (ARAB): Arabic (AR), Persian (FA), Pashto (PS), Sindhi (SD), Uyghur (UG), and Urdu (UR) */
@font-face { font-family: "Noto Sans Arabic Regular"; src: url("fonts/google/NotoSansArabic-Regular.ttf"); }
.arab { font-family: "Noto Sans Arabic Regular", "Noto Sans Regular", sans-serif; }

/* Armenian (ARMN)): Armenian (HY) */
@font-face { font-family: "Noto Sans Armenian Regular"; src: url("fonts/google/NotoSansArmenian-Regular.ttf"); }
.armn { font-family: "Noto Sans Armenian Regular", "Noto Sans Regular", sans-serif; }

/* Bengali (BENG)): Bengali (BN) */
@font-face { font-family: "Noto Sans Bengali Regular"; src: url("fonts/google/NotoSansBengali-Regular.ttf"); }
.beng { font-family: "Noto Sans Bengali Regular", "Noto Sans Regular", sans-serif; }

/* Devanagari (DEVA): Hindi (HI), Marathi (MR), and Nepali (NE) */
@font-face { font-family: "Noto Sans Devanagari Regular"; src: url("fonts/google/NotoSansDevanagari-Regular.ttf"); }
.deva { font-family: "Noto Sans Devanagari Regular", "Noto Sans Regular", sans-serif; }

/* Ge'ez (ETHI): Amharic (AM) */
@font-face { font-family: "Noto Sans Ethiopic Regular"; src: url("fonts/google/NotoSansEthiopic-Regular.ttf"); }
.ethi { font-family: "Noto Sans Ethiopic Regular", "Noto Sans Regular", sans-serif; }

/* Georgian (GEOR): Georgian (KA) */
@font-face { font-family: "Noto Sans Georgian Regular"; src: url("fonts/google/NotoSansGeorgian-Regular.ttf"); }
.geor { font-family: "Noto Sans Georgian Regular", "Noto Sans Regular", sans-serif; }

/* Gujarati (GUJR): Gujarati (GU) */
@font-face { font-family: "Noto Sans Gujarati Regular"; src: url("fonts/google/NotoSansGujarati-Regular.ttf"); }
.gujr { font-family: "Noto Sans Gujarati Regular", "Noto Sans Regular", sans-serif; }

/* Gurmukhi (GURU): Eastern Punjabi (PA) */
@font-face { font-family: "Noto Sans Gurmukhi Regular"; src: url("fonts/google/NotoSansGurmukhi-Regular.ttf"); }
.guru { font-family: "Noto Sans Gurmukhi Regular", "Noto Sans Regular", sans-serif; }

/* Simplified Chinese (HANS): Chinese (ZH) */
@font-face { font-family: "Noto Sans SC"; src: url("fonts/google/NotoSansSC-Regular.otf"); }
.hans { font-family: "Noto Sans SC", "Noto Sans CJK SC", "Noto Sans Regular", sans-serif; }

/* Traditional Chinese (HANT): Chinese (ZH) */
@font-face { font-family: "Noto Sans TC"; src: url("fonts/google/NotoSansTC-Regular.otf"); }
.hant { font-family: "Noto Sans TC", "Noto Sans CJK TC", "Noto Sans Regular", sans-serif; }

/* Hebrew (HEBR): Hebrew (HE), Yiddish (YI) */
@font-face { font-family: "Noto Sans Hebrew Regular"; src: url("fonts/google/NotoSansHebrew-Regular.ttf"); }
.hebr { font-family: "Noto Sans Hebrew Regular", "Noto Sans Regular", sans-serif; }

/* Japanese (JPAN): Japanese (JA) */
@font-face { font-family: "Noto Sans CJK JP"; src: url("fonts/google/NotoSansCJKjp-Regular.otf"); }
.jpan { font-family: "Noto Sans CJK JP", "Noto Sans Regular", sans-serif; }

/* Khmer (KHMR): Khmer (KM) */
@font-face { font-family: "Noto Sans Khmer Regular"; src: url("fonts/google/NotoSansKhmer-Regular.ttf"); }
.khmr { font-family: "Noto Sans Khmer Regular", "Noto Sans Regular", sans-serif; }

/* Kannada (KNDA): Kannada (KN) */
@font-face { font-family: "Noto Sans Kannada Regular"; src: url("fonts/google/NotoSansKannada-Regular.ttf"); }
.knda { font-family: "Noto Sans Kannada Regular", "Noto Sans Regular", sans-serif; }

/* Korean (KORE) / Hangul (HANG): Korean (KO) */
@font-face { font-family: "Noto Sans KR"; src: url("fonts/google/NotoSansKR-Regular.otf"); }
.hang { font-family: "Noto Sans KR", "Noto Sans CJK KR", "Noto Sans Regular", sans-serif; }

/* Lao (LAOO): Lao (LO) */
@font-face { font-family: "Noto Sans Lao Regular"; src: url("fonts/google/NotoSansLao-Regular.ttf"); }
.laoo { font-family: "Noto Sans Lao Regular", "Noto Sans Regular", sans-serif; }

/* Malayalam (MLYM): Malayalam (ML) */
@font-face { font-family: "Noto Sans Malayalam Regular"; src: url("fonts/google/NotoSansMalayalam-Regular.ttf"); }
.mlym { font-family: "Noto Sans Malayalam Regular", "Noto Sans Regular", sans-serif; }

/* Myanmar (MYMR): Myanmar (MY) */
@font-face { font-family: "Noto Sans Myanmar Regular"; src: url("fonts/google/NotoSansMyanmar-Regular.ttf"); }
.mymr { font-family: "Noto Sans Myanmar Regular", "Noto Sans Regular", sans-serif; }

/* Odia (ORYA): Odia (OR) */
@font-face { font-family: "Noto Sans Oriya Regular"; src: url("fonts/google/NotoSansOriya-Regular.ttf"); }
.orya { font-family: "Noto Sans Oriya Regular", "Noto Sans Regular", sans-serif; }

/* Sinhala (SINH): Sinhala (SI) */
@font-face { font-family: "Noto Sans Sinhala Regular"; src: url("fonts/google/NotoSansSinhala-Regular.ttf"); }
.sinh { font-family: "Noto Sans Sinhala Regular", "Noto Sans Regular", sans-serif; }

/* Tamil (TAML): Tamil (TA) */
@font-face { font-family: "Noto Sans Tamil Regular"; src: url("fonts/google/NotoSansTamil-Regular.ttf"); }
.taml { font-family: "Noto Sans Tamil Regular", "Noto Sans Regular", sans-serif; }

/* Telugu (TELU): Telugu (TE) */
@font-face { font-family: "Noto Sans Telugu Regular"; src: url("fonts/google/NotoSansTelugu-Regular.ttf"); }
.telu { font-family: "Noto Sans Telugu Regular", "Noto Sans Regular", sans-serif; }

/* Thai (THAI): Thai (TH) */
@font-face { font-family: "Noto Sans Thai Regular"; src: url("fonts/google/NotoSansThai-Regular.ttf"); }
.thai { font-family: "Noto Sans Thai Regular", "Noto Sans Regular", sans-serif; }