2021-10-04 22:03:29 +00:00
|
|
|
// stylelint-disable selector-max-id
|
2019-08-08 20:01:03 +00:00
|
|
|
@import '../../minerva.less/minerva.variables.less';
|
|
|
|
@import '../../minerva.less/minerva.mixins.less';
|
2017-08-18 18:45:41 +00:00
|
|
|
|
2021-10-04 22:03:29 +00:00
|
|
|
.mw-mf-special-page {
|
|
|
|
#bodyContent.content {
|
|
|
|
max-width: none;
|
|
|
|
margin: 0;
|
|
|
|
width: auto;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// override core .content li rule
|
|
|
|
.page-header-bar li {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mf-history-wrap-link {
|
|
|
|
@media all and ( min-width: @width-breakpoint-desktop ) {
|
|
|
|
margin: 0;
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-13 01:35:54 +00:00
|
|
|
// FIXME [mediawiki ui] These rules should not be needed in the mobile context
|
|
|
|
.mw-ui-button-group {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
* {
|
|
|
|
float: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// For talk and CTA drawer
|
|
|
|
.mw-ui-block {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-18 18:45:41 +00:00
|
|
|
.ns-special {
|
2021-10-04 22:03:29 +00:00
|
|
|
.mw-body #section_0 {
|
2019-11-26 05:02:40 +00:00
|
|
|
font-size: 1.5em;
|
|
|
|
font-weight: bold;
|
2017-08-18 18:45:41 +00:00
|
|
|
}
|
|
|
|
|
2019-01-24 23:40:37 +00:00
|
|
|
.heading-holder {
|
|
|
|
padding-top: 26px;
|
2019-02-19 10:20:25 +00:00
|
|
|
// prevents margin collapsing. i.e. makes .heading-holder height match
|
|
|
|
// the bottom margin on .page-header, a child element.
|
|
|
|
overflow: auto;
|
2017-11-28 21:55:58 +00:00
|
|
|
}
|
|
|
|
|
2017-08-18 18:45:41 +00:00
|
|
|
h1,
|
|
|
|
h2 {
|
|
|
|
// Important given we have no idea which rules special pages are enforcing
|
2020-03-08 03:34:44 +00:00
|
|
|
font-family: @font-family-base !important;
|
2017-11-13 18:49:21 +00:00
|
|
|
}
|
|
|
|
|
2021-10-04 22:03:29 +00:00
|
|
|
.errorbox {
|
|
|
|
h2 {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-13 18:49:21 +00:00
|
|
|
.content-header {
|
|
|
|
h1,
|
|
|
|
h2 {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2020-04-17 19:47:19 +00:00
|
|
|
|
|
|
|
.mw-mf-user:before {
|
|
|
|
opacity: @opacity-icon-subtle;
|
|
|
|
}
|
2017-08-18 18:45:41 +00:00
|
|
|
}
|
|
|
|
}
|
2017-12-13 01:35:54 +00:00
|
|
|
|
|
|
|
// Used by MobileSpecialPageFeed.php in MobileFrontend
|
|
|
|
.truncated-text {
|
2020-04-17 22:30:06 +00:00
|
|
|
.text-overflow( @visible: false );
|
2017-12-13 01:35:54 +00:00
|
|
|
|
|
|
|
// FIXME: this works only in WebKit
|
|
|
|
&.multi-line {
|
|
|
|
white-space: normal;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.two-line {
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
// fallback for non-WebKit
|
|
|
|
max-height: 2.6em;
|
|
|
|
}
|
|
|
|
}
|