MediaWiki:Mobile.css: Difference between revisions

Reverting to previous name, but adding a new class definition to enforce that it applies to vertical as well. Also adding a vertical-fullwidth class.
(Allowing fullwidth to be used on more than just tables, renaming to clarify that it only makes the content fullwidth in vertical)
(Reverting to previous name, but adding a new class definition to enforce that it applies to vertical as well. Also adding a vertical-fullwidth class.)
Line 351: Line 351:
}
}


@media screen and (min-width: 720px) {
@media screen and (max-width:719px) {
     .content table.vertical-fullwidth {
     .content table.vertical-fullwidth {
         width: 100% !important;
         width: 100% !important;
     }
     }
     .vertical-fullwidth {
}
 
.fullwidth {
    width: 100% !important;
}
 
@media screen and (min-width: 720px) {
     .content table.fullwidth {
         width: 100% !important;
         width: 100% !important;
     }
     }