MediaWiki:Vector-2022.css

/* Fonts */ html, body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro", Inter, "Helvetica Neue", sans-serif; }

.mw-body h1, .mw-body-content h1, .mw-body-content h2 { font-family: ui-serif, "Linux Libertine", Georgia, Times, serif; }

/* Logo */ .mw-logo-icon { margin-right: 15px; }

.mw-logo-wordmark { font-size: 1.35em; }

@media (max-width: 999.95px) { .mw-header #mw-sidebar-button { margin-right: 0.375em; }	.mw-logo { font-size: 0.85em; }	.mw-logo-icon { display: block; }	.mw-logo-container { max-width: 150px; } }

/* Roundrects */ .vector-search-box-input, .wvui-typeahead-search { border-radius: 10000em; }

.wvui-typeahead-search__submit { border-top-right-radius: 10000em; border-bottom-right-radius: 10000em; }

.wvui-input__input, .wvui-typeahead-search--has-value .wvui-input__input { border-top-left-radius: 10000em; border-bottom-left-radius: 10000em; }

.mw-ui-button, .oo-ui-buttonElement > .oo-ui-buttonElement-button, .oo-ui-buttonElement-framed > .oo-ui-buttonElement-button, .vector-user-links .vector-user-menu .vector-menu-content , .wvui-typeahead-search__suggestions, .mw-notification { border-radius: 8px; }

.vector-user-links .vector-user-menu .vector-menu-content { overflow: hidden; }

.oo-ui-textInputWidget .oo-ui-inputWidget-input { border-radius: 6px; }

.oo-ui-checkboxInputWidget [type="checkbox"] + span { border-radius: 4px; }

/* Mobile styles borrowed from Minerva */ @media (max-width: 720px) { .content a > img, .content noscript > img { max-width: 100% !important; height: auto !important; } }

/* Workaround for bug in Vector-2022 in MediaWiki 1.39 where login button gets hidden if wiki is configured to not allow logged-out editing. */ .mw-portlet-personal.vector-user-menu.vector-user-menu-logged-out.emptyPortlet { display: block !important; }

/* Fix wikitable layout after horizontal scrolling hack in MediaWiki:Common.css */ table.wikitable { background-color: transparent; border: 0; }

table.wikitable tbody { background-color: #f8f9fa; }