MediaWiki:Vector-2022.css: Difference between revisions
Appearance
Plusev.blr (talk | contribs) Created page with "→Move search box to the right (Vector 2022): .mw-header { display: flex; align-items: center; } .mw-header .vector-search-box { margin-left: auto; }" |
Plusev.blr (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* === Vector 2022: move search box to the right === */ | ||
. | |||
/* Ensure header uses flex properly */ | |||
.vector-header { | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
} | } | ||
. | /* Push the end section (search + user links) to the right */ | ||
.vector-header-end { | |||
margin-left: auto; | margin-left: auto; | ||
display: flex; | |||
align-items: center; | |||
} | |||
/* Optional: tighten search spacing (Kouzina-like) */ | |||
.vector-search-box { | |||
margin-right: 0.5rem; | |||
} | } | ||
Revision as of 16:44, 28 December 2025
/* === Vector 2022: move search box to the right === */
/* Ensure header uses flex properly */
.vector-header {
display: flex;
align-items: center;
}
/* Push the end section (search + user links) to the right */
.vector-header-end {
margin-left: auto;
display: flex;
align-items: center;
}
/* Optional: tighten search spacing (Kouzina-like) */
.vector-search-box {
margin-right: 0.5rem;
}