mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-12-15 15:31:42 +00:00
ae450a5c3c
* add on/off button to toolbar * add highlighting table, hr ----, sign ~~~ * update codemirror lib to 4.7 * fix font size Change-Id: Idd5775d6c80a18406aee7b8ab51691f26038764c
32 lines
1.3 KiB
CSS
32 lines
1.3 KiB
CSS
/* Based on Sublime Text's Monokai theme */
|
|
|
|
.cm-s-monokai.CodeMirror {background: #272822; color: #f8f8f2;}
|
|
.cm-s-monokai div.CodeMirror-selected {background: #49483E !important;}
|
|
.cm-s-monokai .CodeMirror-gutters {background: #272822; border-right: 0px;}
|
|
.cm-s-monokai .CodeMirror-guttermarker { color: white; }
|
|
.cm-s-monokai .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
|
|
.cm-s-monokai .CodeMirror-linenumber {color: #d0d0d0;}
|
|
.cm-s-monokai .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;}
|
|
|
|
.cm-s-monokai span.cm-comment {color: #75715e;}
|
|
.cm-s-monokai span.cm-atom {color: #ae81ff;}
|
|
.cm-s-monokai span.cm-number {color: #ae81ff;}
|
|
|
|
.cm-s-monokai span.cm-property, .cm-s-monokai span.cm-attribute {color: #a6e22e;}
|
|
.cm-s-monokai span.cm-keyword {color: #f92672;}
|
|
.cm-s-monokai span.cm-string {color: #e6db74;}
|
|
|
|
.cm-s-monokai span.cm-variable {color: #a6e22e;}
|
|
.cm-s-monokai span.cm-variable-2 {color: #9effff;}
|
|
.cm-s-monokai span.cm-def {color: #fd971f;}
|
|
.cm-s-monokai span.cm-bracket {color: #f8f8f2;}
|
|
.cm-s-monokai span.cm-tag {color: #f92672;}
|
|
.cm-s-monokai span.cm-link {color: #ae81ff;}
|
|
.cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;}
|
|
|
|
.cm-s-monokai .CodeMirror-activeline-background {background: #373831 !important;}
|
|
.cm-s-monokai .CodeMirror-matchingbracket {
|
|
text-decoration: underline;
|
|
color: white !important;
|
|
}
|