Copyright (c) Hyperion Entertainment and contributors.

Difference between revisions of "MediaWiki:Geshi.css"

From AmigaOS Documentation Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
border: 1px dashed #2f6fab;
 
border: 1px dashed #2f6fab;
 
background-color: #f9f9f9;
 
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. */
  +
*.mw-geshi,
  +
pre {
  +
font-family: monospace, "Courier New" !important;
 
}
 
}

Revision as of 18:21, 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. */
*.mw-geshi,
pre {
	font-family: monospace, "Courier New" !important;
}