Template:Infobox style/styles.css

< Template:Infobox style
Revision as of 22:06, 12 September 2023 by Nin10doGMod (talk | contribs) (Created page with "→‎Wars Wiki infobox styling: .ww-infobox { border-style: solid; border-width: 3px; } .ww-infobox .wwi-title { font-size: 110%; padding: 2px; text-align: center; } .ww-infobox .wwi-image { background: #FFF; padding: 0; text-align: center; } .ww-infobox .wwi-image-sprite { →‎Recommended for resizing small sprites under 64px only: image-rendering: crisp-edges; →‎Firefox: image-rendering: pixelated; →‎Chromium + Safari: } .ww-infobox .wwi-...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

/* Wars Wiki infobox styling */ .ww-infobox {

 border-style: solid;
 border-width: 3px;

}

.ww-infobox .wwi-title {

 font-size: 110%;
 padding: 2px;
 text-align: center;

}

.ww-infobox .wwi-image {

 background: #FFF;
 padding: 0;
 text-align: center;

}

.ww-infobox .wwi-image-sprite { /* Recommended for resizing small sprites under 64px only */

 image-rendering: crisp-edges; /* Firefox */
 image-rendering: pixelated; /* Chromium + Safari */

}

.ww-infobox .wwi-header {

 border-style: solid;
 border-width: 3px 15px 0;
 text-align: center;

}

.ww-infobox .wwi-data-label {

 text-align: right;
 width: 40%;

}

.ww-infobox .wwi-data-value {

 background: #FFF;

}