User:Begoon/override-typography-refresh.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
This user script seems to have a documentation page at User:Begoon/override-typography-refresh. |
/*
Overriding the typography refresh - see https://www.mediawiki.org/wiki/Typography_refresh
This code slightly adapted from: https://www.mediawiki.org/w/index.php?title=User:Cathfolant/typographyrefreshoverride.css&oldid=945892
*/
/* Fonts and colours */
* {
font-family: sans-serif;
}
h2#mw-previewheader,
div#mw-usercsspreview strong {
font-family: sans-serif !important;
color: #c00 !important;
}
div#content #toc h2, div#content .toc h2,
h2.diff-currentversion-title {
font-family: sans-serif !important;
}
div#content h1, div#content h2, div#content #firstHeading {
font-family: sans-serif !important;
}
div.mw-geshi div, div.mw-geshi div span, div.mw-geshi div pre, span.mw-geshi, span.mw-geshi span, pre.source-css, pre.source-css span, pre.source-javascript, pre.source-javascript span, pre.source-lua, pre.source-lua span {
font-family: monospace !important;
-moz-tab-size: 4;
}
div#content {
font-size: 93% !important;
}
h1#firstHeading {
font-size: 1.6em !important;
}
div#content.mw-body {
margin-left: 11.85em;
color: #000;
}
textarea#wpTextbox1,
pre {
font-family: monospace;
}
/* Font size */
code a {
font-family: monospace;
font-size: 130%;
}
pre {
font-size: 130%;
}
div#content h3 {
font-size: 132%;
}
div#content h4 {
font-size: 116%;
}
div#content h5 {
font-size: 100%;
}
div#content h6 {
font-size: 80%;
}
td.diff-deletedline,
td.diff-addedline,
td.diff-context {
font-size: 85%;
}