From 592fd4773b4f5f4bc2f853f226b61bbe9aa7fba9 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Tue, 22 Sep 2020 19:39:19 +0200 Subject: [PATCH] Updated file / fontnames. --- components/main.scss | 20 ++++++++++---------- public/main.css | 24 ++++++++++++------------ 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/components/main.scss b/components/main.scss index f3d7120..007078b 100644 --- a/components/main.scss +++ b/components/main.scss @@ -2,46 +2,46 @@ // Include primary fonts in regular, italic and bold each. @font-face { - font-family: 'Crimson Text'; + font-family: 'Crimson Pro'; font-style: normal; font-weight: 400; font-display: swap; - src: local('Crimson Text Regular'), local('CrimsonText-Regular'), url(fonts/Crimson/CrimsonText-Regular.ttf) format('truetype'); + src: local('Crimson Pro Regular'), local('CrimsonPro-Regular'), url(fonts/Crimson/CrimsonPro-Regular.ttf) format('truetype'); } @font-face { - font-family: 'Crimson Text'; + font-family: 'Crimson Pro'; font-style: italic; font-weight: 400; font-display: swap; - src: local('Crimson Text Italic'), local('CrimsonText-Italic'), url(fonts/Crimson/CrimsonText-Italic.ttf) format('truetype'); + src: local('Crimson Pro Italic'), local('CrimsonPro-Italic'), url(fonts/Crimson/CrimsonPro-Italic.ttf) format('truetype'); } @font-face { - font-family: 'Crimson Text'; + font-family: 'Crimson Pro'; font-style: normal; font-weight: 700; font-display: swap; - src: local('Crimson Text Bold'), local('CrimsonText-Bold'), url(fonts/Crimson/CrimsonText-Bold.ttf) format('truetype'); + src: local('Crimson Pro Bold'), local('CrimsonPro-Bold'), url(fonts/Crimson/CrimsonPro-Bold.ttf) format('truetype'); } @font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; - src: local('Montserrat Regular'), local('Montserrat-Regular'), url(fonts/Montserrat/Montserrat-Regular.ttf) format('truetype'); + src: local('Montserrat Regular'), local('Montserrat-Regular'), url(fonts/Montserrat/Montserrat-Regular.woff2) format('woff2'); } @font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 400; font-display: swap; - src: local('Montserrat Italic'), local('Montserrat-Italic'), url(fonts/Montserrat/Montserrat-Italic.ttf) format('truetype'); + src: local('Montserrat Italic'), local('Montserrat-Italic'), url(fonts/Montserrat/Montserrat-Italic.woff2) format('woff2'); } @font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; - src: local('Montserrat Bold'), local('Montserrat-Bold'), url(fonts/Montserrat/Montserrat-Bold.ttf) format('truetype'); + src: local('Montserrat Bold'), local('Montserrat-Bold'), url(fonts/Montserrat/Montserrat-Bold.woff2) format('woff2'); } // Define global color variables. @@ -55,7 +55,7 @@ $-almost-white: #f9f9f9; $-primary-sans-serif-font: 'Montserrat', Helvetica, sans-serif; -$-primary-serif-font: 'Crimson Text', +$-primary-serif-font: 'Crimson Pro', Times, serif; diff --git a/public/main.css b/public/main.css index 154a36f..1cd7d75 100644 --- a/public/main.css +++ b/public/main.css @@ -424,46 +424,46 @@ object-position: center; } @font-face { - font-family: 'Crimson Text'; + font-family: 'Crimson Pro'; font-style: normal; font-weight: 400; font-display: swap; - src: local("Crimson Text Regular"), local("CrimsonText-Regular"), url(fonts/Crimson/CrimsonText-Regular.ttf) format("truetype"); } + src: local("Crimson Pro Regular"), local("CrimsonPro-Regular"), url(fonts/Crimson/CrimsonPro-Regular.ttf) format("truetype"); } @font-face { - font-family: 'Crimson Text'; + font-family: 'Crimson Pro'; font-style: italic; font-weight: 400; font-display: swap; - src: local("Crimson Text Italic"), local("CrimsonText-Italic"), url(fonts/Crimson/CrimsonText-Italic.ttf) format("truetype"); } + src: local("Crimson Pro Italic"), local("CrimsonPro-Italic"), url(fonts/Crimson/CrimsonPro-Italic.ttf) format("truetype"); } @font-face { - font-family: 'Crimson Text'; + font-family: 'Crimson Pro'; font-style: normal; font-weight: 700; font-display: swap; - src: local("Crimson Text Bold"), local("CrimsonText-Bold"), url(fonts/Crimson/CrimsonText-Bold.ttf) format("truetype"); } + src: local("Crimson Pro Bold"), local("CrimsonPro-Bold"), url(fonts/Crimson/CrimsonPro-Bold.ttf) format("truetype"); } @font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; - src: local("Montserrat Regular"), local("Montserrat-Regular"), url(fonts/Montserrat/Montserrat-Regular.ttf) format("truetype"); } + src: local("Montserrat Regular"), local("Montserrat-Regular"), url(fonts/Montserrat/Montserrat-Regular.woff2) format("woff2"); } @font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 400; font-display: swap; - src: local("Montserrat Italic"), local("Montserrat-Italic"), url(fonts/Montserrat/Montserrat-Italic.ttf) format("truetype"); } + src: local("Montserrat Italic"), local("Montserrat-Italic"), url(fonts/Montserrat/Montserrat-Italic.woff2) format("woff2"); } @font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; - src: local("Montserrat Bold"), local("Montserrat-Bold"), url(fonts/Montserrat/Montserrat-Bold.ttf) format("truetype"); } + src: local("Montserrat Bold"), local("Montserrat-Bold"), url(fonts/Montserrat/Montserrat-Bold.woff2) format("woff2"); } html { height: 100%; @@ -583,7 +583,7 @@ body { .LP-Paragraph { color: black; - font-family: "Crimson Text", Times, serif; + font-family: "Crimson Pro", Times, serif; font-size: 1.4rem; padding: 0; margin: 0; @@ -856,7 +856,7 @@ body { padding: 15px; } } .LP-TextSection__Text { - font-family: "Crimson Text", Times, serif; + font-family: "Crimson Pro", Times, serif; font-size: 1.4rem; } .LP-TextSection__Text .LP-Link { margin: 0 3px; } @@ -1642,7 +1642,7 @@ body { margin-bottom: 25px; } } .LP-TextSection .LP-UnorderedList { - font-family: "Crimson Text", Times, serif; + font-family: "Crimson Pro", Times, serif; font-size: 1.4rem; } .LP-TextSection .LP-UnorderedList li { margin-bottom: 0.75em;