feat: sostituisce Justov con Playfair Display (Google Fonts)

This commit is contained in:
2026-05-21 16:28:22 +02:00
parent 558783abf8
commit 1e34e10f67
2 changed files with 4 additions and 13 deletions

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&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&family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&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,18 +1,9 @@
/* ============================================================ /* ============================================================
SMART ROOTS — global.css SMART ROOTS — global.css
Font: Justov (display) + IBM Plex Sans + IBM Plex Mono Font: Playfair Display (display/serif) + 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&display=swap'); @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500&family=IBM+Plex+Mono:wght@300;400&family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&display=swap');
@font-face {
font-family: 'Justov';
src: url('/assets/Justov.woff2') format('woff2'),
url('/assets/Justov.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@@ -31,7 +22,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: 'Justov', sans-serif; --serif: 'Playfair Display', Georgia, serif;
--max: 1180px; --max: 1180px;
--r: 6px; --r: 6px;
} }