Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Add game card grid styles for full-width thumbnails)
 
(Fix game card float and width issues)
Line 1: Line 1:
/* Game card grid - make thumbnails fill card width */
/* Game card grid - make thumbnails fill card width */
.game-card .image img {
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
}
.game-card .thumb {
.game-card .thumb {
     border: none !important;
     border: none !important;
     margin: 0 !important;
     margin: 0 !important;
     width: 100% !important;
     width: 100% !important;
    float: none !important;
}
}
.game-card .thumbinner {
.game-card .thumbinner {
Line 15: Line 11:
     width: 100% !important;
     width: 100% !important;
     max-width: none !important;
     max-width: none !important;
}
.game-card .thumbimage {
    width: 100% !important;
    height: auto !important;
}
.game-card .thumbcaption {
    display: none !important;
}
}
.game-card a.image img {
.game-card a.image img {
     width: 100% !important;
     width: 100% !important;
     height: auto !important;
     height: auto !important;
    max-width: none !important;
}
}

Revision as of 09:50, 18 February 2026

/* Game card grid - make thumbnails fill card width */
.game-card .thumb {
    border: none !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}
.game-card .thumbinner {
    border: none !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
}
.game-card .thumbimage {
    width: 100% !important;
    height: auto !important;
}
.game-card .thumbcaption {
    display: none !important;
}
.game-card a.image img {
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
}