MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
Remove search box left margin on wide screens |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
.mw-logo-icon { | .mw-logo-icon { | ||
padding-left: 1rem; | padding-left: 1rem; | ||
} | |||
.cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width:not(.cdx-typeahead-search--expanded) { | |||
margin-left: 0; | |||
} | } | ||
} | } | ||
Latest revision as of 15:30, 21 March 2026
/* Hide site name text in navigation, keep page titles */
.mw-logo-wordmark {
display: none;
}
/* Add left padding to logo icon on wide screens */
@media (min-width: 1120px) {
.mw-logo-icon {
padding-left: 1rem;
}
.cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width:not(.cdx-typeahead-search--expanded) {
margin-left: 0;
}
}