Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A MediaWiki compatibility stylesheet for responsive Minerva support
/* This template is loaded on the main page to address T32405
Please feel free to adapt the code, translate this message.
Updates can be found in https://gist.github.com/jdlrobson/dbb124296ed2a1fc7242018c7b589059 */
@media screen and ( max-width: 720px ) {
body.skin-minerva td,
body.skin-minerva tr,
body.skin-minerva .mp-column,
body.skin-minerva .floatleft,
body.skin-minerva .floatright,
body.skin-minerva tbody,
body.skin-minerva table {
display: block !important;
float: none !important;
width: 100% !important;
height: auto !important;
box-sizing: border-box;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment