MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 35: Line 35:
}
}


/* Mobile fixes */
/* INFOBOX */
@media screen and (max-width:600px) {
.wikitable.infobox {
     .mw-content-ltr figure {
    float: right;
    margin-left: 0.5em;
    margin-right: 0px;
    width: 20%;
    max-width:30em;
    min-width:20em;
}
 
/* MOBILE FIXES */
@media screen and (max-width:700px) {
     .mw-content-ltr figure[typeof="mw:File/Thumb"], .mw-content-ltr figure[typeof="mw:File/Frame"] {
         float:none;
         float:none;
        margin:auto;
    }
    .wikitable.infobox {
        float:none;
        width:100%;
        margin:auto;
     }
     }
}
}

Navigation menu