MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| 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 18: | Line 31: | ||
{ | { | ||
--font-family-citizen-base: 'Sorts Mill Goudy', 'EB Garamond', 'Garamond'; | --font-family-citizen-base: 'Sorts Mill Goudy', 'EB Garamond', 'Garamond'; | ||
--font-family-citizen-monospace: "TRT Iosevka Front Panel", "Iosevka Term Slab"; | --font-family-citizen-monospace: "TRT Iosevka Front Panel Web", | ||
"Iosevka Term Slab"; | |||
--font-family-topheadings: 'CMU Serif', var(--font-family-base); | |||
} | } | ||
#firstHeading {font-family: | .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;} | 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;
}