2018-05-19 18:17:31 +00:00
|
|
|
@import '../../minerva.less/minerva.variables';
|
2018-07-05 22:51:27 +00:00
|
|
|
@import '../../minerva.less/minerva.mixins';
|
2017-08-18 18:45:41 +00:00
|
|
|
|
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 {
|
|
|
|
#content {
|
|
|
|
#section_0 {
|
2017-11-28 21:55:58 +00:00
|
|
|
padding: 34px 0 0;
|
|
|
|
font-size: 1.5em;
|
2017-08-18 18:45:41 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pre-content {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-28 21:55:58 +00:00
|
|
|
// Specific to override mobile display
|
|
|
|
.heading-holder .tagline {
|
2018-11-13 22:12:39 +00:00
|
|
|
padding-bottom: 15px;
|
|
|
|
// Avoid padding bottom being added on pages where there is no tagline
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
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
|
|
|
|
font-family: @fontFamily !important;
|
2017-11-13 18:49:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.content-header {
|
|
|
|
h1,
|
|
|
|
h2 {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2017-08-18 18:45:41 +00:00
|
|
|
}
|
|
|
|
}
|
2017-12-13 01:35:54 +00:00
|
|
|
|
|
|
|
// Used by MobileSpecialPageFeed.php in MobileFrontend
|
|
|
|
.truncated-text {
|
2018-07-05 22:51:27 +00:00
|
|
|
.truncated-text();
|
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;
|
|
|
|
}
|
|
|
|
}
|