Jump to content

MediaWiki:Mobile.css: Difference between revisions

From Wyld West Wiki
No edit summary
Blanked the page
Tag: Blanking
 
Line 1: Line 1:
@media screen and (max-width: 768px) {
    #toc, .mw-parser-output .toc, .vector-toc, .vector-body .vector-toc {
        font-size: 12px !important; /* Adjust as needed */
        line-height: 1.2em !important;
    }


    /* Adjust TOC section headers */
    #toc h2, .vector-toc h2 {
        font-size: 14px !important;
    }
    /* Adjust TOC list items */
    #toc ul li, .vector-toc ul li {
        font-size: 12px !important;
    }
    /* Ensure MobileFrontend extension applies the correct font size */
    .mw-body-content #toc, .mf-section-0 #toc {
        font-size: 12px !important;
    }
}

Latest revision as of 21:27, 5 March 2025