mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 10:50:52 +00:00
5d46c576bb
I used the fix provided by TheDJ and tested out locally on Firefox 57 and Chrome latest, but I couldn't test out any grade C browser as on Linux it's really hard to find such an outdated browser like Internet Explorer on Windows. Bug: T168716 Change-Id: I8e03610e4eb3c93b80bb757592c2fb3079a68412
32 lines
1 KiB
Plaintext
32 lines
1 KiB
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.variables';
|
|
@import 'minerva.mixins';
|
|
|
|
/* Tablet specific styling */
|
|
@media all and ( min-width: @deviceWidthTablet ) {
|
|
// 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;
|
|
}
|
|
// banners inserted by other extensions, i.e. Zero
|
|
#mw-mf-page-center .mw-mf-banner {
|
|
// !important because Zero has an inline style
|
|
background-clip: content-box !important;
|
|
}
|
|
}
|