Test font changes

This commit is contained in:
Firq 2025-04-16 19:25:49 +02:00
parent f7c7408fdd
commit f11a53cd11
Signed by: Firq
GPG key ID: DCE182BA39C697B2
4 changed files with 14 additions and 4 deletions

4
package-lock.json generated
View file

@ -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",

View file

@ -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",

View file

@ -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 {

View file

@ -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;