MediaWiki:Gadget-DarkModeVector2010.css: различия между версиями
Ланселот (обсуждение | вклад) Базовый код |
Ланселот (обсуждение | вклад) Скоростная оптимизация — ТЕСТ Метка: отменено |
||
| Строка 1: | Строка 1: | ||
/* ============================================================ | /* ============================================================ | ||
Ночная тема для Vector 2010 | Ночная тема для Vector 2010 — оптимизированная версия | ||
Класс на <html>: html.dm | |||
============================================================ */ | ============================================================ */ | ||
/* База */ | /* ---------- База ---------- */ | ||
body | html.dm, | ||
html.dm body { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
} | } | ||
html.dm #content, | |||
html.dm #mw-page-base, | |||
html.dm #mw-head-base { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
} | } | ||
html.dm a { color: #8cc8ff !important; } | |||
html.dm a:visited { color: #c9a8ff !important; } | |||
html.dm a.new { color: #ff9a9a !important; } | |||
html.dm h1, html.dm h2, html.dm h3, | |||
html.dm h4, html.dm h5, html.dm h6 { | |||
color: #fff !important; | |||
color: # | |||
border-bottom-color: #444 !important; | border-bottom-color: #444 !important; | ||
} | } | ||
html.dm hr { border-color: #444 !important; } | |||
html.dm table, html.dm th, html.dm td { | |||
background: #222 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .wikitable > * > tr > th { background: #2d2d2d !important; } | |||
html.dm code, | |||
html.dm pre, | |||
html.dm .mw-code { | |||
background: #111 !important; | background: #111 !important; | ||
color: #e0e0e0 !important; | color: #e0e0e0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm blockquote { | |||
background: #222 !important; | background: #222 !important; | ||
border-left-color: #555 !important; | border-left-color: #555 !important; | ||
} | } | ||
html.dm #toc, html.dm .toc { | |||
background: #222 !important; | background: #222 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm #toc a, html.dm .toc a { color: #8cc8ff !important; } | |||
html.dm #p-personal a, | |||
html.dm #p-navigation a, | |||
html.dm #p-tb a, | |||
html.dm #p-search a { color: #8cc8ff !important; } | |||
html.dm #left-navigation, | |||
html.dm #right-navigation { background: #1a1a1a !important; } | |||
html.dm #simpleSearch input { | |||
background: #2a2a2a !important; | background: #2a2a2a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #555 !important; | border-color: #555 !important; | ||
} | } | ||
html.dm .thumbinner, | |||
html.dm .thumb { | |||
background: #222 !important; | background: #222 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .thumbcaption { color: #b0b0b0 !important; } | |||
/* Картинки-формулы и логотип — оставляем filter, их мало */ | |||
html.dm img.mw-invertable, | |||
html.dm .mw-invertable img, | |||
html.dm img.mwe-math-fallback-image-inline, | |||
html.dm img.mwe-math-fallback-image-display, | |||
html.dm #p-logo a, | |||
html.dm #p-logo img, | |||
html.dm .mw-logo img, | |||
html.dm .mw-logo-icon, | |||
html.dm #footer-poweredbyico img { | |||
filter: invert(1) hue-rotate(180deg); | filter: invert(1) hue-rotate(180deg); | ||
} | } | ||
html.dm .mw-warning, | |||
html.dm .errorbox, | |||
html.dm .successbox, | |||
html.dm .messagebox { | |||
background: #2d2d2d !important; | background: #2d2d2d !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #555 !important; | border-color: #555 !important; | ||
} | } | ||
html.dm .catlinks { | |||
background: #222 !important; | background: #222 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
/* Вкладки и портлеты */ | /* ---------- Вкладки и портлеты ---------- */ | ||
html.dm #p-views, | |||
html.dm #p-namespaces, | |||
html.dm #p-actions, | |||
html.dm #p-cactions, | |||
html.dm .vectorTabs, | |||
html.dm .vectorMenu, | |||
html.dm .vector-menu, | |||
html.dm .mw-vector-tabs, | |||
html.dm .mw-portlet, | |||
html.dm .mw-portlet-body, | |||
html.dm .mw-portlet-views, | |||
html.dm .mw-portlet-namespaces, | |||
html.dm .mw-portlet-actions, | |||
html.dm .mw-portlet-cactions, | |||
html.dm .vector-menu-tabs, | |||
html.dm .vector-menu-content, | |||
html.dm .vector-menu-content-list { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm #p-namespaces ul, | |||
html.dm #p-views ul, | |||
html.dm #p-cactions ul, | |||
html.dm #p-actions ul, | |||
html.dm .vectorTabs ul, | |||
html.dm .mw-vector-tabs ul { background: #1a1a1a !important; } | |||
html.dm .vectorTabs li, | |||
html.dm .vectorMenu li, | |||
html.dm .mw-portlet li, | |||
html.dm .vector-menu-tabs li, | |||
html.dm .vector-menu-content-list li { | |||
background: #2a2a2a !important; | background: #2a2a2a !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .vectorTabs li a, | |||
html.dm .vectorMenu h3 span, | |||
html.dm .vectorMenu h3 a, | |||
html.dm .mw-vector-tabs li a, | |||
html.dm .mw-portlet li a, | |||
html.dm .vector-menu-tabs li a, | |||
html.dm .vector-menu-content-list li a, | |||
html.dm .mw-portlet a { | |||
color: #8cc8ff !important; | color: #8cc8ff !important; | ||
background: transparent !important; | background: transparent !important; | ||
} | } | ||
html.dm .vectorTabs li a:hover, | |||
html.dm .vectorMenu h3:hover span, | |||
html.dm .mw-portlet li a:hover, | |||
color: # | html.dm .vector-menu-tabs li a:hover { | ||
color: #fff !important; | |||
background: #333 !important; | background: #333 !important; | ||
} | } | ||
html.dm .vectorTabs li.selected, | |||
html.dm .vectorTabs li.selected a, | |||
html.dm .vector-menu-tabs .selected a, | |||
html.dm .mw-portlet li.selected, | |||
html.dm .mw-portlet li.selected a, | |||
html.dm .vector-menu-tabs li.selected, | |||
html.dm .vector-menu-tabs li.selected a { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: # | color: #fff !important; | ||
border-color: #1a1a1a !important; | border-color: #1a1a1a !important; | ||
} | } | ||
/* Иконки табов: mask вместо filter — дешевле при скролле/hover */ | |||
html.dm .vectorTabs li.icon a, | |||
html.dm .mw-portlet li a.new, | |||
filter: | html.dm .vector-menu-tabs li a.new { | ||
-webkit-mask-size: contain; | |||
mask-size: contain; | |||
-webkit-mask-repeat: no-repeat; | |||
mask-repeat: no-repeat; | |||
-webkit-mask-position: center; | |||
mask-position: center; | |||
background-color: #8cc8ff !important; | |||
filter: none !important; | |||
} | } | ||
html.dm .vectorMenu .menu, | |||
html.dm .vectorMenu .vector-menu-content-list { | |||
background: #222 !important; | background: #222 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .vectorMenu .menu a { color: #8cc8ff !important; } | |||
html.dm .vectorMenu .menu a:hover { background: #333 !important; } | |||
} | |||
html.dm #footer { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
border-top-color: #444 !important; | border-top-color: #444 !important; | ||
color: #a0a0a0 !important; | color: #a0a0a0 !important; | ||
} | } | ||
html.dm #footer-info-lastmod, | |||
html.dm #footer-info-copyright, | |||
html.dm #footer-info, | |||
html.dm .footer-info, | |||
html.dm #footer li, | |||
html.dm #footer p { color: #c0c0c0 !important; } | |||
} | |||
/* Заголовки блоков бокового меню */ | /* Заголовки блоков бокового меню */ | ||
html | html.dm .mw-portlet h3, | ||
html | html.dm .mw-portlet .mw-portlet-heading, | ||
html | html.dm .vector-menu-heading, | ||
html | html.dm #p-navigation h3, | ||
html | html.dm #p-tb h3, | ||
html | html.dm #p-personal h3 { | ||
color: #40e0d0 !important; | color: #40e0d0 !important; | ||
background: transparent !important; | background: transparent !important; | ||
font-weight: normal !important; | font-weight: normal !important; | ||
border: none !important; | border: none !important; | ||
| Строка 209: | Строка 217: | ||
} | } | ||
/* Контент: таблицы, изображения, код */ | /* ---------- Контент: таблицы, изображения, код ---------- */ | ||
html.dm .sortable, | |||
html.dm .infobox, | |||
html.dm .navbox, | |||
html.dm .wikitable.plainrowheaders, | |||
html.dm .mw-datatable, | |||
html.dm .wikitable { | |||
background: #222 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .sortable th, | |||
html.dm .sortable td, | |||
html.dm .mw-datatable th, | |||
html.dm .mw-datatable td { | |||
background: #222 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .sortable tr:nth-child(even) td, | |||
html.dm .mw-datatable tr:nth-child(even) td { background: #1e1e1e !important; } | |||
html.dm .sortable tr:hover td, | |||
} | html.dm .mw-datatable tr:hover td { background: #2a2a2a !important; } | ||
html.dm .sortable .headerSort, | |||
html.dm .sortable th[role="columnheader"] { color: #fff !important; } | |||
html.dm .sortable .headerSort:after, | |||
} | html.dm .sortable .headerSort:before { | ||
} | |||
filter: invert(1) hue-rotate(180deg); | filter: invert(1) hue-rotate(180deg); | ||
} | } | ||
html.dm figure[typeof~="mw:File/Thumb"], | |||
html.dm figure[typeof~="mw:File/Frame"], | |||
html.dm .mw-halign-none, | |||
html.dm .mw-halign-left, | |||
html.dm .mw-halign-right, | |||
html.dm .mw-halign-center, | |||
html.dm figure[typeof~="mw:File"] { | |||
background: #222 !important; | background: #222 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
} | } | ||
html.dm .thumbcaption, | |||
html.dm figcaption, | |||
html.dm .thumbcaption .magnify, | |||
html.dm figure > figcaption { | |||
background: #222 !important; | background: #222 !important; | ||
color: #b8b8b8 !important; | color: #b8b8b8 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .thumbcaption a, | |||
html.dm figcaption a { color: #8cc8ff !important; } | |||
html.dm .magnify a, | |||
} | html.dm .magnify img { filter: invert(1) hue-rotate(180deg); } | ||
html.dm .thumbimage, | |||
html.dm figure img { | |||
} | |||
border-color: #444 !important; | border-color: #444 !important; | ||
background: #111 !important; | background: #111 !important; | ||
} | } | ||
/* Подсветка кода */ | |||
html.dm .mw-highlight, | |||
html.dm .mw-highlight pre, | |||
html.dm .mw-highlight code, | |||
html.dm div.mw-highlight, | |||
html.dm .mw-highlighter, | |||
html.dm pre.mw-highlight { | |||
background: #111 !important; | background: #111 !important; | ||
color: #e0e0e0 !important; | color: #e0e0e0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .mw-highlight .lineno, | |||
html.dm .mw-highlight .linenos, | |||
html.dm .mw-highlight .lineno a, | |||
html.dm .mw-highlight .linenos a, | |||
html.dm .mw-highlight .line-number, | |||
html.dm .mw-highlight .re2-cursor, | |||
html.dm .mw-highlight-lines, | |||
html.dm .mw-highlight-lines a { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #808080 !important; | color: #808080 !important; | ||
border-right-color: #333 !important; | border-right-color: #333 !important; | ||
} | } | ||
html.dm .mw-highlight .lineno:hover, | |||
html.dm .mw-highlight .linenos a:hover { color: #8cc8ff !important; } | |||
html.dm .mw-highlight .highlighted, | |||
} | html.dm .mw-highlight .hll { background: #2a2a2a !important; } | ||
html.dm .mw-highlight .c, | |||
html.dm .mw-highlight .c1, | |||
html.dm .mw-highlight .cm { color: #6a9955 !important; } | |||
html.dm .mw-highlight .k, | |||
html.dm .mw-highlight .kd, | |||
html.dm .mw-highlight .kn { color: #c586c0 !important; } | |||
html.dm .mw-highlight .s, | |||
html.dm .mw-highlight .s1, | |||
html.dm .mw-highlight .s2 { color: #ce9178 !important; } | |||
html.dm .mw-highlight .mi, | |||
html.dm .mw-highlight .mf { color: #b5cea8 !important; } | |||
html.dm .mw-highlight .nf, | |||
html.dm .mw-highlight .nb { color: #dcdcaa !important; } | |||
html.dm .mw-highlight .nc, | |||
html.dm .mw-highlight .nn { color: #4ec9b0 !important; } | |||
/* CodeMirror */ | |||
html.dm .CodeMirror, | |||
html.dm .cm-editor, | |||
html.dm .cm-s-default, | |||
html.dm .cm-s-dark { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #e0e0e0 !important; | color: #e0e0e0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .CodeMirror-gutters, | |||
html.dm .cm-gutters, | |||
html.dm .cm-gutter { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
border-right-color: #333 !important; | border-right-color: #333 !important; | ||
} | } | ||
html.dm .CodeMirror-linenumber, | |||
html.dm .cm-gutterElement, | |||
html.dm .cm-lineNumbers .cm-gutterElement { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #808080 !important; | color: #808080 !important; | ||
} | } | ||
html.dm .CodeMirror-linenumber:hover, | |||
html.dm .cm-gutterElement:hover { color: #8cc8ff !important; } | |||
html.dm .CodeMirror-cursor, | |||
} | html.dm .cm-cursor { border-left-color: #e0e0e0 !important; } | ||
html.dm .CodeMirror-selected, | |||
html.dm .cm-selectionBackground, | |||
html.dm .CodeMirror-focused .CodeMirror-selected { background: #2a3a4a !important; } | |||
} | html.dm .CodeMirror-activeline-background, | ||
html.dm .cm-activeLine, | |||
html.dm .cm-activeLineGutter { background: #222 !important; } | |||
} | |||
} | |||
/* Подложки для прозрачных файлов */ | /* ---------- Подложки для прозрачных файлов ---------- */ | ||
html | html.dm img[src$=".gif"], | ||
html | html.dm img[src*=".gif?"] { | ||
background-color: #D9ECFF !important; | background-color: #D9ECFF !important; | ||
filter: none !important; | filter: none !important; | ||
} | } | ||
html | html.dm img[src$=".png"], | ||
html | html.dm img[src*=".png?"] { background-color: #293133 !important; } | ||
} | |||
/* Редактор | /* ---------- Редактор ---------- */ | ||
html.dm #toolbar, | |||
html.dm #editButtons, | |||
html.dm #wpTextbox1 + .editButtons, | |||
html.dm .editButtons, | |||
html.dm #wikiEditor-ui-toolbar, | |||
html.dm #wikiEditor-ui-toolbar .toolbar, | |||
html.dm #wikiEditor-ui-toolbar .section, | |||
html.dm #wikiEditor-ui-toolbar .group, | |||
html.dm .wikiEditor-ui-toolbar, | |||
html.dm .wikiEditor-toolbar { | |||
background: #2a2a2a !important; | background: #2a2a2a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm #wikiEditor-ui-toolbar .tabs, | |||
html.dm #wikiEditor-ui-toolbar .tab, | |||
html.dm #wikiEditor-ui-toolbar .tabspan, | |||
html.dm #wikiEditor-ui-toolbar .current, | |||
html.dm #wikiEditor-ui-toolbar .tab.current { | |||
background: #333 !important; | background: #333 !important; | ||
color: #8cc8ff !important; | color: #8cc8ff !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm #wikiEditor-ui-toolbar .tab.current, | |||
html.dm #wikiEditor-ui-toolbar .current { | |||
background: #2a2a2a !important; | background: #2a2a2a !important; | ||
color: # | color: #fff !important; | ||
} | } | ||
html.dm #wikiEditor-ui-toolbar a, | |||
html.dm #wikiEditor-ui-toolbar .tool, | |||
html.dm .editButtons a { color: #d0d0d0 !important; } | |||
html.dm #wikiEditor-ui-toolbar a:hover, | |||
html.dm #wikiEditor-ui-toolbar .tool:hover { | |||
background: #3a3a3a !important; | background: #3a3a3a !important; | ||
color: # | color: #fff !important; | ||
} | } | ||
html.dm #wikiEditor-ui-toolbar .tool-icon, | |||
html.dm #wikiEditor-ui-toolbar .oo-ui-iconElement-icon, | |||
html.dm .editButtons img, | |||
html.dm #toolbar img { filter: invert(1) hue-rotate(180deg); } | |||
html.dm #wpTextbox1, | |||
html.dm textarea#wpTextbox1, | |||
html.dm .wikiEditor-ui-text textarea, | |||
html.dm .ve-ce-surface, | |||
html.dm .ve-ce-documentNode { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #e0e0e0 !important; | color: #e0e0e0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .editOptions, | |||
html.dm #editpage-copywarn, | |||
html.dm .mw-editfooter-toggler, | |||
html.dm .editHelp, | |||
html.dm #editform, | |||
html.dm .mw-editform { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
| Строка 444: | Строка 423: | ||
} | } | ||
/* Формы | /* ---------- Формы ---------- */ | ||
html.dm select, | |||
html.dm input[type="text"], | |||
html.dm input[type="search"], | |||
html.dm input[type="number"], | |||
html.dm input[type="date"], | |||
html.dm textarea, | |||
html.dm .mw-ui-input, | |||
html.dm .oo-ui-inputWidget-input { | |||
background: #2a2a2a !important; | background: #2a2a2a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border: 1px solid #555 !important; | border: 1px solid #555 !important; | ||
border-radius: 3px !important; | border-radius: 3px !important; | ||
} | } | ||
html.dm select, | |||
html.dm .oo-ui-dropdownWidget-handle, | |||
html.dm .oo-ui-inputWidget-input { | |||
appearance: none !important; | appearance: none !important; | ||
} | } | ||
html.dm select { | |||
background-image: linear-gradient(45deg, transparent 50%, #8cc8ff 50%), | background-image: linear-gradient(45deg, transparent 50%, #8cc8ff 50%), | ||
linear-gradient(135deg, #8cc8ff 50%, transparent 50%) !important; | linear-gradient(135deg, #8cc8ff 50%, transparent 50%) !important; | ||
| Строка 474: | Строка 450: | ||
padding-right: 24px !important; | padding-right: 24px !important; | ||
} | } | ||
html.dm select option, | |||
html.dm select optgroup { background: #2a2a2a !important; color: #d0d0d0 !important; } | |||
html.dm select option:checked, | |||
html.dm select option:hover { background: #3a3a3a !important; color: #fff !important; } | |||
} | |||
html.dm input[type="checkbox"], | |||
html.dm input[type="radio"] { accent-color: #8cc8ff !important; } | |||
html.dm button, | |||
html.dm input[type="submit"], | |||
html.dm input[type="button"], | |||
html.dm .oo-ui-buttonElement-button, | |||
html.dm .mw-ui-button { | |||
background: #333 !important; | background: #333 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border: 1px solid #555 !important; | border: 1px solid #555 !important; | ||
} | } | ||
html.dm button:hover, | |||
html.dm input[type="submit"]:hover, | |||
html.dm .oo-ui-buttonElement-button:hover, | |||
html.dm .mw-ui-button:hover { background: #444 !important; color: #fff !important; } | |||
html.dm .oo-ui-fieldLayout, | |||
html.dm .oo-ui-labelElement-label, | |||
html.dm label, | |||
html.dm legend { color: #d0d0d0 !important; } | |||
html.dm .oo-ui-dropdownWidget, | |||
html.dm .oo-ui-menuSelectWidget, | |||
html.dm .oo-ui-optionWidget { | |||
background: #2a2a2a !important; | background: #2a2a2a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #555 !important; | border-color: #555 !important; | ||
} | } | ||
html.dm .oo-ui-optionWidget-selected, | |||
html.dm .oo-ui-optionWidget-highlighted { background: #3a3a3a !important; color: #fff !important; } | |||
html.dm .oo-ui-textInputWidget, | |||
html.dm .oo-ui-textInputWidget .oo-ui-inputWidget-input, | |||
html.dm .oo-ui-textInputWidget input, | |||
html.dm .oo-ui-textInputWidget textarea { | |||
background: #2a2a2a !important; | background: #2a2a2a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
| Строка 533: | Строка 496: | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
html.dm .oo-ui-textInputWidget .oo-ui-inputWidget-input:focus, | |||
html.dm .oo-ui-textInputWidget input:focus, | |||
html.dm #wpReason:focus { | |||
border-color: #8cc8ff !important; | border-color: #8cc8ff !important; | ||
box-shadow: 0 0 0 1px #8cc8ff !important; | box-shadow: 0 0 0 1px #8cc8ff !important; | ||
} | } | ||
/* Служебные страницы */ | /* ---------- Служебные страницы ---------- */ | ||
html.dm #filetoc, | |||
html.dm #filetoc ul, | |||
html.dm .filehistory, | |||
html.dm .filehistory ul, | |||
html.dm #mw-imagepage-section-filehistory, | |||
html.dm #mw-imagepage-section-globalusage, | |||
html.dm #mw-imagepage-section-linkstoimage, | |||
html.dm .mw-imagepage-section { | |||
background: #222 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm #filetoc a, | |||
html.dm .filehistory a, | |||
html.dm #mw-imagepage-section-filehistory a, | |||
html.dm .mw-imagepage-section a { color: #8cc8ff !important; } | |||
html.dm .mw-imagepage-content, | |||
html.dm .mw-imagepage-content ul, | |||
html.dm .mw-imagepage-content li, | |||
html.dm .mw-imagepage-content table { | |||
background: #222 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .mw-imagepage-content th, | |||
html.dm .mw-imagepage-content td { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
/* Свежие правки и история */ | /* ---------- Свежие правки и история ---------- */ | ||
html.dm .mw-changeslist-legend, | |||
html.dm .mw-specialpage-legend, | |||
html.dm .mw-changeslist-legend-inner, | |||
html.dm .rclistfrom, | |||
html.dm #mw-indicator, | |||
html.dm .mw-indicators, | |||
html.dm .mw-specialpage-summary, | |||
html.dm .mw-recentchanges-filters, | |||
html.dm .rcoptions, | |||
html.dm fieldset { | |||
background: #222 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .mw-changeslist-legend a, | |||
html.dm .mw-specialpage-legend a { color: #8cc8ff !important; } | |||
html.dm legend { color: #e0e0e0 !important; } | |||
} | |||
html.dm .mw-changeslist-line, | |||
html.dm .mw-changeslist-line-inner, | |||
html.dm .mw-changeslist-line-watched, | |||
html.dm .mw-changeslist-line-not-watched, | |||
html.dm .special li, | |||
html.dm .mw-recentchanges-list li { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #333 !important; | border-color: #333 !important; | ||
} | } | ||
html | html.dm .mw-enhancedchanges-arrow { | ||
background-color: #8cc8ff !important; | background-color: #8cc8ff !important; | ||
filter: none !important; | filter: none !important; | ||
opacity: 1 !important; | opacity: 1 !important; | ||
} | } | ||
html | html.dm .mw-collapsible-toggle { background: transparent !important; color: #8cc8ff !important; } | ||
html.dm .mw-history-table, | |||
html.dm .mw-history-table tr, | |||
html.dm .mw-history-table td, | |||
html.dm .mw-history-table th, | |||
html.dm #pagehistory, | |||
html.dm #pagehistory li, | |||
html.dm #pagehistory .mw-history-compareselectedversions { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm #pagehistory li.selected, | |||
html.dm #pagehistory li:target, | |||
html.dm .mw-history-table tr.selected, | |||
html.dm .mw-history-table tr:target { | |||
background: #2a2a2a !important; | background: #2a2a2a !important; | ||
color: # | color: #fff !important; | ||
border-color: #555 !important; | border-color: #555 !important; | ||
} | } | ||
html.dm #pagehistory a, | |||
html.dm .mw-history-table a { color: #8cc8ff !important; } | |||
html.dm #pagehistory a:visited, | |||
} | html.dm .mw-history-table a:visited { color: #c9a8ff !important; } | ||
html.dm .mw-plusminus-pos { color: #7bd88f !important; } | |||
html.dm .mw-plusminus-neg { color: #ff9a9a !important; } | |||
html.dm .mw-plusminus-null { color: #b0b0b0 !important; } | |||
/* Удаление */ | /* ---------- Удаление ---------- */ | ||
html.dm #deleteconfirm, | |||
html.dm .mw-deleteconfirm, | |||
html.dm #delete-reason, | |||
html.dm .delete-reason { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
} | } | ||
html.dm #wpDeleteReasonList, | |||
html.dm #wpReason, | |||
html.dm #delete-reason input, | |||
html.dm #delete-reason textarea, | |||
html.dm .delete-reason input, | |||
html.dm .delete-reason textarea, | |||
html.dm #deleteconfirm input[type="text"], | |||
html.dm #deleteconfirm textarea, | |||
html.dm .mw-deleteconfirm input[type="text"], | |||
html.dm .mw-deleteconfirm textarea { | |||
background: #2a2a2a !important; | background: #2a2a2a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
| Строка 675: | Строка 623: | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
html.dm #deleteconfirm td, | |||
html.dm #deleteconfirm tr, | |||
html.dm .mw-deleteconfirm td, | |||
html.dm .mw-deleteconfirm tr { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
} | } | ||
html.dm #deleteconfirm label, | |||
html.dm .mw-deleteconfirm label, | |||
html.dm #deleteconfirm legend, | |||
html.dm .mw-deleteconfirm legend { color: #e0e0e0 !important; } | |||
html.dm #deleteconfirm input[type="submit"] { | |||
} | |||
background: #333 !important; | background: #333 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border: 1px solid #555 !important; | border: 1px solid #555 !important; | ||
} | } | ||
html.dm #deleteconfirm input[type="submit"]:hover { background: #444 !important; color: #fff !important; } | |||
} | |||
/* Поиск */ | /* ---------- Поиск ---------- */ | ||
html.dm .mw-search-tabs, | |||
html.dm .search-types, | |||
html.dm .mw-search-profile-tabs, | |||
html.dm .mw-searchresults-tabs, | |||
html.dm #mw-searchoptions, | |||
html.dm #mw-search-top-table, | |||
html.dm .mw-search-form, | |||
html.dm .search-form, | |||
html.dm #search, | |||
html.dm #searchform { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .mw-search-tabs a, | |||
html.dm .search-types a, | |||
html.dm .mw-search-profile-tabs a, | |||
html.dm .mw-search-profile-tabs li, | |||
html.dm .search-types li, | |||
html.dm .mw-search-tabs li { | |||
background: #2a2a2a !important; | background: #2a2a2a !important; | ||
color: #8cc8ff !important; | color: #8cc8ff !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .mw-search-tabs li.selected, | |||
html.dm .search-types li.selected, | |||
html.dm .mw-search-profile-tabs li.selected, | |||
html.dm .mw-search-tabs li.selected a, | |||
html.dm .search-types li.selected a, | |||
html.dm .mw-search-profile-tabs li.selected a { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: # | color: #fff !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .mw-search-tabs a:hover, | |||
html.dm .search-types a:hover, | |||
html.dm .mw-search-profile-tabs a:hover { background: #333 !important; color: #fff !important; } | |||
html.dm .mw-searchoptions, | |||
html.dm #mw-searchoptions, | |||
html.dm .mw-searchoptions legend, | |||
html.dm .mw-searchoptions label { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .mw-searchoptions table, | |||
html.dm .mw-searchoptions th, | |||
html.dm .mw-searchoptions td { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .mw-search-results, | |||
html.dm .mw-search-results li, | |||
html.dm .searchresult, | |||
html.dm .mw-search-result { | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #333 !important; | border-color: #333 !important; | ||
} | } | ||
html.dm .mw-search-result-heading a, | |||
html.dm .searchresult a { color: #8cc8ff !important; } | |||
html.dm .mw-search-result-data, | |||
} | html.dm .searchresult .searchresult-data { color: #a0a0a0 !important; } | ||
html.dm .mw-search-result .searchmatch, | |||
html.dm .searchmatch { background: #3a3a2a !important; color: #ffe58a !important; } | |||
} | |||
} | |||
/* InputBox */ | /* ---------- InputBox ---------- */ | ||
html.dm .inputbox, | |||
html.dm .mw-inputbox, | |||
html.dm #createbox, | |||
html.dm .createbox, | |||
html.dm .mw-inputbox-createbox { | |||
background: #222 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html.dm .inputbox label, | |||
html.dm .mw-inputbox label, | |||
html.dm #createbox label, | |||
html.dm .createbox label, | |||
html.dm .mw-inputbox legend { color: #d0d0d0 !important; } | |||
html.dm .inputbox input[type="text"], | |||
} | html.dm .mw-inputbox input[type="text"], | ||
html.dm #createbox input[type="text"], | |||
html.dm .createbox input[type="text"], | |||
html.dm .inputbox input, | |||
html.dm .mw-inputbox input { | |||
background: #2a2a2a !important; | background: #2a2a2a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border: 1px solid #555 !important; | border: 1px solid #555 !important; | ||
} | } | ||
html.dm .inputbox input[type="submit"], | |||
html.dm .inputbox button, | |||
html.dm .mw-inputbox input[type="submit"], | |||
html.dm #createbox input[type="submit"], | |||
html.dm #createbox button, | |||
html.dm .createbox input[type="submit"] { | |||
background: #333 !important; | background: #333 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border: 1px solid #555 !important; | border: 1px solid #555 !important; | ||
} | } | ||
html.dm .inputbox input[type="submit"]:hover, | |||
html.dm .inputbox button:hover, | |||
html.dm #createbox input[type="submit"]:hover { background: #444 !important; color: #fff !important; } | |||
html.dm .mw-inputbox .oo-ui-inputWidget-input, | |||
html.dm .mw-inputbox .oo-ui-textInputWidget, | |||
html.dm .mw-inputbox .oo-ui-buttonElement-button { | |||
background: #2a2a2a !important; | background: #2a2a2a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
| Строка 828: | Строка 757: | ||
} | } | ||
/* Шаблоны и порталы */ | /* ---------- Шаблоны и порталы ---------- */ | ||
html | html.dm .absurd-note { | ||
background: #222 !important; | background: #222 !important; | ||
border: 1px solid #555 !important; | border: 1px solid #555 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
} | } | ||
html | html.dm .absurd-note a { color: #8cc8ff !important; } | ||
html.dm .absurd-note a:visited { color: #c9a8ff !important; } | |||
} | html.dm .absurd-note b, | ||
html | html.dm .absurd-note strong, | ||
html.dm .absurd-note i { color: #fff !important; } | |||
} | html.dm .absurd-note hr { border-color: #444 !important; } | ||
html | |||
html | html.dm .doc-box { | ||
html | |||
} | |||
html | |||
html | |||
background: #222 !important; | background: #222 !important; | ||
border: 1px dotted #555 !important; | border: 1px dotted #555 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
} | } | ||
html | html.dm .doc-box a { color: #8cc8ff !important; } | ||
html.dm .doc-box hr, | |||
} | html.dm .doc-box .mw-hr { border-color: #444 !important; } | ||
html | |||
html | html.dm .right-box { | ||
html | |||
background: #222 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html | html.dm .right-box-element { background: transparent !important; color: #d0d0d0 !important; } | ||
html.dm .right-box a, | |||
html.dm .right-box a:visited, | |||
} | html.dm .right-box-element a { color: #8cc8ff !important; } | ||
html | |||
html | html.dm .forumheader { | ||
html | |||
html | |||
background-color: #222 !important; | background-color: #222 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
} | } | ||
html | html.dm .forumheader a { color: #8cc8ff !important; } | ||
html.dm .forumheader a:visited { color: #c9a8ff !important; } | |||
} | html.dm .forumheader b, | ||
html | html.dm .forumheader strong { color: #fff !important; } | ||
} | html.dm .forumlist, | ||
html | html.dm .forumlist td, | ||
html | html.dm .forumlist th, | ||
html.dm .forumlist tr { | |||
html | |||
html | |||
html | |||
html | |||
background-color: #1a1a1a !important; | background-color: #1a1a1a !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
} | } | ||
html | html.dm .forumlist th { background-color: #2a2a2a !important; } | ||
html.dm .forumlist a { color: #8cc8ff !important; } | |||
} | html.dm .forumlist td.forum_edited a { color: #a0a0a0 !important; } | ||
html | |||
html.dm .main-box, | |||
} | html.dm .main-box-subtitle, | ||
html | html.dm .main-box-header, | ||
html.dm .main-header, | |||
html.dm .section-box, | |||
html | html.dm .main-footer, | ||
html | html.dm .main-footer-actions, | ||
html | html.dm .main-footer-menu, | ||
html | html.dm .main-footer-menuToggle, | ||
html | html.dm .main-footer-menuDropdown, | ||
html | html.dm .main-plainlist { | ||
html | |||
html | |||
html | |||
html | |||
html | |||
background: #222 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html | html.dm .main-box a, | ||
html | html.dm .main-header a, | ||
html | html.dm .section-box a, | ||
html | html.dm .main-footer a { color: #8cc8ff !important; } | ||
html.dm .section-box, | |||
} | html.dm .main-box-header, | ||
html | html.dm .main-header { | ||
html | color: #fff !important; | ||
html | |||
color: # | |||
border-bottom-color: #444 !important; | border-bottom-color: #444 !important; | ||
} | } | ||
html | |||
html | html.dm .absurd-note [style*="background-color:#6161ff"], | ||
html.dm .absurd-note [style*="background:#6161ff"] { background: #1a1a1a !important; } | |||
} | html.dm .absurd-note [style*="background-color:#ababff"], | ||
html | html.dm .absurd-note [style*="background:#ababff"] { background: #222 !important; } | ||
html | html.dm .absurd-note [style*="background-color:#ebebff"], | ||
html.dm .absurd-note [style*="background:#ebebff"] { background: #2a2a2a !important; } | |||
} | html.dm .absurd-note h2, | ||
html | html.dm .absurd-note p, | ||
html | html.dm .absurd-note div { color: #d0d0d0 !important; border-color: #444 !important; } | ||
html.dm .absurd-note h2 { color: #fff !important; } | |||
} | |||
html | html.dm .file-info > tbody > tr > th, | ||
html | html.dm .file-info > tbody > tr > td { | ||
html | |||
} | |||
html | |||
} | |||
html | |||
html | |||
background: #222 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html | html.dm .file-info > tbody > tr > th { color: #fff !important; background: #2a2a2a !important; } | ||
html.dm .file-info a { color: #8cc8ff !important; } | |||
html.dm .file-info a:visited { color: #c9a8ff !important; } | |||
} | html.dm .file-no-data { | ||
html | |||
} | |||
html | |||
} | |||
html | |||
background: #222 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
| Строка 982: | Строка 863: | ||
} | } | ||
/* Расширения */ | /* ---------- Расширения ---------- */ | ||
html | html.dm .ajaxpoll, | ||
html | html.dm .ajaxpoll-question, | ||
html | html.dm .ajaxpoll-answer, | ||
html | html.dm .ajaxpoll-misc, | ||
html | html.dm #ajaxpoll-container- { | ||
background: #222 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html | html.dm .ajaxpoll-question { color: #fff !important; border-bottom-color: #444 !important; } | ||
html.dm .ajaxpoll-answer-name { color: #d0d0d0 !important; } | |||
html.dm .ajaxpoll-answer-vote { color: #a0a0a0 !important; } | |||
} | html.dm .ajaxpoll a { color: #8cc8ff !important; } | ||
html | html.dm .ajaxpoll input[type="submit"], | ||
html.dm .ajaxpoll button { | |||
} | |||
html | |||
} | |||
html | |||
} | |||
html | |||
html | |||
background: #333 !important; | background: #333 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border: 1px solid #555 !important; | border: 1px solid #555 !important; | ||
} | } | ||
html | html.dm .ajaxpoll-ajax, | ||
html | html.dm .ajaxpoll-vote-state, | ||
html | html.dm #ajaxpoll-vote-state-added, | ||
html | html.dm #ajaxpoll-vote-state-revoked { | ||
background: #222 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
/* Диффы */ | /* ---------- Диффы ---------- */ | ||
html | html.dm .diff, | ||
html | html.dm table.diff, | ||
html | html.dm .diff td { | ||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html | html.dm .diff-addedline, | ||
html | html.dm .diff-deletedline, | ||
html | html.dm .diff-context { | ||
background: #222 !important; | background: #222 !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-color: #444 !important; | border-color: #444 !important; | ||
} | } | ||
html | html.dm .diffchange { | ||
background: #3a2a1a !important; | background: #3a2a1a !important; | ||
color: #ffb366 !important; | color: #ffb366 !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
html | html.dm .diff-addedline ins, | ||
html | html.dm .diff-deletedline del { | ||
background: transparent !important; | background: transparent !important; | ||
color: #ffb366 !important; | color: #ffb366 !important; | ||
| Строка 1048: | Строка 919: | ||
} | } | ||
/* Точечные фиксы */ | /* ---------- Точечные фиксы ---------- */ | ||
html | html.dm .ship { color: #a8ffb0 !important; } | ||
html.dm [style*="color:rgb(37,37,37)"], | |||
} | html.dm [style*="color: rgb(37, 37, 37)"] { color: #d0d0d0 !important; } | ||
html | html.dm [style*="color:rgb(37,37,37)"] a, | ||
html | html.dm [style*="color: rgb(37, 37, 37)"] a { color: #8cc8ff !important; } | ||
} | html.dm #footer-poweredbyico, | ||
html | html.dm #footer-poweredbyico img, | ||
html | html.dm #footer-poweredbyico a, | ||
html.dm #footer-poweredbyico ~ * { | |||
} | |||
html | |||
html | |||
html | |||
html | |||
background: #1a1a1a !important; | background: #1a1a1a !important; | ||
border: none !important; | border: none !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
html.dm .usermessage, | |||
html | html.dm .usermessage * { color: #000 !important; } | ||
html.dm .usermessage a { color: #0645ad !important; } | |||
html.dm .usermessage a:visited { color: #0b0080 !important; } | |||
html | |||
} | |||
html | |||
} | |||
html | |||
} | |||