2019-08-08 20:01:03 +00:00
|
|
|
@import '../../minerva.less/minerva.variables.less';
|
2017-07-12 15:12:40 +00:00
|
|
|
|
|
|
|
.view-border-box *,
|
|
|
|
.view-border-box {
|
2022-05-16 16:55:54 +00:00
|
|
|
box-sizing: border-box;
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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 */
|
|
|
|
.client-js .jsonly {
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
// currently used to hide talk button
|
|
|
|
.hidden {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2019-11-26 05:02:40 +00:00
|
|
|
#mw-mf-viewport { // stylelint-disable-line selector-max-id
|
2018-05-01 22:04:27 +00:00
|
|
|
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
|
2019-11-26 05:02:40 +00:00
|
|
|
#mw-mf-page-center { // stylelint-disable-line selector-max-id
|
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;
|
2023-04-09 13:49:29 +00:00
|
|
|
background-color: @background-color-light;
|
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
|
|
|
}
|