Jump to content

MediaWiki:Mobile.css: Difference between revisions

From Worldpedia, the free encyclopedia
Created page with "All CSS here will be loaded for users of the mobile site: .wikitable { width: 100% !important; max-width: 100% !important; overflow-x: auto !important; display: block !important; white-space: normal !important; font-size: 90%; } .wikitable img { max-width: 100% !important; height: auto !important; }"
Tags: Mobile edit Mobile web edit
 
No edit summary
Tags: Mobile edit Mobile web edit
Line 3: Line 3:
     width: 100% !important;
     width: 100% !important;
     max-width: 100% !important;
     max-width: 100% !important;
     overflow-x: auto !important;
     overflow-x: hidden !important;
     display: block !important;
     display: block !important;
    table-layout: fixed !important;
    word-wrap: break-word !important;
    font-size: 14px !important;
}
.wikitable th, .wikitable td {
     white-space: normal !important;
     white-space: normal !important;
     font-size: 90%;
     word-break: break-word !important;
}
}


.wikitable img {
.wikitable img {
     max-width: 100% !important;
     max-width: 90% !important;
     height: auto !important;
     height: auto !important;
    display: block;
    margin: 0 auto;
}
}

Revision as of 15:09, 23 February 2025

/* All CSS here will be loaded for users of the mobile site */
.wikitable {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    display: block !important;
    table-layout: fixed !important;
    word-wrap: break-word !important;
    font-size: 14px !important;
}
.wikitable th, .wikitable td {
    white-space: normal !important;
    word-break: break-word !important;
}

.wikitable img {
    max-width: 90% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}