jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/347890 )

Change subject: H3 through H6 should be sans-serif
......................................................................


H3 through H6 should be sans-serif

We discussed this during implementation of the print styles.
Sans-serif should be used for subheadings.
Serif font should be used for H2's and page title

This should apply in both print and screen mode.

Bug: T159857
Change-Id: I97c7f828f91ee0f22c986a64a26f5435afb06004
---
M resources/skins.minerva.content.styles/headings.less
1 file changed, 10 insertions(+), 2 deletions(-)

Approvals:
  Bmansurov: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/skins.minerva.content.styles/headings.less 
b/resources/skins.minerva.content.styles/headings.less
index 526825a..ea31639 100644
--- a/resources/skins.minerva.content.styles/headings.less
+++ b/resources/skins.minerva.content.styles/headings.less
@@ -46,11 +46,19 @@
 
 .pre-content h1,
 .content h1,
+.content h2 {
+       font-family: @fontFamilyHeading;
+}
+
+h3, h4, h5, h6 {
+       font-family: @fontFamily;
+}
+
+.pre-content h1,
+.content h1,
 .content h2,
 h3, h4, h5, h6 {
-       font-family: @fontFamilyHeading;
        line-height: @headingLineHeight;
-
        word-wrap: break-word;
 
        // This value isn't valid per the specification [0] but fixes the 
behaviour in

-- 
To view, visit https://gerrit.wikimedia.org/r/347890
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I97c7f828f91ee0f22c986a64a26f5435afb06004
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: printstyles
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Bmansurov <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to