mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 16:10:55 +00:00
64134bd8a6
Use local imports instead given all relevant files are within the same repository, and don't vary by configuraion. Bug: T140807 Depends-On: If3edac9a35b346af0320c12f70c0d978a6346201 Change-Id: Ife3cc345a63aff452e93accbe0a593fbaa358732
27 lines
915 B
Plaintext
27 lines
915 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;
|
|
}
|
|
}
|