MediaWiki:Common.css

From Tuyin Archives
Revision as of 11:57, 23 July 2025 by Morrisj18 (talk | contribs)

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.
/* Load Custom Fonts */
@font-face {
  font-family: 'Dwarven';
  src: url('/wiki/fonts/Dwarven.ttf') format('truetype');
}
@font-face {
  font-family: 'Orcian';
  src: url('/wiki/fonts/Orcian.ttf') format('truetype');
}
@font-face {
  font-family: 'Elvic';
  src: url('/wiki/fonts/Elvic.ttf') format('truetype');
}
@font-face {
  font-family: 'Ratik';
  src: url('/wiki/fonts/Ratik.ttf') format('truetype');
}
@font-face {
  font-family: 'Trogian';
  src: url('/wiki/fonts/Trogian.ttf') format('truetype');
}
@font-face {
  font-family: 'Snekian';
  src: url('/wiki/fonts/Snekian.ttf') format('truetype');
}

/* Optional inline span usage */
.dwarven { font-family: 'Dwarven'; }
.orcian  { font-family: 'Orcian'; }
.elvic   { font-family: 'Elvic'; }
.ratik   { font-family: 'Ratik'; }
.trogian { font-family: 'Trogian'; }
.snekian { font-family: 'Snekian'; }

/* Dictionary table column auto-formatting */
.dwarven-script td.script {
  font-family: 'Dwarven';
}
.orcian-script td.script {
  font-family: 'Orcian';
}
.elvic-script td.script {
  font-family: 'Elvic';
}
.ratik-script td.script {
  font-family: 'Ratik';
}
.trogian-script td.script {
  font-family: 'Trogian';
}
.snekian-script td.script {
  font-family: 'Snekian';
}