Skip to content

Commit

Permalink
Moved the html rule to the end of the stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
natashapl committed Jun 25, 2024
1 parent 2aba197 commit 05d52f8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions _data/assetPaths.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
15 changes: 9 additions & 6 deletions _includes/theme/styles/_templates.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
}

0 comments on commit 05d52f8

Please sign in to comment.