MediaWiki:Common.css

Материал из Лигапедия Reborn
Перейти к навигации Перейти к поиску

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

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl-F5 или Ctrl-R (⌘-R на Mac)
  • Google Chrome: Нажмите Ctrl-Shift-R (⌘-Shift-R на Mac)
  • Internet Explorer: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl-F5
  • Opera: Перейдите в Menu → Настройки (Opera → Настройки на Mac), а затем Безопасность → Очистить историю посещений → Кэшированные изображения и файлы
Внимание: Вы редактируете страницу, содержащую текст интерфейса программного обеспечения. Её изменение повлияет на внешний вид интерфейса для других пользователей этой вики.
html.dark-mode,
html.dark-mode body {
    background-color: #121212 !important;
    color: #e0e0e0 !important;
}

html.dark-mode #mw-page-base,
html.dark-mode #mw-head-base {
    background-color: #121212 !important;
    background-image: none !important;
}

html.dark-mode #content,
html.dark-mode .mw-body,
html.dark-mode #bodyContent,
html.dark-mode .mw-body-content,
html.dark-mode #mw-content-text {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border-color: #333 !important;
}

html.dark-mode h1,
html.dark-mode h2,
html.dark-mode h3,
html.dark-mode h4,
html.dark-mode h5,
html.dark-mode h6,
html.dark-mode #firstHeading {
    color: #ffffff !important;
    border-bottom-color: #444 !important;
}

html.dark-mode a,
html.dark-mode a:link {
    color: #6cb6ff !important;
}
html.dark-mode a:visited {
    color: #b794f4 !important;
}
html.dark-mode a:hover {
    color: #90cdf4 !important;
}

html.dark-mode #mw-panel,
html.dark-mode #mw-panel *,
html.dark-mode .mw-sidebar,
html.dark-mode .mw-sidebar * {
    background-color: #161616 !important;
    background-image: none !important;
    color: #d1d5db !important;
}

html.dark-mode #mw-panel a,
html.dark-mode #mw-panel .mw-list-item a,
html.dark-mode #mw-panel .vector-menu-content a {
    color: #a0aec0 !important;
    background-color: transparent !important;
}

html.dark-mode #mw-panel a:hover {
    color: #ffffff !important;
    background-color: #2a2a2a !important;
}

html.dark-mode #p-logo,
html.dark-mode #p-logo a {
    background-color: #161616 !important;
    background-image: none !important;
}

html.dark-mode #mw-panel .portal h3,
html.dark-mode #mw-panel .vector-menu-heading,
html.dark-mode #mw-panel .vector-menu-heading-label {
    color: #e2e8f0 !important;
    background-color: #1f1f1f !important;
    border-color: #333 !important;
}

html.dark-mode #mw-head,
html.dark-mode .mw-header,
html.dark-mode #p-personal,
html.dark-mode #p-namespaces,
html.dark-mode #p-views,
html.dark-mode #p-cactions,
html.dark-mode #p-search {
    background-color: #1a1a1a !important;
    background-image: none !important;
    color: #e0e0e0 !important;
    border-color: #333 !important;
}

html.dark-mode #mw-head a,
html.dark-mode #p-personal a,
html.dark-mode #p-namespaces a,
html.dark-mode #p-views a {
    color: #cbd5e0 !important;
}

html.dark-mode #footer,
html.dark-mode .mw-footer {
    background-color: #121212 !important;
    color: #a0aec0 !important;
    border-top-color: #333 !important;
}

html.dark-mode #footer a {
    color: #6cb6ff !important;
}

html.dark-mode input,
html.dark-mode textarea,
html.dark-mode select,
html.dark-mode #searchInput,
html.dark-mode .mw-ui-input {
    background-color: #2d2d2d !important;
    color: #e0e0e0 !important;
    border-color: #555 !important;
}

html.dark-mode table,
html.dark-mode .wikitable,
html.dark-mode .mw-datatable,
html.dark-mode .jquery-tablesorter {
    background-color: #252525 !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}

html.dark-mode th {
    background-color: #333 !important;
    color: #ffffff !important;
    border-color: #555 !important;
}

html.dark-mode td {
    background-color: #252525 !important;
    border-color: #444 !important;
}

html.dark-mode .mw-message-box,
html.dark-mode .warningbox,
html.dark-mode .errorbox,
html.dark-mode .successbox,
html.dark-mode .catlinks {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border-color: #555 !important;
}

html.dark-mode pre,
html.dark-mode code,
html.dark-mode .mw-code {
    background-color: #2d2d2d !important;
    color: #e0e0e0 !important;
    border-color: #555 !important;
}

html.dark-mode img {
    opacity: 0.92;
}

html.dark-mode .toc,
html.dark-mode #toc {
    background-color: #252525 !important;
    border-color: #444 !important;
    color: #e0e0e0 !important;
}

/* ===== DARK THEME: ОСНОВНЫЕ ФОНЫ ===== */

html.dark-mode {
    background: #121212 !important;
}

html.dark-mode body {
    background: #121212 !important;
    color: #e6e6e6 !important;
}

html.dark-mode #mw-page-base,
html.dark-mode #mw-head-base {
    background: #121212 !important;
    background-image: none !important;
}

html.dark-mode #content,
html.dark-mode .mw-body,
html.dark-mode #bodyContent,
html.dark-mode .mw-body-content,
html.dark-mode #mw-content-text {
    background: #1b1b1b !important;
}