User:Hazard-SJ/global.css

From Meta, a Wikimedia project coordination wiki

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.
/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size. */
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
.source-css,
.source-javascript {
	font-family: monospace, "Courier New";
}

/** Styling for pre and code tags **/
pre, code {
	word-wrap: break-word;
	border: 1px solid #EBEBEB;
	background-color: #F7F7F7;
}

/* Reduce spacing to avoid overlap with search box (legacy Vector). */
.skin-vector-legacy #toolLinks .toolink_entry {
	padding-top: 0;
}