diff --git a/package-lock.json b/package-lock.json index 12136a4..6f3d64f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@firq/fgosite", - "version": "0.2.0-pre.103", + "version": "0.2.0-pre.104", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@firq/fgosite", - "version": "0.2.0-pre.103", + "version": "0.2.0-pre.104", "dependencies": { "@astro-community/astro-embed-youtube": "^0.5.6", "@astrojs/check": "^0.9.4", diff --git a/package.json b/package.json index ab7129b..5532afe 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@firq/fgosite", "type": "module", - "version": "0.2.0-pre.103", + "version": "0.2.0-pre.104", "private": true, "scripts": { "dev": "astro dev", diff --git a/src/components/titles/title.astro b/src/components/titles/title.astro index 5b14b86..e5b2c75 100644 --- a/src/components/titles/title.astro +++ b/src/components/titles/title.astro @@ -36,6 +36,7 @@ import LinkContainer from "../links/linkContainer.astro"; font-weight: 700; font-family: 'Work Sans Variable', system-ui, 'Segoe UI', sans-serif; font-size-adjust: 0.52; + min-height: 4.8rem; } .sub { @@ -44,6 +45,7 @@ import LinkContainer from "../links/linkContainer.astro"; font-family: 'Work Sans Variable', system-ui, 'Segoe UI', sans-serif; font-size-adjust: 0.52; width: 97.5%; + min-height: 1.5rem; } .fancy { diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 658c42f..a004491 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -113,7 +113,15 @@ const mapped_navdata = navdata.map((item) => ({ </body> </html> -<style is:global> +<style is:global define:vars={{ workSans }}> + @font-face { + font-family: 'Work Sans Variable'; + src: var(--workSans) format('woff2'); + font-display: swap; + font-weight: 100 900; + font-style: normal; + } + :root { /* Animations */ --a-time-default: 200ms;