From 2142414306c757249069ad32737960806df131dd Mon Sep 17 00:00:00 2001 From: Matt Dole Date: Sun, 8 Oct 2023 11:15:46 +0200 Subject: [PATCH] feat: update to sans-serif fonts (#756) Co-authored-by: Matt Dole --- _includes/head.html | 11 ++++++----- _sass/base/_typography.scss | 1 - _sass/custom/_fonts.scss | 9 +-------- _sass/partials/_blog.scss | 1 - artsy-x-react-native.html | 7 +++++-- css/epic.scss | 17 +++++++++-------- css/screen.scss | 6 +++--- 7 files changed, 24 insertions(+), 28 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index d2c995b08d..ae1241bf15 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -7,6 +7,12 @@ {% if page.title %}{{ page.title }} - {% endif %}{{ site.title }} + + {% capture description %}{% if page.description %}{{ page.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %} {% if page.keywords %}{% endif %} @@ -40,11 +46,6 @@ {% endif %} - - - {% include google_analytics.html %} - - diff --git a/_sass/base/_typography.scss b/_sass/base/_typography.scss index b7010279af..c71da869eb 100644 --- a/_sass/base/_typography.scss +++ b/_sass/base/_typography.scss @@ -29,7 +29,6 @@ body > header h2 { body { line-height: 1.5em; color: $text-color; - @extend .serif; } h1 { font-size: 2.2em; diff --git a/_sass/custom/_fonts.scss b/_sass/custom/_fonts.scss index 508edcb641..968f4633b5 100644 --- a/_sass/custom/_fonts.scss +++ b/_sass/custom/_fonts.scss @@ -2,11 +2,4 @@ // To give it a try, uncomment some of the lines below rebuild your blog, and see how it works. your sites's. // If you love to use Web Fonts, you also need to add some lines to source/_includes/custom/head.html -//$sans: "Optima", sans-serif; -// $serif: "AdobeGaramondProRegular",Georgia,Serif; -$serif: "Adobe Garamond W08", 'adobe-garamond-pro', 'AGaramondPro-Regular', 'Times New Roman', 'Times', 'serif'; -//$mono: "Courier", monospace; -//$heading-font-family: "Verdana", sans-serif; -//$header-title-font-family: "Futura", sans-serif; -//$header-subtitle-font-family: "Futura", sans-serif; -$block: "ITCAvantGardeGothicStdDemi"; +$sans: "ll-unica77", "Helvetica Neue", Helvetica, Arial, sans-serif, sans-serif; diff --git a/_sass/partials/_blog.scss b/_sass/partials/_blog.scss index 57fe7a8aec..003d1537a9 100644 --- a/_sass/partials/_blog.scss +++ b/_sass/partials/_blog.scss @@ -102,7 +102,6 @@ article + article { margin-right: .5em; text-decoration: none; color: mix($text-color, $text-color-light); - @extend .serif; @include transition(background-color .5s); &:hover { background: $link-color-hover; diff --git a/artsy-x-react-native.html b/artsy-x-react-native.html index 0ca3e63754..9adff9797b 100644 --- a/artsy-x-react-native.html +++ b/artsy-x-react-native.html @@ -3,8 +3,11 @@ Artsy x React Native - - +