MediaWiki:Gadget-DarkModeVector2010.css: различия между версиями

Новая страница: «→==== Ночная тема Vector 2010 ====: body.darkmode-vector2010 { background: #1a1a1a !important; color: #d0d0d0 !important; } body.darkmode-vector2010 #content, body.darkmode-vector2010 #mw-page-base, body.darkmode-vector2010 #mw-head-base { background: #1a1a1a !important; background-image: none !important; color: #d0d0d0 !important; } body.darkmode-vector2010 a { color: #6cb6ff !important; } body.darkmode-vector2010 a:visited...»
 
Затемнение кода
Строка 560: Строка 560:
body.darkmode-vector2010 .mw-plusminus-neg { color: #ff7b7b !important; }
body.darkmode-vector2010 .mw-plusminus-neg { color: #ff7b7b !important; }
body.darkmode-vector2010 .mw-plusminus-null { color: #b0b0b0 !important; }
body.darkmode-vector2010 .mw-plusminus-null { color: #b0b0b0 !important; }
/* ==== Подсветка кода: номера строк и фон ==== */
body.darkmode-vector2010 .mw-highlight,
body.darkmode-vector2010 .mw-highlight pre,
body.darkmode-vector2010 .mw-highlight code,
body.darkmode-vector2010 div.mw-highlight,
body.darkmode-vector2010 .mw-highlighter,
body.darkmode-vector2010 pre.mw-highlight {
    background: #111 !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
/* Номера строк */
body.darkmode-vector2010 .mw-highlight .lineno,
body.darkmode-vector2010 .mw-highlight .linenos,
body.darkmode-vector2010 .mw-highlight .lineno a,
body.darkmode-vector2010 .mw-highlight .linenos a,
body.darkmode-vector2010 .mw-highlight .line-number,
body.darkmode-vector2010 .mw-highlight .re2-cursor,
body.darkmode-vector2010 .mw-highlight-lines,
body.darkmode-vector2010 .mw-highlight-lines a {
    background: #1a1a1a !important;
    color: #808080 !important;
    border-right-color: #333 !important;
}
body.darkmode-vector2010 .mw-highlight .lineno:hover,
body.darkmode-vector2010 .mw-highlight .linenos a:hover {
    color: #6cb6ff !important;
}
/* Подсветка текущей строки */
body.darkmode-vector2010 .mw-highlight .highlighted,
body.darkmode-vector2010 .mw-highlight .hll {
    background: #2a2a2a !important;
}
/* Токены синтаксиса — если стандартные цвета плохо видны */
body.darkmode-vector2010 .mw-highlight .c,
body.darkmode-vector2010 .mw-highlight .c1,
body.darkmode-vector2010 .mw-highlight .cm { color: #6a9955 !important; }
body.darkmode-vector2010 .mw-highlight .k,
body.darkmode-vector2010 .mw-highlight .kd,
body.darkmode-vector2010 .mw-highlight .kn { color: #c586c0 !important; }
body.darkmode-vector2010 .mw-highlight .s,
body.darkmode-vector2010 .mw-highlight .s1,
body.darkmode-vector2010 .mw-highlight .s2 { color: #ce9178 !important; }
body.darkmode-vector2010 .mw-highlight .mi,
body.darkmode-vector2010 .mw-highlight .mf { color: #b5cea8 !important; }
body.darkmode-vector2010 .mw-highlight .nf,
body.darkmode-vector2010 .mw-highlight .nb { color: #dcdcaa !important; }
body.darkmode-vector2010 .mw-highlight .nc,
body.darkmode-vector2010 .mw-highlight .nn { color: #4ec9b0 !important; }
/* ==== Редактор: номера строк (CodeMirror / WikiEditor) ==== */
body.darkmode-vector2010 .CodeMirror,
body.darkmode-vector2010 .cm-editor,
body.darkmode-vector2010 .cm-s-default,
body.darkmode-vector2010 .cm-s-dark {
    background: #1a1a1a !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 .CodeMirror-gutters,
body.darkmode-vector2010 .cm-gutters,
body.darkmode-vector2010 .cm-gutter {
    background: #1a1a1a !important;
    border-right-color: #333 !important;
}
body.darkmode-vector2010 .CodeMirror-linenumber,
body.darkmode-vector2010 .cm-gutterElement,
body.darkmode-vector2010 .cm-lineNumbers .cm-gutterElement {
    background: #1a1a1a !important;
    color: #808080 !important;
}
body.darkmode-vector2010 .CodeMirror-linenumber:hover,
body.darkmode-vector2010 .cm-gutterElement:hover {
    color: #6cb6ff !important;
}
body.darkmode-vector2010 .CodeMirror-cursor,
body.darkmode-vector2010 .cm-cursor {
    border-left-color: #e0e0e0 !important;
}
body.darkmode-vector2010 .CodeMirror-selected,
body.darkmode-vector2010 .cm-selectionBackground,
body.darkmode-vector2010 .CodeMirror-focused .CodeMirror-selected {
    background: #2a3a4a !important;
}
body.darkmode-vector2010 .CodeMirror-activeline-background,
body.darkmode-vector2010 .cm-activeLine,
body.darkmode-vector2010 .cm-activeLineGutter {
    background: #222 !important;
}