Difference between revisions of "MediaWiki:Common.css"

From NikkiWiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins. */
 
/* CSS placed here will be applied to all skins. */
  
/* LATN (Roman) */
+
@font-face { font-family: "Noto Sans"; src: local("Noto Sans"), local("NotoSans-Regular"), url(/fonts/google/NotoSans-Regular.ttf); font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url(/fonts/google/NotoSans-Regular.ttf); }
+
@font-face { font-family: "Noto Sans"; font-style: italic; src: local("Noto Sans Italic"), local("NotoSans-Italic"), url(/fonts/google/NotoSans-Italic.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-weight: bold; src: local("Noto Sans Bold"), local("NotoSans-Bold"), url(/fonts/google/NotoSans-Bold.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-style: italic; font-weight: bold; src: local("Noto Sans Bold Italic"), local("NotoSans-BoldItalic"), url(/fonts/google/NotoSans-BoldItalic.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 Serif"; src: local("Noto Serif"), local("NotoSerif-Regular"), url(/fonts/google/NotoSerif-Regular.ttf); font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url(/fonts/google/NotoSerif-Regular.ttf); }
+
@font-face { font-family: "Noto Serif"; font-style: italic; src: local("Noto Serif Italic"), local("NotoSerif-Italic"), url(/fonts/google/NotoSerif-Italic.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-weight: bold; src: local("Noto Serif Bold"), local("NotoSerif-Bold"), url(/fonts/google/NotoSerif-Bold.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-style: italic; font-weight: bold; src: local("Noto Serif Bold Italic"), local("NotoSerif-BoldItalic"), url(/fonts/google/NotoSerif-BoldItalic.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 Mono"; src: local("Noto Mono"), local("NotoMono-Regular"), url(/fonts/google/NotoMono-Regular.ttf); font-display: swap; }
@font-face { font-family: "Noto Mono"; src: url(/fonts/google/NotoMono-Regular.ttf); }
 
  
 
/* 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"), local("NotoSansArabic-Regular"), 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 Bold"), local("NotoSansArabic-Bold"), 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("NotoSansCJKsc-Regular"), 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 Bold"), local("NotoSansCJKsc-Bold"), local("Noto Sans SC Bold"), url(/fonts/google/NotoSansCJKsc-Bold.ttf); font-display: swap; }

Latest revision as of 2021-03-06T09:46:11

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

@font-face { font-family: "Noto Sans"; src: local("Noto Sans"), local("NotoSans-Regular"), url(/fonts/google/NotoSans-Regular.ttf); font-display: swap; }
@font-face { font-family: "Noto Sans"; font-style: italic; src: local("Noto Sans Italic"), local("NotoSans-Italic"), url(/fonts/google/NotoSans-Italic.ttf); font-display: swap; }
@font-face { font-family: "Noto Sans"; font-weight: bold; src: local("Noto Sans Bold"), local("NotoSans-Bold"), 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 Bold Italic"), local("NotoSans-BoldItalic"), url(/fonts/google/NotoSans-BoldItalic.ttf); font-display: swap; }
@font-face { font-family: "Noto Serif"; src: local("Noto Serif"), local("NotoSerif-Regular"), url(/fonts/google/NotoSerif-Regular.ttf); font-display: swap; }
@font-face { font-family: "Noto Serif"; font-style: italic; src: local("Noto Serif Italic"), local("NotoSerif-Italic"), url(/fonts/google/NotoSerif-Italic.ttf); font-display: swap; }
@font-face { font-family: "Noto Serif"; font-weight: bold; src: local("Noto Serif Bold"), local("NotoSerif-Bold"), 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 Bold Italic"), local("NotoSerif-BoldItalic"), url(/fonts/google/NotoSerif-BoldItalic.ttf); font-display: swap; }
@font-face { font-family: "Noto Mono"; src: local("Noto Mono"), local("NotoMono-Regular"), url(/fonts/google/NotoMono-Regular.ttf); font-display: swap; }

/* ARAB (Arabic) */
@font-face { font-family: "Noto Sans Arabic"; src: local("Noto Sans Arabic"), local("NotoSansArabic-Regular"), url(/fonts/google/NotoSansArabic-Regular.ttf); font-display: swap; }
@font-face { font-family: "Noto Sans Arabic"; font-weight: bold; src: local("Noto Sans Arabic Bold"), local("NotoSansArabic-Bold"), 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("NotoSansCJKsc-Regular"), 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 Bold"), local("NotoSansCJKsc-Bold"), local("Noto Sans SC Bold"), url(/fonts/google/NotoSansCJKsc-Bold.ttf); font-display: swap; }