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

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

Нет описания правки
Нет описания правки
Строка 19: Строка 19:
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.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; --color-border-default: #3f4348; --color-border-subtle: #3f4348; }
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-nanotrasen { --bg-main: #0c1014; --bg-content: #141a22; --bg-card: #1b2430; --bg-input: #222d3c; --border-color: #2b3a4e; --text-main: #dae5f3; --text-muted: #8ea1b9; --accent: #4a90e2; }
body.theme-nanotrasen { --bg-main: #0c1014; --bg-content: #141a22; --bg-card: #1b2430; --bg-input: #222d3c; --border-color: #2b3a4e; --text-main: #dae5f3; --text-muted: #8ea1b9; --accent: #4a90e2; }
body.theme-syndicate { --bg-main: #111111; --bg-content: #1a1a1a; --bg-card: #262626; --bg-input: #333333; --border-color: #441111; --text-main: #e0e0e0; --text-muted: #aa8888; --accent: #ff3333; }
body.theme-syndicate { --bg-main: #111111; --bg-content: #1a1a1a; --bg-card: #262626; --bg-input: #333333; --border-color: #441111; --text-main: #e0e0e0; --text-muted: #aa8888; --accent: #ff3333; }
Строка 37: Строка 37:
body.theme-default a, body.theme-default .vector-icon, body.theme-default .mw-togglebutton, body.theme-default .toggle-link, body.theme-default .cdx-button--weight-quiet { color: #36c !important; }
body.theme-default a, body.theme-default .vector-icon, body.theme-default .mw-togglebutton, body.theme-default .toggle-link, body.theme-default .cdx-button--weight-quiet { color: #36c !important; }
body.theme-default h1, body.theme-default h2 { border-bottom-color: #a2a9b1 !important; color: #000000 !important; }
body.theme-default h1, body.theme-default h2 { border-bottom-color: #a2a9b1 !important; color: #000000 !important; }
body.theme-default hr, body.theme-default .vector-menu-portal, body.theme-default .mw-footer { border-color: #a2a9b1 !important; }
body.theme-default hr, body.theme-default .vector-menu-portal, body.theme-default .mw-footer, body.theme-default .vector-toc { border-color: #a2a9b1 !important; }
body.theme-default .wikitable, body.theme-default .toc, body.theme-default .thumbinner, body.theme-default .infobox, body.theme-default .ambox, body.theme-default .catlinks, body.theme-default .navbox, body.theme-default .ext-mwe-cdx-card, body.theme-default div[role="note"] { background-color: #f8f9fa !important; border-color: #a2a9b1 !important; color: #202122 !important; }
body.theme-default .wikitable, body.theme-default .toc, body.theme-default .thumbinner, body.theme-default .infobox, body.theme-default .ambox, body.theme-default .catlinks, body.theme-default .navbox, body.theme-default .ext-mwe-cdx-card, body.theme-default div[role="note"] { background-color: #f8f9fa !important; border-color: #a2a9b1 !important; color: #202122 !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; }.tg-custom-palette-icon:hover { transform: 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.theme-default .mw-highlight .k { color: #06b !important; font-weight: bold; }body.theme-default .mw-highlight .s { color: #b22 !important; }body.theme-default .mw-highlight .c { color: #60a0b0; font-style: italic; }body.theme-default .mw-highlight .mi { color: #0000DD !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: var(--bg-card, #282a2d) !important; color: #e2b27a !important; border: 1px solid var(--border-color, #3f4348) !important; }
body.theme-stddark .vector-logo-img { content: url('/images/3/3c/Bg-neutral.png') !important; }body.theme-nanotrasen .vector-logo-img { content: url('/images/5/58/Nanotrasen-logo.png') !important; }body.theme-syndicate .vector-logo-img { content: url('/images/c/ce/Syndicate-logo.png') !important; }body.theme-plasmafire .vector-logo-img { content: url('/images/b/b3/Bg-synthsunset.png') !important; }body.theme-clockcult .vector-logo-img { content: url('/images/3/3c/Bg-neutral.png') !important; }body.theme-bloodcult .vector-logo-img { content: url('/images/c/c0/Bg-spookycomp.png') !important; }body.theme-heretic .vector-logo-img { content: url('/images/c/c0/Bg-spookycomp.png') !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; }.tg-custom-palette-icon:hover { transform: 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.theme-default .mw-highlight .k { color: #06b !important; font-weight: bold; }body.theme-default .mw-highlight .s { color: #b22 !important; }body.theme-default .mw-highlight .c { color: #60a0b0; font-style: italic; }body.theme-default .mw-highlight .mi { color: #0000DD !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: var(--bg-card, #282a2d) !important; color: #e2b27a !important; border: 1px solid var(--border-color, #3f4348) !important; }