MediaWiki:Common.css: различия между версиями
Внешний вид
Glamyr (обсуждение | вклад) ненавижу css 2 |
Glamyr (обсуждение | вклад) ненавижу css 3 |
||
| Строка 10: | Строка 10: | ||
} | } | ||
body:not(.theme-default) #mw-head, body:not(.theme-default) .vector-header-container, | body:not(.theme-default) #mw-head, | ||
body.theme-active-dark #mw-head, body.theme-active-dark .vector-header-container { | body:not(.theme-default) .vector-header-container, | ||
body:not(.theme-default) .vector-header, | |||
body:not(.theme-default) .mw-header, | |||
body.theme-active-dark #mw-head, | |||
body.theme-active-dark .vector-header-container, | |||
body.theme-active-dark .vector-header, | |||
body.theme-active-dark .mw-header { | |||
background-color: var(--bg-main, #161719) !important; | background-color: var(--bg-main, #161719) !important; | ||
background-image: none !important; | |||
border-bottom: 1px solid var(--border-color, #3f4348) !important; | border-bottom: 1px solid var(--border-color, #3f4348) !important; | ||
} | } | ||
body:not(.theme-default) .vector-menu-tabs, body:not(.theme-default) .vector-menu-tabs-legacy li, | body:not(.theme-default) .vector-menu-tabs, | ||
body.theme-active-dark .vector-menu-tabs, body.theme-active-dark .vector-menu-tabs-legacy li { | body:not(.theme-default) .vector-menu-tabs-legacy li, | ||
body:not(.theme-default) .vector-menu-tabs li, | |||
body.theme-active-dark .vector-menu-tabs, | |||
body.theme-active-dark .vector-menu-tabs-legacy li, | |||
body.theme-active-dark .vector-menu-tabs li { | |||
background-image: none !important; | background-image: none !important; | ||
background-color: var(--bg-main, #161719) !important; | background-color: var(--bg-main, #161719) !important; | ||
| Строка 23: | Строка 34: | ||
} | } | ||
body:not(.theme-default) .vector-menu-tabs .selected, body:not(.theme-default) .vector-menu-tabs-legacy .selected, | body:not(.theme-default) .vector-menu-tabs .selected, | ||
body.theme-active-dark .vector-menu-tabs .selected, body.theme-active-dark .vector-menu-tabs-legacy .selected { | body:not(.theme-default) .vector-menu-tabs-legacy .selected, | ||
body.theme-active-dark .vector-menu-tabs .selected, | |||
body.theme-active-dark .vector-menu-tabs-legacy .selected { | |||
background-color: var(--bg-content, #1e2022) !important; | background-color: var(--bg-content, #1e2022) !important; | ||
} | } | ||
body:not(.theme-default) .vector-search-box-input, body:not(.theme-default) #searchInput, | body:not(.theme-default) .vector-search-box-input, | ||
body.theme-active-dark .vector-search-box-input, body.theme-active-dark #searchInput { | body:not(.theme-default) #searchInput, | ||
body.theme-active-dark .vector-search-box-input, | |||
body.theme-active-dark #searchInput { | |||
background-color: var(--bg-input, #313438) !important; | background-color: var(--bg-input, #313438) !important; | ||
color: var(--text-main, #e3e4e6) !important; | color: var(--text-main, #e3e4e6) !important; | ||
| Строка 35: | Строка 50: | ||
} | } | ||
body:not(.theme-default) .mw-sidebar, body:not(.theme-default) #mw-panel, | body:not(.theme-default) .mw-sidebar, | ||
body.theme-active-dark .mw-sidebar, body.theme-active-dark #mw-panel { | body:not(.theme-default) #mw-panel, | ||
body.theme-active-dark .mw-sidebar, | |||
body.theme-active-dark #mw-panel { | |||
background-color: var(--bg-main, #161719) !important; | background-color: var(--bg-main, #161719) !important; | ||
} | } | ||
| Строка 47: | Строка 64: | ||
body:not(.theme-default) a, body.theme-active-dark a { | body:not(.theme-default) a, body.theme-active-dark a { | ||
color: var(--accent, #00adb5) !important; | color: var(--accent, #00adb5) !important; | ||
} | |||
body:not(.theme-default) .vector-menu-dropdown .vector-menu-heading, | |||
body.theme-active-dark .vector-menu-dropdown .vector-menu-heading { | |||
color: var(--text-main, #e3e4e6) !important; | |||
} | } | ||