66 --ctp-base : var (--ctp-latte-base );
77 --ctp-blue : var (--ctp-latte-blue );
88 --ctp-lavender : var (--ctp-latte-lavender );
9- --ctp-base-translucent : 239 , 241 , 245 ;
109 --ctp-antitext : var (--ctp-frappe-text );
1110 --ctp-antibase : var (--ctp-frappe-base );
1211 --ctp-antiblue : var (--ctp-frappe-blue );
1312 --ctp-antilavender : var (--ctp-frappe-lavender );
13+ font-family : Inter, sans-serif;
14+ font-feature-settings : 'liga' 1 , 'calt' 1 , 'ss04' 1 ;
1415}
1516
1617/* Root Variables */
1718: root {
1819 font-family : Inter, sans-serif;
19- font-feature-settings : 'liga' 1 , 'calt' 1 ;
20+ font-feature-settings : 'liga' 1 , 'calt' 1 , 'ss04' 1 ;
2021 word-wrap : break-word;
2122 overflow-wrap : break-word;
22- font-size : 16 px ;
23+ font-size : 18 px ;
2324}
2425
2526@supports (font-variation-settings : normal) {
2627 : root {
2728 font-family : InterVariable, sans-serif;
29+ font-feature-settings : 'liga' 1 , 'calt' 1 , 'ss04' 1 ;
2830 }
2931}
3032
6264}
6365
6466/* Headings */
65-
6667h1 , h2 , h3 , h4 , h5 , h6 {
6768 margin : 2rem 0 1rem ;
6869 font-weight : 800 ;
8889 position : sticky;
8990 top : 0 ;
9091 padding : 0 ;
91- background-color : rgba (var (--ctp-base-translucent ) , 0.8 );
92+ background-color : rgba (var (--ctp-base ) / 75 % );
9293 backdrop-filter : blur (12px );
9394 z-index : 9999 ;
9495}
@@ -127,11 +128,11 @@ h1 {
127128
128129.view-switcher a : hover ,
129130.view-switcher a : focus {
130- background-color : rgba ( 0 , 0 , 0 , 0.025 );
131+ background-color : rgb ( 0 0 0 / 2.5 % );
131132}
132133
133134.view-switcher .current {
134- background-color : rgba ( 0 , 0 , 0 , 0.05 );
135+ background-color : rgb ( 0 0 0 / 5 % );
135136}
136137
137138.view-switcher a svg {
@@ -210,34 +211,31 @@ a[href^="http"]:not(:has(.arrow)):not(:has(img)):not(:has(svg))::after {
210211 display : inline-block;
211212 width : 0.75em ;
212213 height : 0.75em ;
213- mask-image : url ("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxMSIgZmlsbD0ibm9uZSI+PHBhdGggc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjgiIGQ9Ik04IDd2LjVhMiAyIDAgMCAxLTIgMkgzYTIgMiAwIDAgMS0yLTJ2LTNhMiAyIDAgMCAxIDItMmguNW0xIDMuNSA1LTVtMCAwSDZtMy41IDB2My41Ii8+PC9zdmc+" );
214+ mask-image: url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxMSIgZmlsbD0ibm9uZSI+PHBhdGggc3Ryb2tlPSJjdXJyZW50Q29sb3Ii[...]
214215 mask-repeat: no-repeat;
215216 mask-size: contain;
216217 background-color: currentColor;
217218}
218219
219-
220220/* Dark Mode - Automatically Applied if User Prefers Dark Mode */
221221@media (prefers-color-scheme: dark) {
222222 :root {
223223 --ctp-text: var(--ctp-frappe-text);
224224 --ctp-base: var(--ctp-frappe-base);
225225 --ctp-blue: var(--ctp-frappe-blue);
226226 --ctp-lavender: var(--ctp-frappe-lavender);
227- --ctp-base-translucent : 48 , 52 , 70 ;
228227 --ctp-antitext: var(--ctp-latte-text);
229228 --ctp-antibase: var(--ctp-latte-base);
230229 --ctp-antiblue: var(--ctp-latte-blue);
231- --ctp-antilavender : var (--ctp-latte-lavender )
230+ --ctp-antilavender: var(--ctp-latte-lavender);
232231 }
233232
234233 .view-switcher a:hover,
235234 .view-switcher a:focus {
236- background-color : rgba (255 , 255 , 255 , 0.025 );
235+ background-color: rgb (255 255 255 / 2.5% );
237236 }
238-
237+
239238 .view-switcher .current {
240- background-color : rgba (255 , 255 , 255 , 0.05 );
239+ background-color: rgb (255 255 255 / 5% );
241240 }
242-
243- }
241+ }
0 commit comments