Open main menu
Home
Random
Log in
Settings
Give to Wikipedia
About KidzSearch Wiki
Disclaimers
KidzSearch Wiki
Search
Changes
kidzsearch.com
>
wiki
>
Mobile.css
← Earlier diff
Newer diff →
MediaWiki:Mobile.css
(view source)
Revision as of 23:49, 17 August 2025
565 bytes added
,
17 August
no edit summary
Line 1:
Line 1:
/* CSS placed here will affect users of the mobile site */
/* CSS placed here will affect users of the mobile site */
+
+
/* Ensure gallery thumbnails render properly across browsers */
+
.gallerybox .thumb img {
+
display: block !important; /* Prevent inline rendering quirks */
+
background: none !important; /* Remove gray placeholder background */
+
object-fit: cover; /* Fit image correctly in its box */
+
max-width: 100% !important;
+
max-height: 100% !important;
+
}
+
+
/* Optional: add a subtle fallback background so empty images are visible */
+
.gallerybox .thumb {
+
background-color: #f0f0f0; /* Light gray instead of solid dark */
+
}
Admin
Bureaucrats
,
Interface administrators
,
Suppressors
,
Administrators
942,642
edits