md/public/assets/css/style-mirror.css

124 lines
2.4 KiB
CSS
Raw Normal View History

2019-12-10 19:16:05 +08:00
/*
Name: Base16 Default Light
Author: Chris Kempson (http://chriskempson.com)
CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)
Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)
*/
.cm-s-style-mirror.CodeMirror {
background: #f5f5f5;
color: #444;
font-size: 16px;
padding: 20px;
line-height: 25px;
}
.cm-s-style-mirror div.CodeMirror-selected {
2019-12-10 19:16:05 +08:00
background: #e0e0e0;
}
.cm-s-style-mirror .CodeMirror-line::selection,
.cm-s-style-mirror .CodeMirror-line>span::selection,
.cm-s-style-mirror .CodeMirror-line>span>span::selection {
2019-12-10 19:16:05 +08:00
background: #e0e0e0;
}
.cm-s-style-mirror .CodeMirror-line::-moz-selection,
.cm-s-style-mirror .CodeMirror-line>span::-moz-selection,
.cm-s-style-mirror .CodeMirror-line>span>span::-moz-selection {
2019-12-10 19:16:05 +08:00
background: #e0e0e0;
}
.cm-s-style-mirror .CodeMirror-gutters {
2019-12-10 19:16:05 +08:00
background: #f5f5f5;
border-right: 0px;
}
.cm-s-style-mirror .CodeMirror-guttermarker {
2019-12-10 19:16:05 +08:00
color: #ac4142;
}
.cm-s-style-mirror .CodeMirror-guttermarker-subtle {
2019-12-10 19:16:05 +08:00
color: #b0b0b0;
}
.cm-s-style-mirror .CodeMirror-linenumber {
2019-12-10 19:16:05 +08:00
color: #b0b0b0;
}
.cm-s-style-mirror .CodeMirror-cursor {
2019-12-10 19:16:05 +08:00
border-left: 1px solid #505050;
}
.cm-s-style-mirror span.cm-comment {
color: green;
}
.cm-s-style-mirror span.cm-atom {
2019-12-10 19:16:05 +08:00
color: #aa759f;
}
.cm-s-style-mirror span.cm-number {
2019-12-10 19:16:05 +08:00
color: #aa759f;
}
.cm-s-style-mirror span.cm-property,
.cm-s-style-mirror span.cm-attribute {
2019-12-10 19:16:05 +08:00
color: #90a959;
}
.cm-s-style-mirror span.cm-keyword {
2019-12-10 19:16:05 +08:00
color: #023a52;
}
.cm-s-style-mirror span.cm-string {
2019-12-10 19:16:05 +08:00
color: #e46918;
}
.cm-s-style-mirror span.cm-variable {
2019-12-10 19:16:05 +08:00
color: #90a959;
}
.cm-s-style-mirror span.cm-variable-2 {
2019-12-10 19:16:05 +08:00
color: #00695f;
}
.cm-s-style-mirror span.cm-variable-3 {
2019-12-10 19:16:05 +08:00
color: #2e6e8a;
}
.cm-s-style-mirror span.cm-def {
2019-12-10 19:16:05 +08:00
color: #d28445;
}
.cm-s-style-mirror span.cm-bracket {
2019-12-10 19:16:05 +08:00
color: #202020;
}
.cm-s-style-mirror span.cm-tag {
color: #000;
}
.cm-s-style-mirror span.cm-link {
2019-12-10 19:16:05 +08:00
color: #b26a00;
}
.cm-s-style-mirror span.cm-error {
2019-12-10 19:16:05 +08:00
/* background: #ac4142;
color: #f5f5f5; */
text-decoration: underline;
text-decoration-style: wavy;
text-decoration-color: #df8d8e;
}
.cm-s-style-mirror .CodeMirror-activeline-background {
2019-12-10 19:16:05 +08:00
background: #dddcdc;
}
.cm-s-style-mirror .CodeMirror-matchingbracket {
color: rgb(32, 32, 32) !important;
background-color: rgba(0, 0, 0, 0.1) !important;
}