MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary Tag: wikieditor |
||
| Line 8: | Line 8: | ||
p { | p { | ||
text-indent: 1em; | #text-indent: 1em; | ||
margin: 0; | margin: 0; | ||
} | } | ||
Latest revision as of 14:24, 16 February 2023
/* 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;
}
p {
#text-indent: 1em;
margin: 0;
}
/* 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;
}