Fix font family for WebKit.org
authorjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Mar 2019 21:30:41 +0000 (21:30 +0000)
committerjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Mar 2019 21:30:41 +0000 (21:30 +0000)
https://bugs.webkit.org/show_bug.cgi?id=196311

Reviewed by Myles C. Maxfield.

* wp-content/themes/webkit/header.php: Added SF Mono loading
* wp-content/themes/webkit/style.css:
(html): Use Text font by default
(h1,): Use Display font for large headings
(.nextrouter-copy): Use Display font for routers

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243623 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/webkit.org/ChangeLog
Websites/webkit.org/wp-content/themes/webkit/header.php
Websites/webkit.org/wp-content/themes/webkit/style.css

index cc0d583..bae7454 100644 (file)
@@ -1,3 +1,16 @@
+2019-03-28  Jon Davis  <jond@apple.com>
+
+        Fix font family for WebKit.org
+        https://bugs.webkit.org/show_bug.cgi?id=196311
+
+        Reviewed by Myles C. Maxfield.
+
+        * wp-content/themes/webkit/header.php: Added SF Mono loading
+        * wp-content/themes/webkit/style.css:
+        (html): Use Text font by default
+        (h1,): Use Display font for large headings
+        (.nextrouter-copy): Use Display font for routers
+
 2019-02-21  Ryosuke Niwa  <rniwa@webkit.org>
 
         Codify the naming convention for fooIfExists
index 094a51e..643aaa7 100644 (file)
@@ -13,6 +13,7 @@
 
     <link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri(); ?>?20181220" media="all">
     <link rel="stylesheet" href="https://www.apple.com/wss/fonts?families=SF+Pro,v1" type="text/css">
+    <link rel="stylesheet" href="https://www.apple.com/wss/fonts?families=SF+Mono,v2" type="text/css">
     <meta name="supported-color-schemes" content="light dark">
 
     <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>">
index 704f3d4..dc44868 100644 (file)
@@ -262,7 +262,7 @@ footer, header, hgroup, menu, nav, section {
     display: block;
 }
 html {
-    font-family: "SF Hello", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
+    font-family: -apple-system, "SF Pro Text", Helvetica, sans-serif;
     font-size: 62.5%;
     font-synthesis: none;
 }
@@ -397,6 +397,7 @@ h4,
 h5,
 h6 {
     text-rendering: optimizeLegibility;
+    font-family: -apple-system, "SF Pro Display", Helvetica, sans-serif;
 }
 
 h1 a[name],
@@ -693,6 +694,7 @@ a.download {
     font-weight: 500;
     line-height: 1.09375;
     letter-spacing: 0.011rem;
+    font-family: -apple-system, "SF Pro Display", Helvetica, sans-serif;
 }
 
 .nextrouter .label {