Reduce CLS by adjusting font loading and typographic metrics
Deploy to Development and Production / deploy (push) Successful in 5s

This commit is contained in:
Mark Poljanšek committed 2025-11-03 15:58:33 +01:00
1 parent 6b5ebb37b9
commit dda4633ee1
13 files changed
+26 -24

No files matched your search

+2 -1
View File
@@ -17,9 +17,10 @@ body {
color: var(--color-text);
background-color: var(--color-background);
line-height: 1.7;
font-size-adjust: 0.5;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Ta blok je bil odstranjen, ker je preprečeval drsenje.
Nova, boljša logika je v datoteki pages/_homepage.css */
Nova, boljša logika je v datoteki pages/_homepage.css */
+2 -1
View File
@@ -6,6 +6,7 @@ h1, h2, h3 {
line-height: 1.2;
margin-bottom: var(--spacing-m);
color: var(--color-primary-accent); /* SPREMEMBA: Vsi naslovi so sedaj v primarni barvi */
font-size-adjust: 0.45;
}
p {
@@ -26,4 +27,4 @@ a:hover {
.text-accent-uppercase {
color: var(--color-primary-accent);
text-transform: uppercase;
}
}