/*
    Adapted for jupyter-themer from https://github.com/codemirror
*/

/* Loosely based on the Midnight Textmate theme */

.CodeMirror { background: #0a001f; color: #f8f8f8; }
.CodeMirror div.CodeMirror-selected { background: #447; }
.CodeMirror .CodeMirror-line::selection, .CodeMirror .CodeMirror-line > span::selection, .CodeMirror .CodeMirror-line > span > span::selection { background: rgba(68, 68, 119, .99); }
.CodeMirror .CodeMirror-line::-moz-selection, .CodeMirror .CodeMirror-line > span::-moz-selection, .CodeMirror .CodeMirror-line > span > span::-moz-selection { background: rgba(68, 68, 119, .99); }
.CodeMirror .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; }
.CodeMirror .CodeMirror-guttermarker { color: white; }
.CodeMirror .CodeMirror-guttermarker-subtle { color: #bbb; }
.CodeMirror .CodeMirror-linenumber { color: #f8f8f8; }
.CodeMirror .CodeMirror-cursor { border-left: 1px solid white; }

.CodeMirror span.cm-comment { color: #6900a1; }
.CodeMirror span.cm-atom { color: #845dc4; }
.CodeMirror span.cm-number, .CodeMirror span.cm-attribute { color: #ffd500; }
.CodeMirror span.cm-keyword { color: #599eff; }
.CodeMirror span.cm-string { color: #37f14a; }
.CodeMirror span.cm-meta { color: #7678e2; }
.CodeMirror span.cm-variable, .CodeMirror span.cm-variable-2, .CodeMirror span.cm-tag { color: #99b2ff; }
.CodeMirror span.cm-variable-3, .CodeMirror span.cm-def { color: white; }
.CodeMirror span.cm-bracket { color: #8da6ce; }
.CodeMirror span.cm-comment { color: #6900a1; }
.CodeMirror span.cm-builtin, .CodeMirror span.cm-special { color: #ff9e59; }
.CodeMirror span.cm-link { color: #845dc4; }
.CodeMirror span.cm-error { color: #9d1e15; }

.CodeMirror .CodeMirror-activeline-background { background: #1C005A; }
.CodeMirror .CodeMirror-matchingbracket { outline:1px solid grey; color:white !important; }
