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", "name": "@firq/fgosite",
"version": "0.2.0-pre.103", "version": "0.2.0-pre.104",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"version": "0.2.0-pre.103", "version": "0.2.0-pre.104",
"dependencies": { "dependencies": {
"@astro-community/astro-embed-youtube": "^0.5.6", "@astro-community/astro-embed-youtube": "^0.5.6",
"@astrojs/check": "^0.9.4", "@astrojs/check": "^0.9.4",

View file

@ -1,7 +1,7 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"type": "module", "type": "module",
"version": "0.2.0-pre.103", "version": "0.2.0-pre.104",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",

View file

@ -36,6 +36,7 @@ import LinkContainer from "../links/linkContainer.astro";
font-weight: 700; font-weight: 700;
font-family: 'Work Sans Variable', system-ui, 'Segoe UI', sans-serif; font-family: 'Work Sans Variable', system-ui, 'Segoe UI', sans-serif;
font-size-adjust: 0.52; font-size-adjust: 0.52;
min-height: 4.8rem;
} }
.sub { .sub {
@ -44,6 +45,7 @@ import LinkContainer from "../links/linkContainer.astro";
font-family: 'Work Sans Variable', system-ui, 'Segoe UI', sans-serif; font-family: 'Work Sans Variable', system-ui, 'Segoe UI', sans-serif;
font-size-adjust: 0.52; font-size-adjust: 0.52;
width: 97.5%; width: 97.5%;
min-height: 1.5rem;
} }
.fancy { .fancy {

View file

@ -113,7 +113,15 @@ const mapped_navdata = navdata.map((item) => ({
</body> </body>
</html> </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 { :root {
/* Animations */ /* Animations */
--a-time-default: 200ms; --a-time-default: 200ms;