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: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
@import "/fonts/trt-iosevka-fp/TRTIosevkaFP.css";
@import "/fonts/fontface.css";


.check_digit
.check_digit
Line 7: Line 7:
   padding: 0 0.1em;
   padding: 0 0.1em;
   text-align: center;
   text-align: center;
}
@media screen
{
  .citizen-footer__sitetitle .mw-logo-wordmark
  {
  font-size: 3rem;
  }
 
  .citizen-footer__sitetitle
  {
  flex-direction: row;
  }
}
}


Line 17: Line 30:
:root
:root
{
{
   --font-family-citizen-base: 'EB Garamond', 'Garamond';
   --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);
}
}


#firstHeading {font-family: 'CMU Serif', var(--font-family-base);}
.mw-scribunto-input {font-family: var(--font-family-monospace);}
code, pre {font-family: "TRT Iosevka Front Panel", "Iosevka Term Slab", monospace;}
.mw-logo-wordmark {font-family: var(--font-family-topheadings);}
 
#firstHeading {font-family: var(--font-family-topheadings);}


caption code {font-size: inherit;}
caption code {font-size: inherit;}

Latest revision as of 09:59, 9 November 2025

@import "/fonts/fontface.css";

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

@media screen
{
  .citizen-footer__sitetitle .mw-logo-wordmark
  {
  	font-size: 3rem;
  }
  
  .citizen-footer__sitetitle
  {
  	flex-direction: row;
  }
}

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;
}