MediaWiki:Geshi.css: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Dinoguy1000
 
imported>Dinoguy1000
 
(No difference)

Latest revision as of 01:04, 7 December 2010

/* <syntaxhighlight lang="css"> */
 
/* This css will override styles used by the GeSHi syntax highlighting,
   such that less awful colors for the highlighting can be chosen. */

/* Reinstating borders */
 
body.skin-monobook div.mw-geshi {
  padding: 1em;
  border: 1px dashed #2f6fab;
  color: black;
  background-color: #f9f9f9;
  line-height: 1.1em;
}
 
body.skin-modern div.mw-geshi {
  border: solid 1px #3c78b5;
  padding: 0.4em;
  background-color: #f0f0f0;
}
 
body.skin-simple div.mw-geshi {
  margin: 2em;
  border: solid 1px black;
}
 
body.skin-chick div.mw-geshi {
  padding: 1em;
  border: 1px dashed #2f6fab;
  color: black;
  background-color: #f9f9f9;
  line-height: 1.1em;
}
 
body.skin-vector div.mw-geshi {
  padding: 1em;
  border: 1px dashed #2f6fab;
  color: black;
  background-color: #f9f9f9;
  line-height: 1.1em;
}
 
 
/* Fix so <source> 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;
}
 
 
/* </syntaxhighlight> */