Kaldari has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/120978

Change subject: Typography update to Vector skin
......................................................................

Typography update to Vector skin

See https://www.mediawiki.org/wiki/Typography_refresh

Change-Id: Ic5ba836364d04b2c3814777b69b5f47fce25292a
---
M skins/vector/components/common.less
M skins/vector/variables.less
2 files changed, 73 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/78/120978/1

diff --git a/skins/vector/components/common.less 
b/skins/vector/components/common.less
index 8e7fc4d..0e72d20 100644
--- a/skins/vector/components/common.less
+++ b/skins/vector/components/common.less
@@ -40,6 +40,73 @@
        background-color: @body-background-color;
        color: @content-font-color;
        direction: ltr;
+
+       .mw-editsection {
+               font-family: @content-font-family;
+       }
+
+       p {
+               line-height: inherit;
+               margin: 0.5em 0;
+       }
+
+       h1,
+       #firstHeading {
+               font-family: @content-heading-font-family;
+               font-size: 1.8em;
+               line-height: @heading-line-height;
+               margin-bottom: 0.25em;
+               padding: 0;
+       }
+
+       h2 {
+               font-family: @content-heading-font-family;
+               font-size: 1.5em;
+               line-height: @heading-line-height;
+               margin-top: 1em;
+               margin-bottom: 0.25em;
+               padding: 0;
+       }
+
+       h3,
+       h4,
+       h5,
+       h6 {
+               line-height: @content-line-height;
+               margin-top: 0.3em;
+               margin-bottom: 0;
+               padding-bottom: 0;
+       }
+
+       h3 {
+               font-size: 1.17em;
+       }
+
+       h3,
+       h4 {
+               font-weight: bold;
+       }
+
+       h4,
+       h5,
+       h6 {
+               font-size: 100%; /* (reset) */
+       }
+
+       #toc h2, .toc h2 {
+               font-size: 100%; /* (reset) */
+               font-family: @content-font-family;
+       }
+
+       // Give extra long preformatted content horizontal scroll bars
+       pre {
+               overflow-x: auto;
+       }
+
+       // Prevent citations from interfering with the line-height
+       sup {
+               line-height: 0;
+       }
 }
 
 /* Hide empty portlets */
diff --git a/skins/vector/variables.less b/skins/vector/variables.less
index 2af6389..e4eb2fa 100644
--- a/skins/vector/variables.less
+++ b/skins/vector/variables.less
@@ -5,14 +5,15 @@
 // Page content
 // FIXME: Use global variable since Echo and CentralNotice use this variable
 @content-border-color: #a7d7f9;
-@content-font-family: sans-serif;
-@content-font-color: black;
-@content-font-size: 0.8em;
-@content-line-height: 1.5em;
+@content-font-family: Arimo, "Liberation Sans", "Helvetica Neue", Helvetica, 
Arial, sans-serif;
+@content-font-color: #252525;
+@content-font-size: 0.875em;
+@content-line-height: 1.6;
 @content-padding: 1em;
 @content-heading-font-size: 1.6em;
-@content-heading-font-family: sans-serif;
+@content-heading-font-family: "Linux Libertine", Georgia, Times, serif;
 @body-background-color: #fff;
+@heading-line-height: 1.3;
 
 // Navigation
 @menu-background-color: #f6f6f6;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5ba836364d04b2c3814777b69b5f47fce25292a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Kaldari <rkald...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to