MediaWiki:Vector-2022.css: Difference between revisions
(max-width is the devil, @ me if you disagree) |
(Tweaks to prevent CLS (gross)) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
.mw-content-container { | .mw-content-container { | ||
max-width: unset; | 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; | |||
} | |||
.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; | |||
} | } |
Revision as of 08:01, 24 December 2024
/* Resolves some max-width cancer that's mangling tables */
.mw-page-container {
max-width: unset;
}
.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;
}
.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;
}