Перейти к содержанию

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

Нет описания правки
Нет описания правки
Строка 1: Строка 1:
:root, html, body:not(.theme-default), body.theme-active-dark {
:root, html, body:not(.theme-default), body.theme-active-dark {
     --background-color-base: var(--bg-content, #1e2022) !important;
     --background-color-base: var(--bg-content, #1e2022) !important; --background-color-paper: var(--bg-main, #161719) !important; --color-base: var(--text-main, #e3e4e6) !important; --color-base--subtle: var(--text-muted, #a8a095) !important; --border-color-base: var(--border-color, #3f4348) !important; --background-color-neutral-subtle: var(--bg-card, #282a2d) !important; --background-color-neutral: var(--bg-input, #313438) !important; --color-link: var(--accent, #00adb5) !important; --color-link--visited: #9b72cf !important; --background-color-button-quiet: transparent !important; --background-color-action: var(--bg-input, #313438) !important; --background-color-action-quiet: transparent !important; --border-color-action: var(--border-color, #3f4348) !important; --color-action: var(--accent, #00adb5) !important; --color-icon: var(--accent, #00adb5) !important; --color-base--edit: var(--accent, #00adb5) !important; --color-progressive: var(--accent, #00adb5) !important; --color-primary: var(--accent, #00adb5) !important; --color-progressive--quiet: var(--accent, #00adb5) !important; background-color: var(--bg-main, #161719) !important; color: var(--text-main, #e3e4e6) !important; scrollbar-color: var(--bg-card, #282a2d) var(--bg-main, #161719) !important;
    --background-color-paper: var(--bg-main, #161719) !important;
    --color-base: var(--text-main, #e3e4e6) !important;
    --color-base--subtle: var(--text-muted, #a8a095) !important;
    --border-color-base: var(--border-color, #3f4348) !important;
    --background-color-neutral-subtle: var(--bg-card, #282a2d) !important;
    --background-color-neutral: var(--bg-input, #313438) !important;
    --color-link: var(--accent, #00adb5) !important;
    --color-link--visited: #9b72cf !important;
    --background-color-button-quiet: transparent !important;
    --background-color-action: var(--bg-input, #313438) !important;
    --background-color-action-quiet: transparent !important;
    --border-color-action: var(--border-color, #3f4348) !important;
    --color-action: var(--accent, #00adb5) !important;
    --color-icon: var(--accent, #00adb5) !important;
    --color-base--edit: var(--accent, #00adb5) !important;
    --color-progressive: var(--accent, #00adb5) !important;
    --color-primary: var(--accent, #00adb5) !important;
    --color-progressive--quiet: var(--accent, #00adb5) !important;
    background-color: var(--bg-main, #161719) !important;
    color: var(--text-main, #e3e4e6) !important;
    scrollbar-color: var(--bg-card, #282a2d) var(--bg-main, #161719) !important;
}
}
html, body { background-color: #161719 !important; }
html, body { background-color: #161719 !important; }
Строка 35: Строка 14:
body:not(.theme-default) .cdx-button:not(.cdx-button--weight-quiet):hover, body.theme-active-dark .cdx-button:not(.cdx-button--weight-quiet):hover { background-color: var(--bg-card) !important; color: var(--accent) !important; }
body:not(.theme-default) .cdx-button:not(.cdx-button--weight-quiet):hover, body.theme-active-dark .cdx-button:not(.cdx-button--weight-quiet):hover { background-color: var(--bg-card) !important; color: var(--accent) !important; }
body:not(.theme-default) .mw-sidebar, body.theme-active-dark .mw-sidebar { background-color: var(--bg-main) !important; }
body:not(.theme-default) .mw-sidebar, body.theme-active-dark .mw-sidebar { background-color: var(--bg-main) !important; }
body:not(.theme-default) a, body.theme-active-dark a, body:not(.theme-default) .vector-icon, body.theme-active-dark .vector-icon, body:not(.theme-default) .mw-togglebutton, body.theme-active-dark .mw-togglebutton, body:not(.theme-default) .toggle-link, body.theme-active-dark .toggle-link, body:not(.theme-default) .mw-collapsible-toggle, body.theme-active-dark .mw-collapsible-toggle, body:not(.theme-default) .cdx-button--weight-quiet, body.theme-active-dark .cdx-button--weight-quiet { color: var(--accent) !important; }
body:not(.theme-default) a, body.theme-active-dark a, body:not(.theme-default) .vector-icon, body.theme-active-dark .vector-icon, body:not(.theme-default) .mw-togglebutton, body.theme-active-dark .mw-togglebutton, body:not(.theme-default) .toggle-link, body.theme-active-dark .toggle-link, body:not(.theme-default) .mw-collapsible-toggle, body.theme-active-dark .mw-collapsible-toggle, body:not(.theme-default) .cdx-button--weight-quiet, body.theme-active-dark .cdx-button--weight-quiet { color: var(--accent) !important; }
body:not(.theme-default) hr, body.theme-active-dark hr, body:not(.theme-default) .vector-menu-portal, body.theme-active-dark .vector-menu-portal, body:not(.theme-default) .mw-footer, body.theme-active-dark .mw-footer, body:not(.theme-default) .vector-toc, body.theme-active-dark .vector-toc { border-color: var(--border-color) !important; }
body:not(.theme-default) h1, body:not(.theme-default) h2, body.theme-active-dark h1, body.theme-active-dark h2 { border-bottom-color: var(--border-color) !important; color: var(--text-main) !important; }
body:not(.theme-default) h1, body:not(.theme-default) h2, body.theme-active-dark h1, body.theme-active-dark h2 { border-bottom-color: var(--border-color) !important; color: var(--text-main) !important; }
body:not(.theme-default) .wikitable, body:not(.theme-default) .toc, body:not(.theme-default) .thumbinner, body:not(.theme-default) .infobox, body:not(.theme-default) .ambox, body:not(.theme-default) .mw-notification, body:not(.theme-default) .catlinks, body:not(.theme-default) .navbox, body:not(.theme-default) .ext-mwe-cdx-card, body:not(.theme-default) div[role="note"], body.theme-active-dark .wikitable, body.theme-active-dark .toc, body.theme-active-dark .thumbinner, body.theme-active-dark .infobox, body.theme-active-dark .ambox, body.theme-active-dark .mw-notification, body.theme-active-dark .catlinks, body.theme-active-dark .navbox, body.theme-active-dark .ext-mwe-cdx-card, body.theme-active-dark div[role="note"] { background-color: var(--bg-card) !important; border-color: var(--border-color) !important; color: var(--text-main) !important; }
body:not(.theme-default) .wikitable, body:not(.theme-default) .toc, body:not(.theme-default) .thumbinner, body:not(.theme-default) .infobox, body:not(.theme-default) .ambox, body:not(.theme-default) .mw-notification, body:not(.theme-default) .catlinks, body:not(.theme-default) .navbox, body:not(.theme-default) .ext-mwe-cdx-card, body:not(.theme-default) div[role="note"], body.theme-active-dark .wikitable, body.theme-active-dark .toc, body.theme-active-dark .thumbinner, body.theme-active-dark .infobox, body.theme-active-dark .ambox, body.theme-active-dark .mw-notification, body.theme-active-dark .catlinks, body.theme-active-dark .navbox, body.theme-active-dark .ext-mwe-cdx-card, body.theme-active-dark div[role="note"] { background-color: var(--bg-card) !important; border-color: var(--border-color) !important; color: var(--text-main) !important; }
body:not(.theme-default) hr, body.theme-active-dark hr, body:not(.theme-default) .vector-menu-portal, body.theme-active-dark .vector-menu-portal, body:not(.theme-default) .mw-footer, body.theme-active-dark .mw-footer, body:not(.theme-default) .vector-toc, body.theme-active-dark .vector-toc { border-color: var(--border-color) !important; }


body.theme-stddark { --bg-main: #161719; --bg-content: #1e2022; --bg-card: #282a2d; --bg-input: #313438; --border-color: #3f4348; --text-main: #e3e4e6; --text-muted: #a8a095; --accent: #00adb5; }
body.theme-stddark { --bg-main: #161719; --bg-content: #1e2022; --bg-card: #282a2d; --bg-input: #313438; --border-color: #3f4348; --text-main: #e3e4e6; --text-muted: #a8a095; --accent: #00adb5; }