This is a read-only mirror of pymolwiki.org
Difference between revisions of "MediaWiki:Geshi.css"
Jump to navigation
Jump to search
(diff.source-diff) |
|||
(24 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to GeSHi syntax highlighting */ | /* CSS placed here will be applied to GeSHi syntax highlighting */ | ||
+ | syntaxhighlight, | ||
pre, | 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, | .bash.source-bash .de1, .bash.source-bash .de2, | ||
.diff.source-diff .de1, .diff.source-diff .de2, | .diff.source-diff .de1, .diff.source-diff .de2, | ||
.python.source-python .de1, .python.source-python .de2 { | .python.source-python .de1, .python.source-python .de2 { | ||
padding: 10px; | padding: 10px; | ||
− | background-color: # | + | background-color: #000; |
border: 0 none; | border: 0 none; | ||
Line 13: | Line 16: | ||
font-size: 1.1em; | font-size: 1.1em; | ||
line-height: 1.3em; | line-height: 1.3em; | ||
+ | } | ||
+ | |||
+ | div.mw-geshi ol li + li { | ||
+ | margin-top:-1.8em; | ||
} | } |
Latest revision as of 19:55, 27 April 2015
/* CSS placed here will be applied to GeSHi syntax highlighting */
syntaxhighlight,
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: #000;
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;
}