MediaWiki:Gadget-DarkModeVector2010.css

Материал из Тестовая Абсурдопедии
Версия от 17:51, 16 октября 2026; Ланселот (обсуждение | вклад) (Для, админов причина удал)
Перейти к навигации Перейти к поиску

Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
  • Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
  • Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
  • Opera: Нажмите Ctrl+F5.
/* ==== Ночная тема 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 { color: #b48cff !important; }
body.darkmode-vector2010 a.new { color: #ff7b7b !important; }
body.darkmode-vector2010 h1,
body.darkmode-vector2010 h2,
body.darkmode-vector2010 h3,
body.darkmode-vector2010 h4,
body.darkmode-vector2010 h5,
body.darkmode-vector2010 h6 {
    color: #ffffff !important;
    border-bottom-color: #444 !important;
}
body.darkmode-vector2010 hr { border-color: #444 !important; }
body.darkmode-vector2010 table,
body.darkmode-vector2010 th,
body.darkmode-vector2010 td {
    background: #222 !important;
    color: #d0d0d0 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 .wikitable > * > tr > th {
    background: #2d2d2d !important;
}
body.darkmode-vector2010 code,
body.darkmode-vector2010 pre,
body.darkmode-vector2010 .mw-code {
    background: #111 !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 blockquote {
    background: #222 !important;
    border-left-color: #555 !important;
}
body.darkmode-vector2010 #toc,
body.darkmode-vector2010 .toc {
    background: #222 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 #toc a,
body.darkmode-vector2010 .toc a { color: #6cb6ff !important; }
body.darkmode-vector2010 #p-personal a,
body.darkmode-vector2010 #p-navigation a,
body.darkmode-vector2010 #p-tb a,
body.darkmode-vector2010 #p-search a { color: #6cb6ff !important; }
body.darkmode-vector2010 #left-navigation,
body.darkmode-vector2010 #right-navigation {
    background: #1a1a1a !important;
}
body.darkmode-vector2010 #simpleSearch input {
    background: #2a2a2a !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
body.darkmode-vector2010 .thumbinner,
body.darkmode-vector2010 .thumb {
    background: #222 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 .thumbcaption { color: #b0b0b0 !important; }
/* Осветление SVG/PNG с прозрачностью */
body.darkmode-vector2010 img.mw-invertable,
body.darkmode-vector2010 .mw-invertable img {
    filter: invert(1) hue-rotate(180deg);
}
/* Инверсия формул Math */
body.darkmode-vector2010 img.mwe-math-fallback-image-inline,
body.darkmode-vector2010 img.mwe-math-fallback-image-display {
    filter: invert(1) hue-rotate(180deg);
}
body.darkmode-vector2010 .mw-warning,
body.darkmode-vector2010 .errorbox,
body.darkmode-vector2010 .successbox,
body.darkmode-vector2010 .messagebox {
    background: #2d2d2d !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
body.darkmode-vector2010 .catlinks {
    background: #222 !important;
    border-color: #444 !important;
}

/* ==== Вкладки: Статья, Обсуждение, Читать, Правка и т.д. ==== */
body.darkmode-vector2010 #left-navigation,
body.darkmode-vector2010 #right-navigation,
body.darkmode-vector2010 #p-views,
body.darkmode-vector2010 #p-namespaces,
body.darkmode-vector2010 #p-actions,
body.darkmode-vector2010 .vectorTabs,
body.darkmode-vector2010 .vectorMenu,
body.darkmode-vector2010 .vector-menu,
body.darkmode-vector2010 .mw-vector-tabs {
    background: #1a1a1a !important;
    background-image: none !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 .vectorTabs ul,
body.darkmode-vector2010 .vector-menu-content,
body.darkmode-vector2010 .mw-vector-tabs ul {
    background: #1a1a1a !important;
    background-image: none !important;
}
body.darkmode-vector2010 .vectorTabs li,
body.darkmode-vector2010 .vectorMenu li {
    background: #2a2a2a !important;
    background-image: none !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 .vectorTabs li a,
body.darkmode-vector2010 .vectorMenu h3 span,
body.darkmode-vector2010 .vectorMenu h3 a,
body.darkmode-vector2010 .mw-vector-tabs li a {
    color: #6cb6ff !important;
    background: transparent !important;
    background-image: none !important;
}
body.darkmode-vector2010 .vectorTabs li a:hover,
body.darkmode-vector2010 .vectorMenu h3:hover span {
    color: #ffffff !important;
    background: #333 !important;
}
/* Активная вкладка (та, что сейчас открыта) */
body.darkmode-vector2010 .vectorTabs li.selected,
body.darkmode-vector2010 .vectorTabs li.selected a,
body.darkmode-vector2010 .vector-menu-tabs .selected a {
    background: #1a1a1a !important;
    background-image: none !important;
    color: #ffffff !important;
    border-bottom-color: #1a1a1a !important;
}
/* Иконки-«звёздочки» и стрелки меню */
body.darkmode-vector2010 .vectorTabs li.icon a,
body.darkmode-vector2010 .vectorMenu h3 span:after {
    filter: invert(1) hue-rotate(180deg);
}
/* Выпадающие меню (Ещё, Действия) */
body.darkmode-vector2010 .vectorMenu .menu,
body.darkmode-vector2010 .vectorMenu .vector-menu-content-list {
    background: #222 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 .vectorMenu .menu a {
    color: #6cb6ff !important;
}
body.darkmode-vector2010 .vectorMenu .menu a:hover {
    background: #333 !important;
}
body.darkmode-vector2010 #footer {
    background: #1a1a1a !important;
    border-top-color: #444 !important;
    color: #a0a0a0 !important;
}

/* ==== Вкладки: универсальный блок ==== */
body.darkmode-vector2010 .mw-portlet,
body.darkmode-vector2010 .mw-portlet-body,
body.darkmode-vector2010 .mw-portlet-views,
body.darkmode-vector2010 .mw-portlet-namespaces,
body.darkmode-vector2010 .mw-portlet-actions,
body.darkmode-vector2010 .mw-portlet-cactions,
body.darkmode-vector2010 .vector-menu-tabs,
body.darkmode-vector2010 .vector-menu-content,
body.darkmode-vector2010 .vector-menu-content-list {
    background: #1a1a1a !important;
    background-image: none !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 .mw-portlet h3,
body.darkmode-vector2010 .mw-portlet .mw-portlet-heading,
body.darkmode-vector2010 .vector-menu-heading {
    background: #2a2a2a !important;
    background-image: none !important;
    color: #6cb6ff !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 .mw-portlet li,
body.darkmode-vector2010 .vector-menu-tabs li,
body.darkmode-vector2010 .vector-menu-content-list li {
    background: #2a2a2a !important;
    background-image: none !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 .mw-portlet li a,
body.darkmode-vector2010 .vector-menu-tabs li a,
body.darkmode-vector2010 .vector-menu-content-list li a,
body.darkmode-vector2010 .mw-portlet a {
    color: #6cb6ff !important;
    background: transparent !important;
    background-image: none !important;
}
body.darkmode-vector2010 .mw-portlet li a:hover,
body.darkmode-vector2010 .vector-menu-tabs li a:hover {
    background: #333 !important;
    color: #ffffff !important;
}
/* Активная вкладка */
body.darkmode-vector2010 .mw-portlet li.selected,
body.darkmode-vector2010 .mw-portlet li.selected a,
body.darkmode-vector2010 .vector-menu-tabs li.selected,
body.darkmode-vector2010 .vector-menu-tabs li.selected a {
    background: #1a1a1a !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: #1a1a1a !important;
}
/* Ссылки внутри вкладок, которые ещё не созданы */
body.darkmode-vector2010 .mw-portlet li a.new,
body.darkmode-vector2010 .vector-menu-tabs li a.new {
    color: #ff7b7b !important;
}
/* Обёртки вокруг вкладок */
body.darkmode-vector2010 #p-namespaces,
body.darkmode-vector2010 #p-views,
body.darkmode-vector2010 #p-cactions,
body.darkmode-vector2010 #p-actions {
    background: #1a1a1a !important;
    background-image: none !important;
}
body.darkmode-vector2010 #p-namespaces ul,
body.darkmode-vector2010 #p-views ul,
body.darkmode-vector2010 #p-cactions ul,
body.darkmode-vector2010 #p-actions ul {
    background: #1a1a1a !important;
    background-image: none !important;
}

/* ==== Таблицы: сортируемые, инфобоксы, навбоксы ==== */
body.darkmode-vector2010 .sortable,
body.darkmode-vector2010 .infobox,
body.darkmode-vector2010 .navbox,
body.darkmode-vector2010 .wikitable.plainrowheaders,
body.darkmode-vector2010 .mw-datatable,
body.darkmode-vector2010 .wikitable {
    background: #222 !important;
    color: #d0d0d0 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 .sortable th,
body.darkmode-vector2010 .sortable td,
body.darkmode-vector2010 .mw-datatable th,
body.darkmode-vector2010 .mw-datatable td {
    background: #222 !important;
    color: #d0d0d0 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 .sortable tr:nth-child(even) td,
body.darkmode-vector2010 .mw-datatable tr:nth-child(even) td {
    background: #1e1e1e !important;
}
body.darkmode-vector2010 .sortable tr:hover td,
body.darkmode-vector2010 .mw-datatable tr:hover td {
    background: #2a2a2a !important;
}
/* Стрелки сортировки */
body.darkmode-vector2010 .sortable .headerSort,
body.darkmode-vector2010 .sortable th[role="columnheader"] {
    color: #ffffff !important;
}
body.darkmode-vector2010 .sortable .headerSort:after,
body.darkmode-vector2010 .sortable .headerSort:before {
    filter: invert(1) hue-rotate(180deg);
}

/* ==== Панель редактирования (toolbar) ==== */
body.darkmode-vector2010 #toolbar,
body.darkmode-vector2010 #editButtons,
body.darkmode-vector2010 #wpTextbox1 + .editButtons,
body.darkmode-vector2010 .editButtons,
body.darkmode-vector2010 #wikiEditor-ui-toolbar,
body.darkmode-vector2010 #wikiEditor-ui-toolbar .toolbar,
body.darkmode-vector2010 #wikiEditor-ui-toolbar .section,
body.darkmode-vector2010 #wikiEditor-ui-toolbar .group,
body.darkmode-vector2010 .wikiEditor-ui-toolbar,
body.darkmode-vector2010 .wikiEditor-toolbar {
    background: #2a2a2a !important;
    background-image: none !important;
    color: #d0d0d0 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tabs,
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tab,
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tabspan,
body.darkmode-vector2010 #wikiEditor-ui-toolbar .current,
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tab.current {
    background: #333 !important;
    background-image: none !important;
    color: #6cb6ff !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tab.current,
body.darkmode-vector2010 #wikiEditor-ui-toolbar .current {
    background: #2a2a2a !important;
    color: #ffffff !important;
}
body.darkmode-vector2010 #wikiEditor-ui-toolbar a,
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tool,
body.darkmode-vector2010 .editButtons a {
    color: #d0d0d0 !important;
}
body.darkmode-vector2010 #wikiEditor-ui-toolbar a:hover,
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tool:hover {
    background: #3a3a3a !important;
    color: #ffffff !important;
}
/* Иконки тулбара (спрайты) — инвертируем, чтобы не светили */
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tool-icon,
body.darkmode-vector2010 #wikiEditor-ui-toolbar .oo-ui-iconElement-icon,
body.darkmode-vector2010 .editButtons img,
body.darkmode-vector2010 #toolbar img {
    filter: invert(1) hue-rotate(180deg);
}
/* Поле ввода wikitext */
body.darkmode-vector2010 #wpTextbox1,
body.darkmode-vector2010 textarea#wpTextbox1,
body.darkmode-vector2010 .wikiEditor-ui-text textarea,
body.darkmode-vector2010 .ve-ce-surface,
body.darkmode-vector2010 .ve-ce-documentNode {
    background: #1a1a1a !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
/* Кнопки «Сохранить», «Предпросмотр», «Отмена» */
body.darkmode-vector2010 .editOptions,
body.darkmode-vector2010 #editpage-copywarn,
body.darkmode-vector2010 .mw-editfooter-toggler,
body.darkmode-vector2010 .editHelp,
body.darkmode-vector2010 #editform,
body.darkmode-vector2010 .mw-editform {
    background: #1a1a1a !important;
    color: #d0d0d0 !important;
    border-color: #444 !important;
}

/* ==== Свежие правки: поля выбора и ввода ==== */
body.darkmode-vector2010 select,
body.darkmode-vector2010 input[type="text"],
body.darkmode-vector2010 input[type="search"],
body.darkmode-vector2010 input[type="number"],
body.darkmode-vector2010 input[type="date"],
body.darkmode-vector2010 textarea,
body.darkmode-vector2010 .mw-ui-input,
body.darkmode-vector2010 .oo-ui-inputWidget-input {
    background: #2a2a2a !important;
    background-image: none !important;
    color: #d0d0d0 !important;
    border: 1px solid #555 !important;
    border-radius: 3px !important;
}
body.darkmode-vector2010 select,
body.darkmode-vector2010 .oo-ui-dropdownWidget-handle,
body.darkmode-vector2010 .oo-ui-inputWidget-input {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}
/* Стрелочка у select */
body.darkmode-vector2010 select {
    background-image: linear-gradient(45deg, transparent 50%, #6cb6ff 50%),
                      linear-gradient(135deg, #6cb6ff 50%, transparent 50%) !important;
    background-position: calc(100% - 14px) center, calc(100% - 9px) center !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
    padding-right: 24px !important;
}
/* Опции внутри select */
body.darkmode-vector2010 select option,
body.darkmode-vector2010 select optgroup {
    background: #2a2a2a !important;
    color: #d0d0d0 !important;
}
body.darkmode-vector2010 select option:checked,
body.darkmode-vector2010 select option:hover {
    background: #3a3a3a !important;
    color: #ffffff !important;
}
/* Чекбоксы и радиокнопки */
body.darkmode-vector2010 input[type="checkbox"],
body.darkmode-vector2010 input[type="radio"] {
    accent-color: #6cb6ff !important;
    background: #2a2a2a !important;
    border-color: #555 !important;
}
/* Кнопки в фильтрах */
body.darkmode-vector2010 button,
body.darkmode-vector2010 input[type="submit"],
body.darkmode-vector2010 input[type="button"],
body.darkmode-vector2010 .oo-ui-buttonElement-button,
body.darkmode-vector2010 .mw-ui-button {
    background: #333 !important;
    color: #d0d0d0 !important;
    border: 1px solid #555 !important;
}
body.darkmode-vector2010 button:hover,
body.darkmode-vector2010 input[type="submit"]:hover,
body.darkmode-vector2010 .oo-ui-buttonElement-button:hover,
body.darkmode-vector2010 .mw-ui-button:hover {
    background: #444 !important;
    color: #ffffff !important;
}
/* Обёртки вокруг полей (Label, FieldLayout) */
body.darkmode-vector2010 .oo-ui-fieldLayout,
body.darkmode-vector2010 .oo-ui-labelElement-label,
body.darkmode-vector2010 label,
body.darkmode-vector2010 legend {
    color: #d0d0d0 !important;
}
/* Выпадающие меню OOUI (свежие правки в новых версиях) */
body.darkmode-vector2010 .oo-ui-dropdownWidget,
body.darkmode-vector2010 .oo-ui-menuSelectWidget,
body.darkmode-vector2010 .oo-ui-optionWidget {
    background: #2a2a2a !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
body.darkmode-vector2010 .oo-ui-optionWidget-selected,
body.darkmode-vector2010 .oo-ui-optionWidget-highlighted {
    background: #3a3a3a !important;
    color: #ffffff !important;
}

/* ==== Загрузка файла: вкладки Файл/История/Использование ==== */
body.darkmode-vector2010 #filetoc,
body.darkmode-vector2010 #filetoc ul,
body.darkmode-vector2010 .filehistory,
body.darkmode-vector2010 .filehistory ul,
body.darkmode-vector2010 #mw-imagepage-section-filehistory,
body.darkmode-vector2010 #mw-imagepage-section-globalusage,
body.darkmode-vector2010 #mw-imagepage-section-linkstoimage,
body.darkmode-vector2010 .mw-imagepage-section {
    background: #222 !important;
    background-image: none !important;
    color: #d0d0d0 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 #filetoc a,
body.darkmode-vector2010 .filehistory a,
body.darkmode-vector2010 #mw-imagepage-section-filehistory a,
body.darkmode-vector2010 .mw-imagepage-section a {
    color: #6cb6ff !important;
}
/* Современная разметка (новые версии MediaWiki) */
body.darkmode-vector2010 .mw-imagepage-content,
body.darkmode-vector2010 .mw-imagepage-content ul,
body.darkmode-vector2010 .mw-imagepage-content li,
body.darkmode-vector2010 .mw-imagepage-content table {
    background: #222 !important;
    color: #d0d0d0 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 .mw-imagepage-content th,
body.darkmode-vector2010 .mw-imagepage-content td {
    background: #1a1a1a !important;
    color: #d0d0d0 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 .mw-imagepage-content tr:hover {
    background: #2a2a2a !important;
}

/* ==== Изображения: рамка, подпись, увеличение ==== */
body.darkmode-vector2010 .thumb,
body.darkmode-vector2010 .thumbinner,
body.darkmode-vector2010 figure[typeof~="mw:File/Thumb"],
body.darkmode-vector2010 figure[typeof~="mw:File/Frame"],
body.darkmode-vector2010 .mw-halign-none,
body.darkmode-vector2010 .mw-halign-left,
body.darkmode-vector2010 .mw-halign-right,
body.darkmode-vector2010 .mw-halign-center {
    background: #222 !important;
    border-color: #444 !important;
    color: #d0d0d0 !important;
}
body.darkmode-vector2010 .thumbcaption,
body.darkmode-vector2010 figcaption,
body.darkmode-vector2010 .thumbcaption .magnify,
body.darkmode-vector2010 figure > figcaption {
    background: #222 !important;
    color: #b8b8b8 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 .thumbcaption a,
body.darkmode-vector2010 figcaption a {
    color: #6cb6ff !important;
}
/* Лупа «увеличить» */
body.darkmode-vector2010 .magnify a,
body.darkmode-vector2010 .magnify img {
    filter: invert(1) hue-rotate(180deg);
}
/* Рамка вокруг самого изображения */
body.darkmode-vector2010 .thumbimage,
body.darkmode-vector2010 figure img {
    border-color: #444 !important;
    background: #111 !important;
}
/* Современная разметка <figure> */
body.darkmode-vector2010 figure[typeof~="mw:File"] {
    background: #222 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 figure[typeof~="mw:File"] > figcaption {
    background: #222 !important;
    color: #b8b8b8 !important;
}

/* ==== Свежие правки: легенда ==== */
body.darkmode-vector2010 .mw-changeslist-legend,
body.darkmode-vector2010 .mw-specialpage-legend,
body.darkmode-vector2010 .mw-changeslist-legend-inner,
body.darkmode-vector2010 .rclistfrom,
body.darkmode-vector2010 #mw-indicator,
body.darkmode-vector2010 .mw-indicators {
    background: #222 !important;
    color: #d0d0d0 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 .mw-changeslist-legend a,
body.darkmode-vector2010 .mw-specialpage-legend a {
    color: #6cb6ff !important;
}
/* Плашка «Свежие правки за последние X дней» и фильтры */
body.darkmode-vector2010 .mw-specialpage-summary,
body.darkmode-vector2010 .mw-recentchanges-filters,
body.darkmode-vector2010 .rcoptions,
body.darkmode-vector2010 fieldset {
    background: #222 !important;
    color: #d0d0d0 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 legend {
    color: #e0e0e0 !important;
}
/* Строки списка правок */
body.darkmode-vector2010 .mw-changeslist-line,
body.darkmode-vector2010 .mw-changeslist-line-inner,
body.darkmode-vector2010 .special li,
body.darkmode-vector2010 .mw-recentchanges-list li {
    background: #1a1a1a !important;
    border-color: #333 !important;
}
/* Подсветка «свежих» и «моих» правок */
body.darkmode-vector2010 .mw-changeslist-line-watched,
body.darkmode-vector2010 .mw-changeslist-line-not-watched {
    background: #1a1a1a !important;
}
body.darkmode-vector2010 .mw-plusminus-pos { color: #7bd88f !important; }
body.darkmode-vector2010 .mw-plusminus-neg { color: #ff7b7b !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;
}
/* ==== История правок: подсветка выделенных строк ==== */
body.darkmode-vector2010 .mw-changeslist-line,
body.darkmode-vector2010 .mw-changeslist-line-inner,
body.darkmode-vector2010 .mw-changeslist-line-watched,
body.darkmode-vector2010 .mw-changeslist-line-not-watched,
body.darkmode-vector2010 .mw-changeslist-line-watched .mw-changeslist-line-inner,
body.darkmode-vector2010 .mw-changeslist-line-not-watched .mw-changeslist-line-inner {
    background: #1a1a1a !important;
    color: #d0d0d0 !important;
    border-color: #333 !important;
}

/* Явно убираем белый фон у чётных/нечётных строк */
body.darkmode-vector2010 .mw-changeslist-line:nth-child(odd),
body.darkmode-vector2010 .mw-changeslist-line:nth-child(even),
body.darkmode-vector2010 .mw-changeslist-line-watched:nth-child(odd),
body.darkmode-vector2010 .mw-changeslist-line-watched:nth-child(even),
body.darkmode-vector2010 .mw-changeslist-line-not-watched:nth-child(odd),
body.darkmode-vector2010 .mw-changeslist-line-not-watched:nth-child(even) {
    background: #1a1a1a !important;
}

/* Строки, помеченные как «свежие» */
body.darkmode-vector2010 .mw-changeslist-line-watched,
body.darkmode-vector2010 .mw-changeslist-line-not-watched {
    background: #1a1a1a !important;
}

/* Стрелки «!» и «?» слева */
body.darkmode-vector2010 .mw-enhancedchanges-arrow,
body.darkmode-vector2010 .mw-enhancedchanges-arrow a,
body.darkmode-vector2010 .mw-enhancedchanges-arrow img {
    background: transparent !important;
    filter: invert(1) hue-rotate(180deg);
}

/* Цифры ± */
body.darkmode-vector2010 .mw-plusminus-pos { color: #7bd88f !important; }
body.darkmode-vector2010 .mw-plusminus-neg { color: #ff7b7b !important; }
body.darkmode-vector2010 .mw-plusminus-null { color: #b0b0b0 !important; }

/* Таблица истории правок */
body.darkmode-vector2010 .mw-history-table,
body.darkmode-vector2010 .mw-history-table tr,
body.darkmode-vector2010 .mw-history-table td,
body.darkmode-vector2010 .mw-history-table th,
body.darkmode-vector2010 #pagehistory,
body.darkmode-vector2010 #pagehistory li,
body.darkmode-vector2010 #pagehistory .mw-history-compareselectedversions {
    background: #1a1a1a !important;
    color: #d0d0d0 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 #pagehistory li.selected,
body.darkmode-vector2010 #pagehistory li:target,
body.darkmode-vector2010 .mw-history-table tr.selected,
body.darkmode-vector2010 .mw-history-table tr:target {
    background: #2a2a2a !important;
    color: #ffffff !important;
    border-color: #555 !important;
}

/* Ссылки внутри истории */
body.darkmode-vector2010 #pagehistory a,
body.darkmode-vector2010 .mw-history-table a {
    color: #6cb6ff !important;
}
body.darkmode-vector2010 #pagehistory a:visited,
body.darkmode-vector2010 .mw-history-table a:visited {
    color: #b48cff !important;
}
/* ==== Служебная:Настройки (Special:Preferences) ==== */
body.darkmode-vector2010 #preferences,
body.darkmode-vector2010 .mw-prefs-container,
body.darkmode-vector2010 #mw-prefs-container,
body.darkmode-vector2010 .prefs-container,
body.darkmode-vector2010 .mw-prefsection,
body.darkmode-vector2010 .mw-prefsection-content,
body.darkmode-vector2010 .mw-prefs-tabs,
body.darkmode-vector2010 .mw-prefs-tabs-content,
body.darkmode-vector2010 #preftoc,
body.darkmode-vector2010 .preftoc,
body.darkmode-vector2010 #preferences legend {
    background: #1a1a1a !important;
    color: #d0d0d0 !important;
    border-color: #444 !important;
}

/* Табы настроек (вкладки: Профиль, Внешний вид, Редактирование...) */
body.darkmode-vector2010 #preftoc li,
body.darkmode-vector2010 #preftoc li a,
body.darkmode-vector2010 .preftoc li,
body.darkmode-vector2010 .preftoc li a {
    background: #2a2a2a !important;
    color: #6cb6ff !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 #preftoc li.selected,
body.darkmode-vector2010 #preftoc li.selected a,
body.darkmode-vector2010 .preftoc li.selected,
body.darkmode-vector2010 .preftoc li.selected a {
    background: #1a1a1a !important;
    color: #ffffff !important;
}

/* Секции настроек */
body.darkmode-vector2010 .mw-prefsection h2,
body.darkmode-vector2010 .mw-prefsection h3,
body.darkmode-vector2010 .mw-prefsection h4,
body.darkmode-vector2010 .mw-prefsection label,
body.darkmode-vector2010 .mw-prefsection legend,
body.darkmode-vector2010 .mw-prefsection .mw-prefs-label {
    color: #e0e0e0 !important;
    border-color: #444 !important;
}

/* Таблицы и строки настроек */
body.darkmode-vector2010 .mw-prefsection table,
body.darkmode-vector2010 .mw-prefsection tr,
body.darkmode-vector2010 .mw-prefsection td,
body.darkmode-vector2010 .mw-prefsection th,
body.darkmode-vector2010 .mw-prefsection .mw-prefs-row {
    background: #1a1a1a !important;
    color: #d0d0d0 !important;
    border-color: #333 !important;
}

/* Чекбоксы, радио, поля ввода в настройках */
body.darkmode-vector2010 .mw-prefsection input[type="text"],
body.darkmode-vector2010 .mw-prefsection input[type="search"],
body.darkmode-vector2010 .mw-prefsection input[type="number"],
body.darkmode-vector2010 .mw-prefsection input[type="password"],
body.darkmode-vector2010 .mw-prefsection input[type="email"],
body.darkmode-vector2010 .mw-prefsection textarea,
body.darkmode-vector2010 .mw-prefsection select {
    background: #2a2a2a !important;
    color: #d0d0d0 !important;
    border: 1px solid #555 !important;
}

/* Кнопки «Сохранить», «Сбросить» */
body.darkmode-vector2010 .mw-prefsection button,
body.darkmode-vector2010 .mw-prefsection input[type="submit"],
body.darkmode-vector2010 .mw-prefsection .mw-ui-button,
body.darkmode-vector2010 #preferences .mw-ui-button {
    background: #333 !important;
    color: #d0d0d0 !important;
    border: 1px solid #555 !important;
}
body.darkmode-vector2010 .mw-prefsection button:hover,
body.darkmode-vector2010 .mw-prefsection input[type="submit"]:hover {
    background: #444 !important;
    color: #ffffff !important;
}
/* ==== Удаление страницы: поле «Причина» ==== */
body.darkmode-vector2010 #deleteconfirm,
body.darkmode-vector2010 .mw-deleteconfirm,
body.darkmode-vector2010 #mw-delete-confirm,
body.darkmode-vector2010 form[action*="action=delete"],
body.darkmode-vector2010 #delete-reason,
body.darkmode-vector2010 .delete-reason {
    background: #1a1a1a !important;
    color: #d0d0d0 !important;
    border-color: #444 !important;
}
body.darkmode-vector2010 #wpDeleteReasonList,
body.darkmode-vector2010 #wpReason,
body.darkmode-vector2010 #wpReasonDropDown,
body.darkmode-vector2010 #delete-reason select,
body.darkmode-vector2010 #delete-reason input[type="text"],
body.darkmode-vector2010 #delete-reason textarea {
    background: #2a2a2a !important;
    color: #d0d0d0 !important;
    border: 1px solid #555 !important;
}
/* Подписи и легенда */
body.darkmode-vector2010 #deleteconfirm label,
body.darkmode-vector2010 .mw-deleteconfirm label,
body.darkmode-vector2010 #delete-reason label,
body.darkmode-vector2010 #deleteconfirm legend,
body.darkmode-vector2010 .mw-deleteconfirm legend {
    color: #e0e0e0 !important;
}
/* Блок с предупреждением над формой */
body.darkmode-vector2010 .mw-delete-warning,
body.darkmode-vector2010 #deleteconfirm .warning,
body.darkmode-vector2010 .mw-warning {
    background: #2a2a2a !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
/* Кнопка «Удалить страницу» */
body.darkmode-vector2010 #deleteconfirm input[type="submit"],
body.darkmode-vector2010 .mw-deleteconfirm input[type="submit"] {
    background: #333 !important;
    color: #d0d0d0 !important;
    border: 1px solid #555 !important;
}
body.darkmode-vector2010 #deleteconfirm input[type="submit"]:hover {
    background: #444 !important;
    color: #ffffff !important;
}