This is a read-only mirror of pymolwiki.org

Difference between revisions of "MediaWiki:Geshi.css"

From PyMOL Wiki
Jump to navigation Jump to search
m (6 revisions)
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-code,
 
pre,
 
pre,
.latex.source-latex .de1, .latex.source-latex .de2,
+
pre.prettyprint.lang-latex,
.winbatch.source-winbatch .de1, .winbatch.source-winbatch .de2,
+
pre.prettyprint.lang-winbatch,
.bash.source-bash .de1, .bash.source-bash .de2,
+
pre.prettyprint.lang-bash,
.diff.source-diff .de1, .diff.source-diff .de2,
+
pre.prettyprint.lang-diff,
.python.source-python .de1, .python.source-python .de2 {
+
pre.prettyprint.lang-python {
 
   padding: 10px;
 
   padding: 10px;
 
   background-color: #eee;
 
   background-color: #eee;
Line 18: Line 19:
  
 
div.mw-geshi ol li + li {
 
div.mw-geshi ol li + li {
    margin-top:-1.8em;
+
  margin-top:-1.8em;
 +
}
 +
 
 +
.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: 0;
 +
  border: 0 none;
 +
 +
  font-size: 1.1em;
 +
  line-height: 1.3em;
 
}
 
}

Revision as of 23:52, 21 April 2015

/* CSS placed here will be applied to GeSHi syntax highlighting */

div.mw-code,
pre,
pre.prettyprint.lang-latex,
pre.prettyprint.lang-winbatch,
pre.prettyprint.lang-bash,
pre.prettyprint.lang-diff,
pre.prettyprint.lang-python {
  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;
}

.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: 0;
  border: 0 none;
 
  font-size: 1.1em;
  line-height: 1.3em;
}