From 05d52f831c278722e28837a1be9080d0079c30e1 Mon Sep 17 00:00:00 2001 From: Natasha Pierre-Louis Date: Mon, 24 Jun 2024 23:23:57 -0600 Subject: [PATCH] Moved the html rule to the end of the stylesheet --- _data/assetPaths.json | 4 ++-- _includes/theme/styles/_templates.scss | 15 +++++++++------ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/_data/assetPaths.json b/_data/assetPaths.json index eda016fc..af819394 100644 --- a/_data/assetPaths.json +++ b/_data/assetPaths.json @@ -85,6 +85,6 @@ "warning.svg": "/assets/assets/warning-5OR6W6GJ.svg", "app.js": "/assets/js/app-EDZES2YK.js", "app.map": "/assets/js/app-EDZES2YK.js.map", - "index.css": "/assets/styles/index-5YHVULMU.css", - "index.map": "/assets/styles/index-5YHVULMU.css.map" + "index.css": "/assets/styles/index-GFSPTD5P.css", + "index.map": "/assets/styles/index-GFSPTD5P.css.map" } \ No newline at end of file diff --git a/_includes/theme/styles/_templates.scss b/_includes/theme/styles/_templates.scss index 21cf6be0..b5739503 100644 --- a/_includes/theme/styles/_templates.scss +++ b/_includes/theme/styles/_templates.scss @@ -2,12 +2,6 @@ $homepage-deep-blue: #160449; -html { - scroll-behavior: smooth; - visibility: visible; - opacity: 1; -} - body { color: color("violet-90"); font-size: size('body', 8); @@ -1431,3 +1425,12 @@ input[type="search"]::-webkit-search-cancel-button { background-image: url(../images/menu-close-X.webp); cursor: pointer; } + + +/* This rule contains a fix for the flash of unstyled fonts. It must remain at the end of this stylesheet */ + +html { + scroll-behavior: smooth; + visibility: visible; + opacity: 1; +} \ No newline at end of file