MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→CSS placed here will be applied to all skins: #content a[href ^="http://"].external { background: center right no-repeat; padding-right: 18px; }") |
Bradley Monk (talk | contribs) No edit summary |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Applies to Syntax Highlight Extension */ | |||
.mw-highlight pre { | |||
font-family: "Courier", monospace; | |||
font-size: 90%; | |||
} | } | ||
@import url( 'https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif ') | |||
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */ | |||
body { | |||
font-family: "Noto Sans", sans-serif; | |||
} | |||
/* Changes the default font used for MediaWiki headings to Noto Serif: */ | |||
#content h1, | |||
#content h2 { | |||
font-family: "Noto Serif", serif; | |||
} | |||
/* Removes external link icon */ | |||
#content a[href ^="http://"].external {background: center right no-repeat; padding-right: 1px;} | |||
#content a[href ^="https://"].external {background: center right no-repeat; padding-right: 1px;} |
Latest revision as of 02:35, 23 June 2024
/* CSS placed here will be applied to all skins */
/* Applies to Syntax Highlight Extension */
.mw-highlight pre {
font-family: "Courier", monospace;
font-size: 90%;
}
@import url( 'https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif ')
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
body {
font-family: "Noto Sans", sans-serif;
}
/* Changes the default font used for MediaWiki headings to Noto Serif: */
#content h1,
#content h2 {
font-family: "Noto Serif", serif;
}
/* Removes external link icon */
#content a[href ^="http://"].external {background: center right no-repeat; padding-right: 1px;}
#content a[href ^="https://"].external {background: center right no-repeat; padding-right: 1px;}