mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-12-15 07:21:32 +00:00
0ea00f2b0e
Bug: T174731 Change-Id: I048270eea67945d959559f68468a39976d777410
44 lines
2 KiB
CSS
44 lines
2 KiB
CSS
/* Based on the theme at http://bonsaiden.github.com/JavaScript-Garden */
|
|
|
|
/*<!--match-->*/
|
|
.cm-s-midnight span.CodeMirror-matchhighlight { background: #494949; }
|
|
.cm-s-midnight.CodeMirror-focused span.CodeMirror-matchhighlight { background: #314D67 !important; }
|
|
|
|
/*<!--activeline-->*/
|
|
.cm-s-midnight .CodeMirror-activeline-background { background: #253540; }
|
|
|
|
.cm-s-midnight.CodeMirror {
|
|
background: #0F192A;
|
|
color: #D1EDFF;
|
|
}
|
|
|
|
.cm-s-midnight div.CodeMirror-selected { background: #314D67; }
|
|
.cm-s-midnight .CodeMirror-line::selection, .cm-s-midnight .CodeMirror-line > span::selection, .cm-s-midnight .CodeMirror-line > span > span::selection { background: rgba(49, 77, 103, .99); }
|
|
.cm-s-midnight .CodeMirror-line::-moz-selection, .cm-s-midnight .CodeMirror-line > span::-moz-selection, .cm-s-midnight .CodeMirror-line > span > span::-moz-selection { background: rgba(49, 77, 103, .99); }
|
|
.cm-s-midnight .CodeMirror-gutters { background: #0F192A; border-right: 1px solid; }
|
|
.cm-s-midnight .CodeMirror-guttermarker { color: white; }
|
|
.cm-s-midnight .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
|
|
.cm-s-midnight .CodeMirror-linenumber { color: #D0D0D0; }
|
|
.cm-s-midnight .CodeMirror-cursor { border-left: 1px solid #F8F8F0; }
|
|
|
|
.cm-s-midnight span.cm-comment { color: #428BDD; }
|
|
.cm-s-midnight span.cm-atom { color: #AE81FF; }
|
|
.cm-s-midnight span.cm-number { color: #D1EDFF; }
|
|
|
|
.cm-s-midnight span.cm-property, .cm-s-midnight span.cm-attribute { color: #A6E22E; }
|
|
.cm-s-midnight span.cm-keyword { color: #E83737; }
|
|
.cm-s-midnight span.cm-string { color: #1DC116; }
|
|
|
|
.cm-s-midnight span.cm-variable { color: #FFAA3E; }
|
|
.cm-s-midnight span.cm-variable-2 { color: #FFAA3E; }
|
|
.cm-s-midnight span.cm-def { color: #4DD; }
|
|
.cm-s-midnight span.cm-bracket { color: #D1EDFF; }
|
|
.cm-s-midnight span.cm-tag { color: #449; }
|
|
.cm-s-midnight span.cm-link { color: #AE81FF; }
|
|
.cm-s-midnight span.cm-error { background: #F92672; color: #F8F8F0; }
|
|
|
|
.cm-s-midnight .CodeMirror-matchingbracket {
|
|
text-decoration: underline;
|
|
color: white !important;
|
|
}
|