MediaWiki:Common.css: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
make <syntaxhighlight> match <pre> formatting - https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Configuration
No edit summary
Line 6: Line 6:
}
}


/* Border like <pre> for <syntaxhighlight> */
div.mw-geshi {
div.mw-geshi {
padding: 1em;
padding: 1em;
Line 11: Line 12:
border: 1px dashed #2f6fab;
border: 1px dashed #2f6fab;
background-color: #f9f9f9;
background-color: #f9f9f9;
}

/* Fix size for <syntaxhighlight> */
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript {
font-family: monospace, Courier !important;
}
}

Revision as of 23:55, 3 February 2012

/* CSS placed here will be applied to all skins */

body.rtl div.mw-content-ltr ul, body.rtl div.mw-content-ltr ol {
  margin-left:0;
  margin-right:1.5em;
}

/* Border like <pre> for <syntaxhighlight> */
div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px dashed #2f6fab;
  background-color: #f9f9f9;
}

/* Fix size for <syntaxhighlight> */
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript {
  font-family: monospace, Courier !important;
}