chore: update dependencies and add force-gpu utility

This commit is contained in:
radishzzz 2025-02-11 23:07:03 +00:00
parent 2a731b067a
commit 614b41ed87
4 changed files with 174 additions and 172 deletions

View file

@ -41,10 +41,8 @@ h6 {
}
article img {
--at-apply: 'cursor-zoom-in';
/* Optimize animation performance of Scrollbar */
transform: translateZ(0);
-webkit-transform: translateZ(0);
/* Optimize animation performance of scrollbar */
--at-apply: 'cursor-zoom-in force-gpu';
}
/* Horizontal reveal animation on theme toggle */
@ -83,7 +81,7 @@ html[data-theme-transition] [data-disable-transition-on-theme] {
}
}
/* Snell Roundhand static Font */
/* Snell Roundhand static font */
@font-face {
font-family: "Snell-Bold";
src: url("/font/Snell-Bold.woff2") format("woff2");
@ -98,7 +96,7 @@ html[data-theme-transition] [data-disable-transition-on-theme] {
unicode-range: U+0030-0039,U+0041-005A,U+0061-007A,U+00C1,U+00C9,U+00CD,U+00D3,U+00DA,U+00DC,U+00D1,U+00E1,U+00E9,U+00ED,U+00F3,U+00FA,U+00FC,U+00F1,U+0410-044F,U+0401,U+0451,U+0021-002F,U+003A-0040,U+00A9;
}
/* STIX Two Text Variable Font */
/* STIXTwoText variable font */
@font-face {
font-family: "STIX";
src: url("/font/STIX.woff2") format("woff2-variations");
@ -115,7 +113,7 @@ html[data-theme-transition] [data-disable-transition-on-theme] {
unicode-range: U+0030-0039,U+0041-005A,U+0061-007A,U+00C1,U+00C9,U+00CD,U+00D3,U+00DA,U+00DC,U+00D1,U+00E1,U+00E9,U+00ED,U+00F3,U+00FA,U+00FC,U+00F1,U+0410-044F,U+0401,U+0451,U+0021-002F,U+003A-0040,U+00A9;
}
/* Minimal Subset of EarlySummerSerif Variable Font for UI */
/* Minimal subset of EarlySummerSerif variable font for ui */
@font-face {
font-family: "EarlySummer-subset";
src: url("/font/EarlySummer-subset.woff2") format("woff2-variations");