MediaWiki:Common.css: Difference between revisions
Appearance
mNo edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
#content h2 { | #content h2 { | ||
font-family: "Maison Neue", sans-serif; | font-family: "Maison Neue", sans-serif; | ||
} | |||
/* Reset top margin for lists embedded in columns */ | |||
div.columns { | |||
margin-top: 0.3em; | |||
} | |||
div.columns dl, | |||
div.columns ol, | |||
div.columns ul { | |||
margin-top: 0; | |||
} | |||
/* Avoid elements breaking between columns */ | |||
/* See also Template:No col break */ | |||
div.columns li, | |||
div.columns dd { | |||
page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */ | |||
break-inside: avoid-column; | |||
} | } | ||
Revision as of 14:35, 2 February 2021
/* CSS placed here will be applied to all skins */
@import url( 'https://fonts.googleapis.com/css?family=Roboto');
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
body {
font-family: "Roboto", sans-serif;
}
/* Changes the default font used for MediaWiki headings to Noto Serif: */
#content h1,
#content h2 {
font-family: "Maison Neue", sans-serif;
}
/* Reset top margin for lists embedded in columns */
div.columns {
margin-top: 0.3em;
}
div.columns dl,
div.columns ol,
div.columns ul {
margin-top: 0;
}
/* Avoid elements breaking between columns */
/* See also Template:No col break */
div.columns li,
div.columns dd {
page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */
break-inside: avoid-column;
}