2017-07-12 15:12:40 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
2018-05-19 18:17:31 +00:00
|
|
|
@import '../../minerva.less/minerva.variables';
|
|
|
|
@import '../../minerva.less/minerva.mixins';
|
2017-07-12 15:12:40 +00:00
|
|
|
|
|
|
|
.view-border-box *,
|
|
|
|
.view-border-box {
|
|
|
|
.box-sizing( border-box );
|
|
|
|
}
|
|
|
|
|
2018-12-12 23:20:10 +00:00
|
|
|
/* Hide the table of contents `.toc-mobile` unless the user is viewing in tablet resolution or
|
|
|
|
* higher */
|
2017-07-12 15:12:40 +00:00
|
|
|
.toc-mobile,
|
2018-12-12 23:20:10 +00:00
|
|
|
/* Table of contents `.toc` as provided by parser has no styling, this is a temporary measure
|
|
|
|
* until we are able to commit more time to Minerva on desktop */
|
2018-03-19 00:35:47 +00:00
|
|
|
.toc,
|
2018-12-12 23:20:10 +00:00
|
|
|
/* We also need a more specific rule for tablet non-JS users who will load skins.minerva.tablet.styles */
|
2017-07-12 15:12:40 +00:00
|
|
|
.client-nojs .toc-mobile,
|
|
|
|
.client-js .mw-redirectedfrom,
|
2018-12-12 23:20:10 +00:00
|
|
|
/* FIXME: Use generic rule for print stylesheets */
|
2017-07-12 15:12:40 +00:00
|
|
|
.printfooter,
|
|
|
|
.jsonly {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* TODO: Fix specificity */
|
|
|
|
/* stylelint-disable no-descending-specificity */
|
|
|
|
.client-js .jsonly {
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
// currently used to hide talk button
|
|
|
|
.hidden {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2018-05-01 22:04:27 +00:00
|
|
|
#mw-mf-viewport {
|
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
// We need to ensure the content has the chrome background - otherwise it will
|
|
|
|
// overlap the menu during the main menu reveal/hide animation
|
|
|
|
#mw-mf-page-center {
|
2018-05-01 22:04:27 +00:00
|
|
|
width: 100%;
|
2019-08-05 20:41:12 +00:00
|
|
|
min-height: 100%;
|
2018-05-01 22:04:27 +00:00
|
|
|
position: relative;
|
2017-07-12 15:12:40 +00:00
|
|
|
background-color: @chromeColor;
|
2019-08-07 19:20:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
2019-08-08 19:09:50 +00:00
|
|
|
// Create a new stacking context. `transform: translateZ( 0 );` would be preferred but that
|
|
|
|
// triggers a browser bug which affects the edit cards in Visual Editor:
|
|
|
|
// https://bugs.chromium.org/p/chromium/issues/detail?id=20574
|
|
|
|
position: relative;
|
2018-05-01 22:04:27 +00:00
|
|
|
z-index: @z-indexBase;
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|