MediaWiki:Geshi.css

From PyMOLWiki
Revision as of 20:50, 12 March 2013 by Speleo3 (talk | contribs) (latex)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After saving, 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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to GeSHi syntax highlighting */

pre,
.latex.source-latex .de1, .latex.source-latex .de2,
.winbatch.source-winbatch .de1, .winbatch.source-winbatch .de2,
.bash.source-bash .de1, .bash.source-bash .de2,
.diff.source-diff .de1, .diff.source-diff .de2,
.python.source-python .de1, .python.source-python .de2 {
  padding: 10px;
  background-color: #eee;
 
  border: 0 none;
  border-left: 10px solid #ddd;
 
  font-size: 1.1em;
  line-height: 1.3em;
}

div.mw-geshi ol li + li {
    margin-top:-1.8em;
}