MediaWiki:Minerva.css: Difference between revisions

From Ylvapedia
(Sinning on Christmas with !important)
(Copypasta from MediaWiki:Common.css, which should be slimmed down a little.)
Line 1: Line 1:
/* Elin fonts */
@font-face {
font-family: "GenEi Antique v5";
src:
local("GenEi Antique v5"),
url("skins/Elin/GenEiAntiqueNv5-M.ttf");
}
/* Columns and mobile don't mix */
/* Columns and mobile don't mix */
@media all and (max-width:480px) {
@media all and (max-width:480px) {
Line 4: Line 12:
column-count: 1 !important;
column-count: 1 !important;
}
}
}
/* Images viewed in Media Viewer are scaled up and remain pixelated. */
.mw-mmv-image img {
max-width: 100%;
height: 100%;
object-fit: contain;
image-rendering: pixelated;
}
/* Thumbnails and specified images remain pixelated. */
.thumb img,
.pixelated img {
image-rendering: pixelated;
}
/* Elin-specific styling */
.elin-parchment {
border: solid wheat;
border-width: 10px 17px 18px 11px;
border-image: url('/images/9/9b/Elin_UI_Light_Inner.png') 10 17 18 11 fill round;
image-rendering: pixelated;
}
}

Revision as of 18:11, 25 December 2024

/* Elin fonts */
@font-face {
	font-family: "GenEi Antique v5";
	src:
		local("GenEi Antique v5"),
		url("skins/Elin/GenEiAntiqueNv5-M.ttf");
}

/* Columns and mobile don't mix */
@media all and (max-width:480px) {
	#main-page-elin>ul {
		column-count: 1 !important;
	}
}

/* Images viewed in Media Viewer are scaled up and remain pixelated. */
.mw-mmv-image img {
	max-width: 100%;
	height: 100%;
	object-fit: contain;
	image-rendering: pixelated;
}

/* Thumbnails and specified images remain pixelated. */
.thumb img,
.pixelated img {
	image-rendering: pixelated;
}

/* Elin-specific styling */
.elin-parchment {
	border: solid wheat;
	border-width: 10px 17px 18px 11px;
	border-image: url('/images/9/9b/Elin_UI_Light_Inner.png') 10 17 18 11 fill round;
	image-rendering: pixelated;
}