From 09586263ceb51579d5e8b39b722652f2c94c271f Mon Sep 17 00:00:00 2001 From: David Miller Date: Mon, 29 Mar 2021 15:50:50 -0400 Subject: [PATCH] remove Droid Serif font It is no longer open source, but still hosted on Google Fonts library --- dist/css/styles.css | 8 ++++---- dist/index.html | 1 - src/pug/index.pug | 1 - src/scss/variables/_typography.scss | 8 +------- 4 files changed, 5 insertions(+), 13 deletions(-) diff --git a/dist/css/styles.css b/dist/css/styles.css index 4806959..d0c3382 100644 --- a/dist/css/styles.css +++ b/dist/css/styles.css @@ -10027,7 +10027,7 @@ p { font-size: 1rem; font-weight: 400; font-style: italic; - font-family: "Droid Serif", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; margin-bottom: 4rem; } @@ -10160,7 +10160,7 @@ header.masthead .masthead-subheading { font-style: italic; line-height: 1.5rem; margin-bottom: 25px; - font-family: "Droid Serif", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; } header.masthead .masthead-heading { font-size: 3.25rem; @@ -10229,7 +10229,7 @@ header.masthead .masthead-heading { } #portfolio .portfolio-item .portfolio-caption .portfolio-caption-subheading { font-style: italic; - font-family: "Droid Serif", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; } .portfolio-modal .modal-dialog { @@ -10248,7 +10248,7 @@ header.masthead .masthead-heading { .portfolio-modal .modal-content p.item-intro { font-style: italic; margin-bottom: 2rem; - font-family: "Droid Serif", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; } .portfolio-modal .modal-content p { margin-bottom: 2rem; diff --git a/dist/index.html b/dist/index.html index bf980a6..bb9502d 100644 --- a/dist/index.html +++ b/dist/index.html @@ -11,7 +11,6 @@ - diff --git a/src/pug/index.pug b/src/pug/index.pug index 1d74199..c1c5cff 100644 --- a/src/pug/index.pug +++ b/src/pug/index.pug @@ -17,7 +17,6 @@ html(lang='en') // Google fonts link(href='https://fonts.googleapis.com/css?family=Montserrat:400,700', rel='stylesheet', type='text/css') - link(href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic', rel='stylesheet', type='text/css') link(href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700', rel='stylesheet', type='text/css') // Core theme CSS (includes Bootstrap) diff --git a/src/scss/variables/_typography.scss b/src/scss/variables/_typography.scss index c311568..4878d9d 100644 --- a/src/scss/variables/_typography.scss +++ b/src/scss/variables/_typography.scss @@ -8,13 +8,7 @@ $headings-font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; -$subheadings-font-family: "Droid Serif", -apple-system, BlinkMacSystemFont, - "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", - "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; - -$font-family-script: "Kaushan Script", -apple-system, BlinkMacSystemFont, - "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", - "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; +$subheadings-font-family: $font-family-base; $headings-font-weight: 700; $headings-letter-spacing: 0.0625em;