2017-07-12 15:12:40 +00:00
|
|
|
/*
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
2021-04-29 01:01:54 +00:00
|
|
|
@import '../../../../minerva.less/minerva.variables.less';
|
|
|
|
@import '../../../../minerva.less/minerva.mixins.less';
|
2017-07-12 15:12:40 +00:00
|
|
|
|
|
|
|
/* Tablet specific styling */
|
2018-02-05 19:17:54 +00:00
|
|
|
@media all and ( min-width: @width-breakpoint-tablet ) {
|
2020-07-17 18:00:51 +00:00
|
|
|
.content {
|
|
|
|
// Float infoboxes to the right of the page
|
|
|
|
.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
|
|
|
|
// FIXME [Templates]: Inline styles force us to use !important
|
2024-01-31 15:06:56 +00:00
|
|
|
max-width: @width-infobox !important;
|
2020-07-17 18:00:51 +00:00
|
|
|
width: auto !important;
|
|
|
|
float: right !important;
|
|
|
|
clear: right !important;
|
|
|
|
}
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
}
|