MediaWiki:Common.css: Difference between revisions
(Moving navbox test styling to User:Hachimitsu/style.css) |
(Minimizing, Main page CSS moved to Template:Main_page/styles.css) |
||
Line 12: | Line 12: | ||
#mw-indicator-smw-entity-examiner { | #mw-indicator-smw-entity-examiner { | ||
min-width: 20px; | min-width: 20px; | ||
} | } | ||
Line 70: | Line 64: | ||
border-image: url('/images/9/9b/Elin_UI_Light_Inner.png') 10 17 18 11 fill round; | border-image: url('/images/9/9b/Elin_UI_Light_Inner.png') 10 17 18 11 fill round; | ||
image-rendering: pixelated; | image-rendering: pixelated; | ||
} | } |
Revision as of 01:53, 26 December 2024
/* CSS placed here will be applied to all skins, desktop and mobile */
/* Elin fonts */
@font-face {
font-family: "GenEi Antique v5";
src:
local("GenEi Antique v5"),
url("skins/Elin/GenEiAntiqueNv5-M.ttf");
}
/* Minimum width to avoid a content shift in the header */
#mw-indicator-smw-entity-examiner {
min-width: 20px;
}
/* Prevent little sister inversion */
.client-darkmode .mw-wiki-logo{
filter: invert( 1 ) hue-rotate( 180deg );
}
/* Eliminate CLS while Shortdesc loads */
#contentSub.ext-shortdesc {
display: block;
position: absolute;
margin: 0;
padding: 0;
width: 100%;
}
/* 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;
}
.infobox-profile,
.infobox-classrace {
float: right;
max-width: 24em;
}
/* Thumbnails and specified images remain pixelated. */
.thumb img,
.pixelated img {
image-rendering: pixelated;
}
/* Styling for superscripts in green on wikitables */
table.wikitable sup {
color: darkgreen;
}
/* Styling for subscripts in red on wikitables */
table.wikitable sub {
color: red;
}
/* 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;
}