mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-25 06:36:32 +00:00
f9ac17d94d
* language-selector can only appear in secondary actions so only load rule on Main page * .no-js-only not used in MobileFrontend or Minerva * Remove last-modified-bar rules from ui.less that are repeated inside footer less file * #mw-mf-last-modified id is no longer used post-footer rewrite * CSS rules for .mw-mf-banner are defined in Zero extension * mw-mf-image-replacement is no longer needed after we turned off the option to disable images in the mobile site Change-Id: I7abdbac4d2d16b931e2b110fcebf0dfc82146753
27 lines
877 B
Plaintext
27 lines
877 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.variables';
|
|
@import '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;
|
|
}
|
|
}
|