MediaWiki:Vector-2022.css: Difference between revisions

From Ylvapedia
(And so begins the mobile improvement struggle.)
(Trimming more padding for mobile)
 
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 {

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;
}