MediaWiki:Geshi.css

From OpenGL Wiki
Revision as of 20:39, 1 September 2012 by Alfonse (talk | contribs) (Proper background color.)
Jump to navigation Jump to search

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to GeSHi syntax highlighting */

.mw-geshi
{
  padding: 0;
  margin: 0;
  border-width: 0;
  background-color: #f0f0f0;
  font: normal normal 1.2em monospace;
}

pre.de1, pre.de2
{
  margin: 0;
}

@media screen
{
  pre.de1, pre.de2
  {
    overflow: auto;
    max-height: 36em;
  }
}