Jump to content

MediaWiki:Mobile.css: Difference between revisions

Created page with "All CSS here will be loaded for users of the mobile site: Imported from wikipedia: .navbox { border: 1px solid #a2a9b1; width: 100%; box-sizing: border-box; margin: auto; clear: both; font-size: 88%; text-align: center; padding: 1px } .navbox-inner,.navbox-subgroup { width: 100% } .navbox-group,.navbox-title,.navbox-abovebelow { padding: 0.25em 1em; line-height: 1.5em; text-align: center } th.navbox-group {..."
 
No edit summary
Line 133: Line 133:
}
}
.mwBoxRow {
.mwBoxRow {
flex-direction: column; /* Mobile exclusive */
border-spacing: 8px;
border-spacing: 8px;
border: 1px solid;
border: 1px solid;
Line 152: Line 153:
padding: 0.2em 0.4em;
padding: 0.2em 0.4em;
}
}
 
.mwBoxRow > div { /* Mobile exclusive */
@media all and (max-width: 850px) {
width: auto !important;
.mwBoxRow {
flex-direction: column;
}
.mwBoxRow > div {
width: auto !important;
}
}
}