MediaWiki:Vector-2022.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 67: | Line 67: | ||
} | } | ||
.vector-header-end .cdx-text- | .vector-header-end .cdx-text-input__input:focus, | ||
#vector-sticky-header .cdx-text- | #vector-sticky-header .cdx-text-input__input:focus { | ||
outline: none !important; /* remove native browser outline */ | |||
background-color: rgba(255,255,255,0.9); | |||
background-color: | |||
} | } | ||
Revision as of 23:29, 2 November 2025
/* Vector 2022 CSS Styling */
/* ===== 1. Header + footer background ===== */
.vector-header-container .vector-header,
.vector-sticky-header-container,
#vector-sticky-header {
background-color: #E9EEF6;
}
.mw-footer-container,
.mw-footer {
background-color: #E9EEF6;
}
/* ===== 2. Wordmark / site name next to logo ===== */
.mw-logo-wordmark {
color: rgb(77, 77, 80);
font-size: 1.25rem !important;
font-weight: 600;
letter-spacing: 1px;
line-height: 1.2;
}
/* ensure logo never looks faded */
.mw-logo,
.mw-logo-wordmark,
.vector-sticky-header .mw-logo,
.vector-sticky-header .mw-logo-wordmark {
opacity: 1 !important;
}
/* ===== 3. "Hamburger" / main menu toggle button ===== */
#vector-main-menu-dropdown-label.cdx-button--icon-only {
background-color: rgb(32, 33, 36) !important;
color: #fff;
border-radius: 4px;
padding: 4px 6px;
}
#vector-main-menu-dropdown-label .vector-icon {
filter: invert(1);
}
/* ===== 4. Search field styling (rounded pill look) ===== */
.vector-header-end .cdx-text-input,
#vector-sticky-header .cdx-text-input {
border-radius: 14px !important;
border: 1px solid #35a2c9 !important;
box-shadow: none !important;
background-color: #fff;
}
.vector-header-end .cdx-text-input__input,
#vector-sticky-header .cdx-text-input__input {
border-radius: 14px !important;
border: 0 !important;
}
.cdx-search-input--has-end-button {
border: 0px;
background: transparent;
display; flex;
gap: 3px;
}
.cdx-button {
border-radius: 11px !important;
border: 1px solid #35a2c9 !important;
}
.vector-header-end .cdx-text-input__input:focus,
#vector-sticky-header .cdx-text-input__input:focus {
outline: none !important; /* remove native browser outline */
background-color: rgba(255,255,255,0.9);
}
/* ===== 5. Heading font stack ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}
/* ===== 6. Slightly slimmer header bar ===== */
.vector-header {
padding-top: 0.4rem;
padding-bottom: 0.4rem;
}
#vector-sticky-header {
padding-top: 0.4rem;
padding-bottom: 0.4rem;
}