@@ -133,20 +133,38 @@ settings:
133133*/
134134
135135/* Definir fuentes EB Garamond locales */
136+ /* Definir fuentes EB Garamond locales */
137+ /* EB Garamond Regular + Variable Weights */
136138@font-face {
137139 font-family : 'EB Garamond' ;
138- src : url ('fonts/EBGaramond-VariableFont_wght.ttf' ) format ('truetype' );
139- font-weight : 400 700 ;
140140 font-style : normal;
141+ font-weight : 400 700 ;
141142 font-display : swap;
142- }
143-
143+ src :
144+ /* WOFF2 optimizado */
145+ url ('https://cdn.jsdelivr.net/gh/xscriptordev/obsidian@1.0.0/fonts/EBGaramond-VariableFont_wght.woff2' ) format ('woff2' ),
146+ url ('https://raw.githubusercontent.com/xscriptordev/obsidian/1.0.0/fonts/EBGaramond-VariableFont_wght.woff2' ) format ('woff2' ),
147+ /* fallback TTF */
148+ url ('https://cdn.jsdelivr.net/gh/xscriptordev/obsidian@1.0.0/fonts/EBGaramond-VariableFont_wght.ttf' ) format ('truetype' ),
149+ url ('https://raw.githubusercontent.com/xscriptordev/obsidian/1.0.0/fonts/EBGaramond-VariableFont_wght.ttf' ) format ('truetype' ),
150+ /* relativo (instalación manual) */
151+ url ('fonts/EBGaramond-VariableFont_wght.woff2' ) format ('woff2' ),
152+ url ('fonts/EBGaramond-VariableFont_wght.ttf' ) format ('truetype' );
153+ }
154+
155+ /* EB Garamond Italic */
144156@font-face {
145157 font-family : 'EB Garamond' ;
146- src : url ('fonts/EBGaramond-Italic-VariableFont_wght.ttf' ) format ('truetype' );
147- font-weight : 400 700 ;
148158 font-style : italic;
159+ font-weight : 400 700 ;
149160 font-display : swap;
161+ src :
162+ url ('https://cdn.jsdelivr.net/gh/xscriptordev/obsidian@1.0.0/fonts/EBGaramond-Italic-VariableFont_wght.woff2' ) format ('woff2' ),
163+ url ('https://raw.githubusercontent.com/xscriptordev/obsidian/1.0.0/fonts/EBGaramond-Italic-VariableFont_wght.woff2' ) format ('woff2' ),
164+ url ('https://cdn.jsdelivr.net/gh/xscriptordev/obsidian@1.0.0/fonts/EBGaramond-Italic-VariableFont_wght.ttf' ) format ('truetype' ),
165+ url ('https://raw.githubusercontent.com/xscriptordev/obsidian/1.0.0/fonts/EBGaramond-Italic-VariableFont_wght.ttf' ) format ('truetype' ),
166+ url ('fonts/EBGaramond-Italic-VariableFont_wght.woff2' ) format ('woff2' ),
167+ url ('fonts/EBGaramond-Italic-VariableFont_wght.ttf' ) format ('truetype' );
150168}
151169
152170/* Variables CSS para el tema */
0 commit comments