mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 19:21:39 +00:00
0d61c78f73
This could be made even simpler by not using a LESS varialbe for hacks.less, but loading it conditionally through the moduel def. But, as a first step we can merge the two as-is. Given that the subject and target are always referenced together in page views, there is no need to keep an alias around. However, I'm keeping it anyway so as to not produce any `/* {"skins.foo":"missing"} */` appendix to the stylesheet response for these cached URLs. Bug: T266361 Change-Id: I8578faab8ca32bd49be90711cbd5e182763b8065
29 lines
968 B
Plaintext
29 lines
968 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.less';
|
|
@import '../../../../minerva.less/minerva.mixins.less';
|
|
|
|
/* Tablet specific styling */
|
|
@media all and ( min-width: @width-breakpoint-tablet ) {
|
|
.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
|
|
max-width: @infoboxWidth !important;
|
|
width: auto !important;
|
|
float: right !important;
|
|
clear: right !important;
|
|
}
|
|
}
|
|
}
|