MediaWiki:Mobile.css: Difference between revisions

From The Reed and Rite
Created page with "→All CSS here will be loaded for users of the mobile site: .infobox { margin: 0 auto !important; →Center the infobox: float: none !important; →Prevent floating to the right: clear: both !important; →Ensure it sits above the rest of the content: width: auto !important; →Allow it to size naturally: max-width: 90% !important; →Prevent it from taking full width: }"
 
mNo edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* All CSS here will be loaded for users of the mobile site */
/* All CSS here will be loaded for users of the mobile site */
.infobox {
    margin: 0 auto !important;    /* Center the infobox */
    float: none !important;        /* Prevent floating to the right */
    clear: both !important;        /* Ensure it sits above the rest of the content */
    width: auto !important;        /* Allow it to size naturally */
    max-width: 90% !important;    /* Prevent it from taking full width */
}

Latest revision as of 03:59, 22 May 2025

/* All CSS here will be loaded for users of the mobile site */