MediaWiki:Mobile.css: Difference between revisions

From Ylvapedia
(Title and branding styling)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* Elin fonts */
/* Use [[MediaWiki:Minerva.css]] instead, let's keep the creep to a minimum */
@font-face {
/* Extension:MobileFrontend has been forked to ensure MediaWiki:<skinname>.css and MediaWiki:Common.css work on mobile */
font-family: "GenEi Antique v5";
src:
local("GenEi Antique v5"),
url("skins/Elin/GenEiAntiqueNv5-M.ttf");
}
 
/* Title and branding */
.minerva-header .branding-box a {
font-family: "GenEi Antique v5";
font-weight: lighter;
font-size: x-large;
color: #5B1000;
}
 
/* 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;
}

Latest revision as of 20:58, 25 December 2024

/* Use [[MediaWiki:Minerva.css]] instead, let's keep the creep to a minimum */
/* Extension:MobileFrontend has been forked to ensure MediaWiki:<skinname>.css and MediaWiki:Common.css work on mobile */