mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-12-01 03:16:40 +00:00
Merge "Fix RelatedPages placement in Monobook"
This commit is contained in:
commit
74d871bce4
|
@ -142,6 +142,14 @@ class FooterHooks {
|
|||
"styles" => array(
|
||||
"resources/ext.relatedArticles.readMore/readMore.less"
|
||||
),
|
||||
"skinStyles" => array(
|
||||
"default" => "resources/ext.relatedArticles.readMore/readMore.default.less",
|
||||
"monobook" => array(
|
||||
"resources/ext.relatedArticles.readMore/readMore.default.less",
|
||||
"resources/ext.relatedArticles.readMore/readMore.monobook.less"
|
||||
),
|
||||
"minerva" => "resources/ext.relatedArticles.readMore/readMore.minerva.less"
|
||||
),
|
||||
"messages" => array(
|
||||
"relatedarticles-read-more-heading"
|
||||
),
|
||||
|
|
15
resources/ext.relatedArticles.readMore/readMore.default.less
Normal file
15
resources/ext.relatedArticles.readMore/readMore.default.less
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Hide RelatedArticles when VE is activated (https://phabricator.wikimedia.org/T120443)
|
||||
.ve-activated {
|
||||
.ra-read-more {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.ra-read-more {
|
||||
margin: 0 0 0 10em;
|
||||
padding: 1em;
|
||||
|
||||
.ext-cards-card-list {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
|
@ -1,16 +1,6 @@
|
|||
@import "mediawiki.ui/variables";
|
||||
|
||||
// Hide RelatedArticles when VE is activated (https://phabricator.wikimedia.org/T120443)
|
||||
.ve-activated {
|
||||
.ra-read-more {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.ra-read-more {
|
||||
margin-top: 35px;
|
||||
margin-bottom: 70px;
|
||||
|
||||
h2 {
|
||||
border-bottom: none;
|
||||
font-size: .8em;
|
||||
|
@ -20,19 +10,4 @@
|
|||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.page-list {
|
||||
border-top: 1px solid @colorGray14;
|
||||
}
|
||||
}
|
||||
|
||||
body.skin-vector {
|
||||
.ra-read-more {
|
||||
margin: 0 0 0 10em;
|
||||
padding: 1em;
|
||||
|
||||
.ext-cards-card-list {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
@import "mediawiki.ui/variables";
|
||||
|
||||
.ra-read-more {
|
||||
margin-top: 35px;
|
||||
margin-bottom: 70px;
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
// inherits from vector styles
|
||||
|
||||
.ra-read-more {
|
||||
margin: 0 0 0 12.2em;
|
||||
padding: 1em 0;
|
||||
}
|
Loading…
Reference in a new issue