MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 878: | Line 878: | ||
@media screen and (prefers-color-scheme: dark) { | @media screen and (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os #p-search .cdx-menu a { | /* Automatic mode search styles */ | ||
html.skin-theme-clientpref-os #p-search .cdx-text-input__input{ | |||
background: #202122 !important; | |||
color: #f8f9fa !important; | |||
border-color: rgba(255,255,255,0.18) !important; | |||
} | |||
html.skin-theme-clientpref-os #p-search .cdx-text-input__input::placeholder{ | |||
color: rgba(248,249,250,0.6) !important; | |||
} | |||
html.skin-theme-clientpref-os #p-search .cdx-text-input__start-icon{ | |||
filter: none !important; | |||
color: #f8f9fa !important; | |||
fill: #f8f9fa !important; | |||
} | |||
html.skin-theme-clientpref-os #p-search .cdx-typeahead-search__menu, | |||
html.skin-theme-clientpref-os #p-search .cdx-menu{ | |||
background: #202122 !important; | |||
border-color: rgba(255,255,255,0.18) !important; | |||
} | |||
html.skin-theme-clientpref-os #p-search .cdx-typeahead-search__menu, | |||
html.skin-theme-clientpref-os #p-search .cdx-typeahead-search__menu *, | |||
html.skin-theme-clientpref-os #p-search .cdx-menu, | |||
html.skin-theme-clientpref-os #p-search .cdx-menu *{ | |||
color: #f8f9fa !important; | |||
} | |||
html.skin-theme-clientpref-os #p-search .cdx-menu__item--highlighted, | |||
html.skin-theme-clientpref-os #p-search .cdx-menu-item--highlighted, | |||
html.skin-theme-clientpref-os #p-search .cdx-menu__item:hover, | |||
html.skin-theme-clientpref-os #p-search .cdx-menu-item:hover{ | |||
background: rgba(255,255,255,0.08) !important; | |||
} | |||
html.skin-theme-clientpref-os #p-search .cdx-menu a{ | |||
color: #8ab4f8 !important; | color: #8ab4f8 !important; | ||
} | } | ||
html.skin-theme-clientpref-os #p-search .cdx-menu a:visited { | html.skin-theme-clientpref-os #p-search .cdx-menu a:visited{ | ||
color: #c58af9 !important; | color: #c58af9 !important; | ||
} | } | ||
} | } | ||