Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css

MediaWiki interface page
Revision as of 04:18, 5 November 2025 by Tucker R. Twomey (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.
@import "/fonts/fontface.css";

.check_digit
{
  border: 0.2em solid var(--color-emphasized);
  margin: auto 0.1em;
  padding: 0 0.1em;
  text-align: center;
}

html /* for compatibilty with non-Citizen skins.
      * *Does not* override Citizen skin. */
{
  --color-emphasized: #000; /* for compatibility with non-Citizen skins */
}

:root
{
  --font-family-citizen-base: 'Sorts Mill Goudy', 'EB Garamond', 'Garamond';
  --font-family-citizen-monospace: "TRT Iosevka Front Panel Web",
    "Iosevka Term Slab";
  --font-family-topheadings: 'CMU Serif', var(--font-family-base);
}

.mw-scribunto-input {font-family: var(--font-family-monospace);}
.mw-logo-wordmark {font-family: var(--font-family-topheadings);}

#firstHeading {font-family: var(--font-family-topheadings);}

caption code {font-size: inherit;}

/* taken from http://crawl.chaosforge.org/MediaWiki:Common.css */
/* taken from http://nethack.wikia.com/wiki/MediaWiki:Common.css */

/* edit this file to customise CSS for all skins <pre> */

/* PRE OVERFLOW
 * If "pre" text overflows, provide a scrollbar. */
pre {
  overflow: auto;
}

/* PRETTY TABLES
 * The wikitable or prettytable class skins normal tables. */
table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  /*background: #f9f9f9;*/
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
  /*background: #f2f2f2;*/
  text-align: center;
}

table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}