MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
html | html | ||
{ | { | ||
--color-emphasized: #000; | --color-emphasized: #000; /* for compatibility with non-Citizen skins */ | ||
--font-family-citizen-base: 'EB Garamond', 'Garamond'; | |||
} | } | ||
.mw-page-title-main {font-family: 'CMU Serif', var(--font-family-base);} | |||
code, pre {font-family: "TRT Iosevka Front Panel", "Iosevka Term Slab", monospace;} | code, pre {font-family: "TRT Iosevka Front Panel", "Iosevka Term Slab", monospace;} | ||
caption code {font-size: inherit;} | |||
/* taken from http://crawl.chaosforge.org/MediaWiki:Common.css */ | /* taken from http://crawl.chaosforge.org/MediaWiki:Common.css */ | ||
Revision as of 08:31, 2 November 2025
@import "/fonts/trt-iosevka-fp/TRTIosevkaFP.css";
.check_digit
{
border: 0.2em solid var(--color-emphasized);
margin: auto 0.1em;
padding: 0 0.1em;
text-align: center;
}
html
{
--color-emphasized: #000; /* for compatibility with non-Citizen skins */
--font-family-citizen-base: 'EB Garamond', 'Garamond';
}
.mw-page-title-main {font-family: 'CMU Serif', var(--font-family-base);}
code, pre {font-family: "TRT Iosevka Front Panel", "Iosevka Term Slab", monospace;}
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;
}