mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
a2fd0b3c1f
* Enable discussion button on main page in mobile view so users can view discussion topics related to the main page on mobile. * Update test to make sure only 'talk' and 'switch-language' actions are enabled on the main page and 'edit' and 'watch' are disabled on the main page. * Minor typo fix for doc type. Use "array" instead of "Array" and CSS alignment fix issue with Discussion button when displayed together with Language selector button. * [Suggested by: @Jdlrobson] Use a generic "a" CSS selector to style the ".talk" and ".language-selector" classes on the main page. This also avoids fixing the CSS for future buttons if added (future proofing the code), so if any other button is added in the future, the same css rule will be applied to it at once. Very wise idea from @Jdlrobson, thanks! Bug: T206406 Change-Id: Iedce84595adc357f3a707f8b94d23b2ffea3476c
26 lines
324 B
Plaintext
26 lines
324 B
Plaintext
@import '../../minerva.less/minerva.variables';
|
|
@import '../../minerva.less/minerva.mixins';
|
|
|
|
.page-Main_Page {
|
|
#section_0 {
|
|
border: 0;
|
|
}
|
|
|
|
#page-actions,
|
|
.pre-content {
|
|
display: none;
|
|
}
|
|
|
|
&.is-authenticated {
|
|
.pre-content {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
#page-secondary-actions {
|
|
a {
|
|
margin-top: 1em;
|
|
}
|
|
}
|
|
}
|