Copyright (c) Hyperion Entertainment and contributors.

Difference between revisions of "MediaWiki:Geshi.css"

From AmigaOS Documentation Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to GeSHi syntax highlighting */
 
/* CSS placed here will be applied to GeSHi syntax highlighting */
   
  +
div.mw-geshi {
/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
 
  +
padding: 1em;
[[Bugzilla:26204]] */
 
  +
margin: 1em 0;
  +
border: 1px dashed #2f6fab;
  +
background-color: #f9f9f9;
  +
}
  +
  +
/* Fix so <syntaxhighlight> tags, and .css and .js pages, get normal text size
  +
also in some versions of Firefox, Safari, Konqueror, Chrome etc. */
 
div.mw-geshi div,
 
div.mw-geshi div,
  +
pre {
div.mw-geshi div pre,
 
span.mw-geshi,
 
pre.source-css,
 
pre.source-javascript {
 
 
font-family: monospace, "Courier New" !important;
 
font-family: monospace, "Courier New" !important;
 
}
 
}

Latest revision as of 17:25, 16 May 2014

/* CSS placed here will be applied to GeSHi syntax highlighting */
 
div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px dashed #2f6fab;
  background-color: #f9f9f9;
}
 
/* Fix so <syntaxhighlight> tags, and .css and .js pages, get normal text size 
   also in some versions of Firefox, Safari, Konqueror, Chrome etc. */
div.mw-geshi div,
pre {
  font-family: monospace, "Courier New" !important;
}