mediawiki-skins-MinervaNeue/resources/skins.minerva.content.styles/tablet/hacks.less
jdlrobson 1166009c00 skins.minerva.tablet.styles can be merged
This module is unnecessary - it's loaded unconditionally on a page.
Instead bundle the related CSS inside skins.minerva.content.styles

Change-Id: Ieb37d63332ff5b0cf39835b64cc9f0dcaf62c34f
2019-01-15 12:30:30 -08:00

27 lines
921 B
Plaintext

/*
A file for css that corrects known rendering issues on known Wikimedia wikis ON TABLETS
Many of them correct hacks in place in common/hacks.less
It will become redundant when the following RFC is resolved:
https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templates
FIXME: Review all of these hacks to see if they still apply.
*/
@import '../../../minerva.less/minerva.variables';
@import '../../../minerva.less/minerva.mixins';
/* Tablet specific styling */
@media all and ( min-width: @width-breakpoint-tablet ) {
// Float infoboxes to the right of the page
table.infobox {
margin: 0.5em 0 1em 35px !important;
// Note this is fixed to ensure that we leave enough space for the sections to the infoboxes left
max-width: @infoboxWidth;
// FIXME [Templates]: Inline styles force us to use !important
width: auto !important;
float: right !important;
clear: right !important;
}
}