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:
2026-05-21 16:11:23 +02:00
parent 9d262ed988
commit d9021e436a
3 changed files with 12 additions and 4 deletions

BIN
public/assets/Justov.ttf Normal file

Binary file not shown.

View File

@@ -52,7 +52,7 @@ const canonicalUrl = canonical ?? Astro.url.href;
<!-- Fonts --> <!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> <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 per head aggiuntivo per pagina -->
<slot name="head" /> <slot name="head" />

View File

@@ -1,9 +1,17 @@
/* ============================================================ /* ============================================================
SMART ROOTS — global.css 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; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@@ -22,7 +30,7 @@
--border2: rgba(100,140,200,0.18); --border2: rgba(100,140,200,0.18);
--mono: 'IBM Plex Mono', monospace; --mono: 'IBM Plex Mono', monospace;
--sans: 'IBM Plex Sans', sans-serif; --sans: 'IBM Plex Sans', sans-serif;
--serif: 'Cormorant Garamond', Georgia, serif; --serif: 'Justov', sans-serif;
--max: 1180px; --max: 1180px;
--r: 6px; --r: 6px;
} }