MediaWiki:Vector-2022.css: Difference between revisions
(Wordmark needs styling as well.) |
(Trimming more padding for mobile) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* Nixing more padding that seems to do nothing on desktop and clutter things on mobile */ | |||
.mw-body { | |||
padding: 0; | |||
} | |||
/* Resolves some max-width cancer that's mangling tables */ | /* Resolves some max-width cancer that's mangling tables */ | ||
.mw-page-container { | .mw-page-container { | ||
max-width: unset; | max-width: unset; | ||
padding: 0 1em; | |||
} | } | ||
.mw-content-container { | .mw-content-container { | ||
Line 11: | Line 16: | ||
.mw-logo-icon { | .mw-logo-icon { | ||
image-rendering: pixelated; | image-rendering: pixelated; | ||
margin: 0; | |||
width: 68px; | |||
height: 68px; | |||
} | |||
/* The default min-width is not mobile-friendly. */ | |||
.mw-logo { | |||
min-width: unset; | |||
} | } | ||
.mw-logo-wordmark { | .mw-logo-wordmark { | ||
Line 17: | Line 29: | ||
font-size: x-large; | font-size: x-large; | ||
color: #5B1000; | color: #5B1000; | ||
} | |||
.vector-sticky-header-context-bar-primary { | |||
font-family: "GenEi Antique v5"; | |||
font-weight: lighter; | |||
color: #5B1000; | |||
} | |||
/* TODO: Too much bouncing (CLS) */ | |||
#mw-indicator-smw-entity-examiner, #languageselector-commit-1 { | |||
display: none; | |||
} | } |
Latest revision as of 22:44, 24 December 2024
/* Nixing more padding that seems to do nothing on desktop and clutter things on mobile */
.mw-body {
padding: 0;
}
/* Resolves some max-width cancer that's mangling tables */
.mw-page-container {
max-width: unset;
padding: 0 1em;
}
.mw-content-container {
max-width: unset;
}
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container {
max-width: unset;
}
.mw-logo-icon {
image-rendering: pixelated;
margin: 0;
width: 68px;
height: 68px;
}
/* The default min-width is not mobile-friendly. */
.mw-logo {
min-width: unset;
}
.mw-logo-wordmark {
font-family: "GenEi Antique v5";
font-weight: lighter;
font-size: x-large;
color: #5B1000;
}
.vector-sticky-header-context-bar-primary {
font-family: "GenEi Antique v5";
font-weight: lighter;
color: #5B1000;
}
/* TODO: Too much bouncing (CLS) */
#mw-indicator-smw-entity-examiner, #languageselector-commit-1 {
display: none;
}