MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
ul, p {
margin-left: 15px;
}
p {
padding-left: 10px;
}
h2 {
margin-top: 15px;
margin-bottom: 15px;
}
img {
padding-top: 15px;
padding-bottom: 15px;
}
.toc {
margin-bottom:15px;
}
#ca-talk {
display: none !important;
}
/* --- Documentation conventions; see Template:Navigation and Template:Code --- */
/* Vector legacy sets h1/h2 in a serif stack ('Linux Libertine','Georgia',
'Times'), which reads as Times New Roman and clashes with the sans-serif
body text. h3 and below are already sans-serif, so only h1/h2 need this. */
.mw-body h1,
.mw-body-content h1,
.mw-body-content h2,
.mw-body .mw-heading1,
.mw-body-content .mw-heading1,
.mw-body-content .mw-heading2 {
font-family: inherit;
}
/* pre blocks default to #f8f9fa, which is almost white and barely separates
from the page. One step darker on the same Wikimedia grey ramp, with a
slightly stronger border so the block stays defined. Survives the DarkMode
extension, which applies filter: invert(1) hue-rotate(180deg) -- lightness
flips, hue is preserved. Inline code is styled by Template:Code instead. */
pre,
.mw-code {
background-color: #eaecf0;
border-color: #c8ccd1;
}