MediaWiki:Vector-2022.css: различия между версиями
Внешний вид
Glamyr (обсуждение | вклад) Нет описания правки |
Glamyr (обсуждение | вклад) Нет описания правки |
||
| (не показано 9 промежуточных версий этого же участника) | |||
| Строка 43: | Строка 43: | ||
margin-top: 15px !important; | margin-top: 15px !important; | ||
margin-bottom: 15px !important; | margin-bottom: 15px !important; | ||
backdrop-filter: blur( | backdrop-filter: blur(8px) !important; | ||
-webkit-backdrop-filter: blur(8px) !important; | |||
} | } | ||
| Строка 52: | Строка 53: | ||
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) .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) .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:not(.theme-default) .job-page-header, body:not(.theme-default) .jobpageheader, 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"], body.theme-active-dark .job-page-header, body.theme-active-dark .jobpageheader { 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; } | ||
| Строка 76: | Строка 77: | ||
body.theme-default .vector-dropdown-content a { color: #202122 !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 !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; } | 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; } | ||
html body #p-tg-theme .vector-dropdown-content, | |||
html body #p-tg-theme div[id="p-tg-dropdown-menu"] { | |||
background-color: #282a2d !important; | |||
border: 1px solid var(--border-color, #3f4348) !important; | |||
border-radius: 6px !important; | |||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6) !important; | |||
display: none; | |||
} | |||
body.theme-stddark #p-tg-theme .vector-dropdown-content { background-color: #282a2d !important; } | |||
body.theme-nanotrasen #p-tg-theme .vector-dropdown-content { background-color: #1b2430 !important; } | |||
body.theme-syndicate #p-tg-theme .vector-dropdown-content { background-color: #262626 !important; } | |||
body.theme-plasmafire #p-tg-theme .vector-dropdown-content { background-color: #23123a !important; } | |||
body.theme-clockcult #p-tg-theme .vector-dropdown-content { background-color: #2d2619 !important; } | |||
body.theme-bloodcult #p-tg-theme .vector-dropdown-content { background-color: #260a0a !important; } | |||
body.theme-heretic #p-tg-theme .vector-dropdown-content { background-color: #122a18 !important; } | |||
body.theme-default #p-tg-theme .vector-dropdown-content, | |||
body.theme-default #p-tg-theme div[id="p-tg-dropdown-menu"] { | |||
background-color: #ffffff !important; | |||
border: 1px solid #a2a9b1 !important; | |||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important; | |||
} | |||
#p-tg-theme .vector-dropdown-content a { | |||
color: var(--color-base, var(--text-main, #e3e4e6)) !important; | |||
} | |||
#p-tg-theme .vector-dropdown-content a:hover { | |||
background-color: var(--bg-input, #313438) !important; | |||
color: var(--accent, #00adb5) !important; | |||
} | |||
body.theme-default #p-tg-theme .vector-dropdown-content a:hover { | |||
background-color: #eaecf0 !important; | |||
color: #36c !important; | |||
} | |||