MediaWiki:Common.css: Difference between revisions
m Add contrast rules for advanced-search namespace menu + OOUI dropdown/checkbox menus |
m Fix zoomed wiki logo: force .mw-wiki-logo background-size:contain so the full 1400px crest fits the logo box |
||
| Line 484: | Line 484: | ||
.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted, .oo-ui-menuOptionWidget.oo-ui-optionWidget-selected { | .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted, .oo-ui-menuOptionWidget.oo-ui-optionWidget-selected { | ||
background-color: var(--d-panel); color: var(--d-gold); | background-color: var(--d-panel); color: var(--d-gold); | ||
} | |||
/* Fit the full-resolution Tenth Fleet crest into the legacy-Vector logo box | |||
(the source image is 1400x1400; without this it renders zoomed/cropped). */ | |||
.mw-wiki-logo, | |||
#p-logo a { | |||
background-size: contain !important; | |||
background-position: center center !important; | |||
background-repeat: no-repeat !important; | |||
} | } | ||