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';
|
2022-05-16 16:55:54 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
2017-08-18 18:45:41 +00:00
|
|
|
|
|
|
|
.ns-special {
|
2021-11-05 18:21:09 +00:00
|
|
|
.mw-body .mw-first-heading {
|
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
|
|
|
}
|
|
|
|
|
2024-08-13 11:31:43 +00:00
|
|
|
.pre-content h1,
|
|
|
|
.content .mw-heading1,
|
|
|
|
.content h1,
|
|
|
|
.content .mw-heading2,
|
|
|
|
.content h2 {
|
|
|
|
// Consistent header font across special pages
|
|
|
|
font-family: @font-family-base;
|
2017-11-13 18:49:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.content-header {
|
|
|
|
h1,
|
|
|
|
h2 {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2020-04-17 19:47:19 +00:00
|
|
|
|
2023-03-31 19:50:36 +00:00
|
|
|
.mw-mf-user::before {
|
2020-04-17 19:47:19 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2024-04-15 22:13:20 +00:00
|
|
|
|
|
|
|
/* Watchlist with AMC disabled */
|
|
|
|
html.mw-mf-amc-clientpref-0 body.mw-special-Watchlist {
|
|
|
|
#mw-content-subtitle {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.watchlistDetails,
|
|
|
|
.mw-rcfilters-head,
|
|
|
|
.mw-fr-reviewlink,
|
|
|
|
.mw-rcfilters-spinner,
|
|
|
|
.mw-rcfilters-container {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-rcfilters-ui-changesListWrapperWidget {
|
|
|
|
border-top: 1px solid @border-color-subtle;
|
|
|
|
margin: 20px 0 0;
|
|
|
|
width: 100%;
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide edit raw watchlist and clear watchlist options for non-advanced logged in users */
|
|
|
|
html.mw-mf-amc-clientpref-0 {
|
|
|
|
body.mw-special-Watchlist,
|
|
|
|
body.mw-special-EditWatchlist {
|
|
|
|
/* Hide third and forth tabs */
|
|
|
|
#p-associated-pages .minerva__tab:nth-child( 3 ),
|
|
|
|
#p-associated-pages .minerva__tab:nth-child( 4 ) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-24 01:14:15 +00:00
|
|
|
|
|
|
|
body.mw-special-Newpages {
|
|
|
|
.mw-contributions-list {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
.changeslist-row();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-index-pager-list-header {
|
|
|
|
.changeslist-header();
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-newpages-pagename {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-newpages-time,
|
|
|
|
.mw-userlink,
|
|
|
|
.mw-newpages-pagename {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment,
|
|
|
|
.mw-userlink,
|
|
|
|
.mw-usertoollinks {
|
|
|
|
float: left;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-usertoollinks {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-changeslist-date {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-changeslist-time {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
2023-11-07 09:03:29 +00:00
|
|
|
@media all and ( min-width: @min-width-breakpoint-desktop ) {
|
2024-03-24 01:14:15 +00:00
|
|
|
margin: 0;
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|