User:Twatkinson/global.css

From Meta, a Wikimedia project coordination wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
body  {
	font-family: Georgia, "Noto Serif", "Noto Serif JP", sim-ch_n5100, Times, serif;
}

/* Make a serif version later(?) */
/* Sans-serif */
/*
p:lang(ja), h2:lang(ja), h3:lang(ja), h4:lang(ja), h5:lang(ja), h6:lang(ja), ol:lang(ja), ul:lang(ja), table:lang(ja) {
	font-family: "Yu Gothic Medium", "Noto Sans CJK JP Regular", sim-ch_n5100, Meiryo, Arial, sans-serif;
	font-size: 18px;
}
*/

/* Serif */
p:lang(ja), h2:lang(ja), h3:lang(ja), h4:lang(ja), h5:lang(ja), h6:lang(ja), ol:lang(ja), ul:lang(ja), table:lang(ja) {
	font-family: "Noto Serif JP", sim-ch_n5100, Georgia, Times, serif;
	font-size: 19px;
}

.thumbcaption:lang(ja) {
	font-size: 103%;
}

/* Code blocks */
pre {
	font-family: 'UDEV Gothic', 'JetBrains Mono', Consolas, 'Courier New', monospace;
}

p, h1, h2, h3, h4, h5, h6, ol, ul {
	text-align: justify;
	text-justify: inter-word;
    hyphens: auto;
    line-height: 1.15em;
    font-size: 17px;
}

.reference {
	font-size: 50%;
}

.vector-body {
	line-height: 1.3em;
}