feat: sostituisce Cormorant Garamond con Justov (font display)
- Justov.ttf aggiunto in public/assets/ (estratto dall'HTML prototipo) - global.css: @font-face per Justov, --serif aggiornato, rimossa Google Fonts per Cormorant - Layout.astro: rimosso Cormorant Garamond dalla query Google Fonts - Tutti i var(--serif) (nav, h1, section-title, hero, footer) usano ora Justov Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
BIN
public/assets/Justov.ttf
Normal file
BIN
public/assets/Justov.ttf
Normal file
Binary file not shown.
@@ -52,7 +52,7 @@ const canonicalUrl = canonical ?? Astro.url.href;
|
||||
<!-- Fonts -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500&family=IBM+Plex+Mono:wght@300;400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap" rel="stylesheet" />
|
||||
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500&family=IBM+Plex+Mono:wght@300;400&display=swap" rel="stylesheet" />
|
||||
|
||||
<!-- Slot per head aggiuntivo per pagina -->
|
||||
<slot name="head" />
|
||||
|
||||
@@ -1,9 +1,17 @@
|
||||
/* ============================================================
|
||||
SMART ROOTS — global.css
|
||||
Font: Cormorant Garamond (display/serif) + IBM Plex Sans + IBM Plex Mono
|
||||
Font: Justov (display) + IBM Plex Sans + IBM Plex Mono
|
||||
============================================================ */
|
||||
|
||||
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500&family=IBM+Plex+Mono:wght@300;400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap');
|
||||
@font-face {
|
||||
font-family: 'Justov';
|
||||
src: url('/assets/Justov.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500&family=IBM+Plex+Mono:wght@300;400&display=swap');
|
||||
|
||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
|
||||
@@ -22,7 +30,7 @@
|
||||
--border2: rgba(100,140,200,0.18);
|
||||
--mono: 'IBM Plex Mono', monospace;
|
||||
--sans: 'IBM Plex Sans', sans-serif;
|
||||
--serif: 'Cormorant Garamond', Georgia, serif;
|
||||
--serif: 'Justov', sans-serif;
|
||||
--max: 1180px;
|
||||
--r: 6px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user