MediaWiki

MediaWiki:Common.css

Revision as of 21:04, 27 March 2017 by Shawndouglas (talk | contribs) (Testing code.)

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 */
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");

/* Hide "Main Page" titles */ 
body.page-Main_Page .title, body.page-Main_Page #tagline {
    display:none;
}

/* Adapting pre */
pre {
	max-width: 960px;
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	margin: .6em 0;
	padding: .6em;
	font-size: .9em;
	white-space: pre-wrap !important;
	word-wrap: break-word;
	overflow: auto;
}

.row.display {
	background: #eee;
	font-size: 11px;
	margin-bottom: 10px;
}
.row.display .columns, .row.display .column {
	background: #e7e7e7;
	border: 1px solid #ddd;
	font-size: 13px;
	font-weight: bold;
	text-indent: 3px;
	padding-top: 8px;
	color: #444;
	padding-bottom: 8px;
}

/* CodeRay Syntax Highlighting Styles to match Github */
.CodeRay {
  background-color: #eee;
  border: 1px solid #ccc;
  font-family: "Consolas", "Liberation Mono", Courier, monospace;
  color: #000;
  padding: 0.8em 0 0.8em 0.8em;
  margin-bottom: 1.3em;
  overflow: auto; }

.CodeRay pre {
  margin: 0;
  font-size: .9em;
  line-height: 1.4em;
  white-space: pre; }