Difference between revisions of "MediaWiki:Common.css"

From NikkiWiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
/* LATN (Roman) */
 
/* LATN (Roman) */
@font-face { font-family: "Noto Sans"; src: url(/fonts/google/NotoSans-Regular.ttf); }
+
@font-face { font-family: "Noto Sans"; src: local("Noto Sans"), url(/fonts/google/NotoSans-Regular.ttf); font-display: swap; }
@font-face { font-family: "Noto Sans"; font-style: italic; src: url(/fonts/google/NotoSans-Italic.ttf); }
+
@font-face { font-family: "Noto Sans"; font-style: italic; src: local("Noto Sans"), url(/fonts/google/NotoSans-Italic.ttf); font-display: swap; }
@font-face { font-family: "Noto Sans"; font-weight: bold; src: url(/fonts/google/NotoSans-Bold.ttf); }
+
@font-face { font-family: "Noto Sans"; font-weight: bold; src: local("Noto Sans"), url(/fonts/google/NotoSans-Bold.ttf); font-display: swap; }
@font-face { font-family: "Noto Sans"; font-style: italic; font-weight: bold; src: url(/fonts/google/NotoSans-BoldItalic.ttf); }
+
@font-face { font-family: "Noto Sans"; font-style: italic; font-weight: bold; src: local("Noto Sans"), url(/fonts/google/NotoSans-BoldItalic.ttf); font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url(/fonts/google/NotoSerif-Regular.ttf); }
+
@font-face { font-family: "Noto Serif"; src: local("Noto Serif"), url(/fonts/google/NotoSerif-Regular.ttf); font-display: swap; }
@font-face { font-family: "Noto Serif"; font-style: italic; src: url(/fonts/google/NotoSerif-Italic.ttf); }
+
@font-face { font-family: "Noto Serif"; font-style: italic; src: local("Noto Serif"), url(/fonts/google/NotoSerif-Italic.ttf); font-display: swap; }
@font-face { font-family: "Noto Serif"; font-weight: bold; src: url(/fonts/google/NotoSerif-Bold.ttf); }
+
@font-face { font-family: "Noto Serif"; font-weight: bold; src: local("Noto Serif"), url(/fonts/google/NotoSerif-Bold.ttf); font-display: swap; }
@font-face { font-family: "Noto Serif"; font-style: italic; font-weight: bold; src: url(/fonts/google/NotoSerif-BoldItalic.ttf); }
+
@font-face { font-family: "Noto Serif"; font-style: italic; font-weight: bold; src: local("Noto Serif"), url(/fonts/google/NotoSerif-BoldItalic.ttf); font-display: swap; }
@font-face { font-family: "Noto Mono"; src: url(/fonts/google/NotoMono-Regular.ttf); }
+
@font-face { font-family: "Noto Mono"; src: local("Noto Mono"), url(/fonts/google/NotoMono-Regular.ttf); font-display: swap; }
  
 
/* ARAB (Arabic) */
 
/* ARAB (Arabic) */
@font-face { font-family: "Noto Sans Arabic"; src: url(/fonts/google/NotoSansArabic-Regular.ttf); }
+
@font-face { font-family: "Noto Sans Arabic"; src: local("Noto Sans Arabic"), url(/fonts/google/NotoSansArabic-Regular.ttf); font-display: swap; }
@font-face { font-family: "Noto Sans Arabic"; font-weight: bold; src: url(/fonts/google/NotoSansArabic-Bold.ttf); }
+
@font-face { font-family: "Noto Sans Arabic"; font-weight: bold; src: local("Noto Sans Arabic"), url(/fonts/google/NotoSansArabic-Bold.ttf); font-display: swap; }
  
 
/* HANS (Simplified Chinese) */
 
/* HANS (Simplified Chinese) */
@font-face { font-family: "Noto Sans CJK SC"; src: url(/fonts/google/NotoSansCJKsc-Regular.ttf); }
+
@font-face { font-family: "Noto Sans CJK SC"; src: local("Noto Sans CJK SC"), local("Noto Sans SC"), url(/fonts/google/NotoSansCJKsc-Regular.ttf); font-display: swap; }
@font-face { font-family: "Noto Sans CJK SC"; font-weight: bold; src: url(/fonts/google/NotoSansCJKsc-Bold.ttf); }
+
@font-face { font-family: "Noto Sans CJK SC"; font-weight: bold; src: local("Noto Sans CJK SC"), local("Noto Sans SC"), url(/fonts/google/NotoSansCJKsc-Bold.ttf); font-display: swap; }

Revision as of 2021-03-06T09:07:06

/* CSS placed here will be applied to all skins. */

/* LATN (Roman) */
@font-face { font-family: "Noto Sans"; src: local("Noto Sans"), url(/fonts/google/NotoSans-Regular.ttf); font-display: swap; }
@font-face { font-family: "Noto Sans"; font-style: italic; src: local("Noto Sans"), url(/fonts/google/NotoSans-Italic.ttf); font-display: swap; }
@font-face { font-family: "Noto Sans"; font-weight: bold; src: local("Noto Sans"), url(/fonts/google/NotoSans-Bold.ttf); font-display: swap; }
@font-face { font-family: "Noto Sans"; font-style: italic; font-weight: bold; src: local("Noto Sans"), url(/fonts/google/NotoSans-BoldItalic.ttf); font-display: swap; }
@font-face { font-family: "Noto Serif"; src: local("Noto Serif"), url(/fonts/google/NotoSerif-Regular.ttf); font-display: swap; }
@font-face { font-family: "Noto Serif"; font-style: italic; src: local("Noto Serif"), url(/fonts/google/NotoSerif-Italic.ttf); font-display: swap; }
@font-face { font-family: "Noto Serif"; font-weight: bold; src: local("Noto Serif"), url(/fonts/google/NotoSerif-Bold.ttf); font-display: swap; }
@font-face { font-family: "Noto Serif"; font-style: italic; font-weight: bold; src: local("Noto Serif"), url(/fonts/google/NotoSerif-BoldItalic.ttf); font-display: swap; }
@font-face { font-family: "Noto Mono"; src: local("Noto Mono"), url(/fonts/google/NotoMono-Regular.ttf); font-display: swap; }

/* ARAB (Arabic) */
@font-face { font-family: "Noto Sans Arabic"; src: local("Noto Sans Arabic"), url(/fonts/google/NotoSansArabic-Regular.ttf); font-display: swap; }
@font-face { font-family: "Noto Sans Arabic"; font-weight: bold; src: local("Noto Sans Arabic"), url(/fonts/google/NotoSansArabic-Bold.ttf); font-display: swap; }

/* HANS (Simplified Chinese) */
@font-face { font-family: "Noto Sans CJK SC"; src: local("Noto Sans CJK SC"), local("Noto Sans SC"), url(/fonts/google/NotoSansCJKsc-Regular.ttf); font-display: swap; }
@font-face { font-family: "Noto Sans CJK SC"; font-weight: bold; src: local("Noto Sans CJK SC"), local("Noto Sans SC"), url(/fonts/google/NotoSansCJKsc-Bold.ttf); font-display: swap; }