MediaWiki:Vector-2022.css: различия между версиями
Внешний вид
Glamyr (обсуждение | вклад) Нет описания правки |
Glamyr (обсуждение | вклад) Нет описания правки |
||
| Строка 12: | Строка 12: | ||
:root, html, body:not(.theme-default), body.theme-active-dark { | :root, html, body:not(.theme-default), body.theme-active-dark { | ||
--background-color-base: | --background-color-base: transparent !important; | ||
--background-color-paper: transparent !important; | --background-color-paper: transparent !important; | ||
--color-base: var(--text-main, #e3e4e6) !important; | --color-base: var(--text-main, #e3e4e6) !important; | ||
--color-base--subtle: var(--text-muted, #a8a095) !important; | --color-base--subtle: var(--text-muted, #a8a095) !important; | ||
--border-color-base: var(--border-color, #3f4348) !important; | --border-color-base: var(--border-color, #3f4348) !important; | ||
--background-color-neutral-subtle: | --background-color-neutral-subtle: transparent !important; | ||
--background-color-neutral: var(--bg-input) !important; | --background-color-neutral: var(--bg-input) !important; | ||
--color-link: var(--accent, #00adb5) !important; | --color-link: var(--accent, #00adb5) !important; | ||
| Строка 28: | Строка 28: | ||
--background-color-input: var(--bg-input, #313438) !important; | --background-color-input: var(--bg-input, #313438) !important; | ||
--background-color-input-view: var(--bg-input, #313438) !important; | --background-color-input-view: var(--bg-input, #313438) !important; | ||
scrollbar-color: var(-- | scrollbar-color: var(--border-color, #3f4348) var(--bg-main, #161719) !important; | ||
} | } | ||
| Строка 48: | Строка 48: | ||
body:not(.theme-default) .mw-page-container, body.theme-active-dark .mw-page-container, body:not(.theme-default) .mw-body, body.theme-active-dark .mw-body { background-color: transparent !important; border: none !important; } | body:not(.theme-default) .mw-page-container, body.theme-active-dark .mw-page-container, body:not(.theme-default) .mw-body, body.theme-active-dark .mw-body { background-color: transparent !important; border: none !important; } | ||
body:not(.theme-default) .vector-header-container, body.theme-active-dark .vector-header-container { background-color: var(--bg-main) !important; border-bottom: 1px solid var(--border-color) !important; } | body:not(.theme-default) .vector-header-container, body.theme-active-dark .vector-header-container { background-color: var(--bg-main) !important; border-bottom: 1px solid var(--border-color) !important; } | ||
body:not(.theme-default) .cdx-text-input, body:not(.theme-default) .cdx-text-input__input, body:not(.theme-default) .vector-search-box-input, body:not(.theme-default) select, body:not(.theme-default) input, body:not(.theme-default) textarea, body:not(.theme-default) .cdx-button, body.theme-active-dark .cdx-text-input, body.theme-active-dark .cdx-text-input__input, body.theme-active-dark .vector-search-box-input, body.theme-active-dark select, body.theme-active-dark input, body.theme-active-dark textarea, body.theme-active-dark .cdx-button { background-color: var(--bg-input) !important; color: var(--text-main) !important; border-color: var(--border-color) !important; border-radius: 4px !important; } | body:not(.theme-default) .cdx-text-input, body:not(.theme-default) .cdx-text-input__input, body:not(.theme-default) .vector-search-box-input, body:not(.theme-default) select, body:not(.theme-default) input, body:not(.theme-default) textarea, body:not(.theme-default) .cdx-button, body.theme-active-dark .cdx-text-input, body.theme-active-dark .cdx-text-input__input, body.theme-active-dark .vector-search-box-input, body.theme-active-dark select, body.theme-active-dark input, body.theme-active-dark textarea, body.theme-active-dark .cdx-button { background-color: var(--bg-input) !important; color: var(--text-main) !important; border-color: var(--border-color) !important; border-radius: 4px !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: | body:not(.theme-default) .vector-dropdown-content, body.theme-active-dark .vector-dropdown-content, body:not(.theme-default) .vector-pinnable-container, body.theme-active-dark .vector-pinnable-container, body:not(.theme-default) .mw-sidebar, body.theme-active-dark .mw-sidebar { background-color: transparent !important; border: none !important; box-shadow: none !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: rgba(20, 22, 23, 0.6) !important; border: 1px solid var(--border-color) !important; color: var(--text-main) !important; border-radius: 6px !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) 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) .vector-toc a, body.theme-active-dark .vector-toc a { text-decoration: none !important; } | body:not(.theme-default) .vector-toc a, body.theme-active-dark .vector-toc a { text-decoration: none !important; } | ||
| Строка 74: | Строка 74: | ||
body.theme-default .vector-header-container { background-color: #ffffff !important; border-bottom: 1px solid #a2a9b1 !important; } | body.theme-default .vector-header-container { background-color: #ffffff !important; border-bottom: 1px solid #a2a9b1 !important; } | ||
body.theme-default .vector-dropdown-content, body.theme-default .vector-pinnable-container { background-color: #ffffff !important; border: 1px solid #a2a9b1 !important; border-radius: 0 !important; } | body.theme-default .vector-dropdown-content, body.theme-default .vector-pinnable-container { background-color: #ffffff !important; border: 1px solid #a2a9b1 !important; border-radius: 0 !important; } | ||
body.theme-default .vector-dropdown-content a { color: #202122 !important; } | |||
body.theme-default .cdx-text-input, body.theme-default .cdx-text-input__input, body.theme-default select, body.theme-default input, body.theme-default textarea, body.theme-default .cdx-button { background-color: #ffffff !important; color: #202122 !important; border-color: #a2a9b1 !important; border-radius: 2px !important; } | body.theme-default .cdx-text-input, body.theme-default .cdx-text-input__input, body.theme-default select, body.theme-default input, body.theme-default textarea, body.theme-default .cdx-button { background-color: #ffffff !important; color: #202122 !important; border-color: #a2a9b1 !important; border-radius: 2px !important; } | ||
body.theme-stddark, body.theme-stddark html { background-image: url('/images/3/3c/Bg-neutral.png') !important; background-size: 50% auto !important; }body.theme-nanotrasen, body.theme-nanotrasen html { background-image: url('/images/5/58/Nanotrasen-logo.png') !important; background-size: 70% auto !important; }body.theme-syndicate, body.theme-syndicate html { background-image: url('/images/c/ce/Syndicate-logo.png') !important; background-size: 35% auto !important; }body.theme-plasmafire, body.theme-plasmafire html { background-image: url('/images/b/b3/Bg-synthsunset.png') !important; background-size: 45% auto !important; }body.theme-clockcult, body.theme-clockcult html { background-image: url('/images/3/3c/Bg-neutral.png') !important; background-size: 50% auto !important; }body.theme-bloodcult, body.theme-bloodcult html { background-image: url('/images/c/c0/Bg-spookycomp.png') !important; background-size: 40% auto !important; }body.theme-heretic, body.theme-heretic html { background-image: url('/images/c/c0/Bg-spookycomp.png') !important; background-size: 40% auto !important; }.tg-custom-palette-icon { display: block !important; width: 32px !important; height: 32px !important; background-color: transparent !important; background-image: url('/images/f/f6/Palette.png') !important; background-size: contain !important; background-repeat: no-repeat !important; background-position: center !important; transition: filter 0.3s ease, transform 0.2s ease !important; transform: translateY(4px) !important; }.tg-custom-palette-icon:hover { transform: translateY(4px) scale(1.1) !important; }body:not(.theme-default) .tg-custom-palette-icon, body.theme-active-dark .tg-custom-palette-icon { filter: drop-shadow(0 0 6px var(--accent)) !important; }#p-tg-theme, #p-tg-theme-dropdown-label { max-width: none !important; max-height: none !important; padding: 0 !important; }body.theme-default code, body.theme-default pre, body.theme-default .mw-code, body.theme-default .mw-highlight pre, body.theme-default .mw-highlight code, body.theme-default .syntaxhighlight, body.theme-default .syntaxhighlight pre { background-color: #f8f9fa !important; color: #202122 !important; border-color: #a2a9b1 !important; text-shadow: none | body.theme-stddark, body.theme-stddark html { background-image: url('/images/3/3c/Bg-neutral.png') !important; background-size: 50% auto !important; }body.theme-nanotrasen, body.theme-nanotrasen html { background-image: url('/images/5/58/Nanotrasen-logo.png') !important; background-size: 70% auto !important; }body.theme-syndicate, body.theme-syndicate html { background-image: url('/images/c/ce/Syndicate-logo.png') !important; background-size: 35% auto !important; }body.theme-plasmafire, body.theme-plasmafire html { background-image: url('/images/b/b3/Bg-synthsunset.png') !important; background-size: 45% auto !important; }body.theme-clockcult, body.theme-clockcult html { background-image: url('/images/3/3c/Bg-neutral.png') !important; background-size: 50% auto !important; }body.theme-bloodcult, body.theme-bloodcult html { background-image: url('/images/c/c0/Bg-spookycomp.png') !important; background-size: 40% auto !important; }body.theme-heretic, body.theme-heretic html { background-image: url('/images/c/c0/Bg-spookycomp.png') !important; background-size: 40% auto !important; }.tg-custom-palette-icon { display: block !important; width: 32px !important; height: 32px !important; background-color: transparent !important; background-image: url('/images/f/f6/Palette.png') !important; background-size: contain !important; background-repeat: no-repeat !important; background-position: center !important; transition: filter 0.3s ease, transform 0.2s ease !important; transform: translateY(4px) !important; }.tg-custom-palette-icon:hover { transform: translateY(4px) scale(1.1) !important; }body:not(.theme-default) .tg-custom-palette-icon, body.theme-active-dark .tg-custom-palette-icon { filter: drop-shadow(0 0 6px var(--accent)) !important; }#p-tg-theme, #p-tg-theme-dropdown-label { max-width: none !important; max-height: none !important; padding: 0 !important; }body.theme-default code, body.theme-default pre, body.theme-default .mw-code, body.theme-default .mw-highlight pre, body.theme-default .mw-highlight code, body.theme-default .syntaxhighlight, body.theme-default .syntaxhighlight pre { background-color: #f8f9fa !important; color: #202122 !important; border-color: #a2a9b1 !important; text-shadow: none !important; }body:not(.theme-default) code, body:not(.theme-default) pre, body:not(.theme-default) .mw-code, body:not(.theme-default) .mw-highlight pre, body:not(.theme-default) .syntaxhighlight { background-color: rgba(20, 22, 23, 0.6) !important; color: #e2b27a !important; border: 1px solid var(--border-color, #3f4348) !important; } | ||