From 555e920c184c2aaf1e7763ab58bcc38307cc0a77 Mon Sep 17 00:00:00 2001 From: ScuroNeko Date: Thu, 16 Apr 2026 14:06:39 +0300 Subject: [PATCH] fonts --- data/stack.json | 2 +- index.html | 6 +++++- styles/hero.css | 2 +- styles/links.css | 1 + styles/main.css | 4 +++- styles/projects.css | 3 +++ styles/stack.css | 1 + 7 files changed, 15 insertions(+), 4 deletions(-) diff --git a/data/stack.json b/data/stack.json index 55f6d9e..c5f1fa6 100644 --- a/data/stack.json +++ b/data/stack.json @@ -63,7 +63,7 @@ "hide": true, "key": "js", "name": "JavaScript", - "tone": "cyan", + "tone": "gold", "years": 7 } ] diff --git a/index.html b/index.html index 4e539ef..ee9c225 100644 --- a/index.html +++ b/index.html @@ -11,9 +11,13 @@ + diff --git a/styles/hero.css b/styles/hero.css index c0cbf72..ff43039 100644 --- a/styles/hero.css +++ b/styles/hero.css @@ -21,7 +21,7 @@ border: 1px solid var(--border); border-radius: 8px; color: var(--text-soft); - font-family: monospace; + font-family: var(--fonts-monospace); font-size: 0.82rem; } diff --git a/styles/links.css b/styles/links.css index f4a463a..4538e60 100644 --- a/styles/links.css +++ b/styles/links.css @@ -74,6 +74,7 @@ font-size: 0.92rem; text-overflow: ellipsis; white-space: nowrap; + font-family: var(--fonts-monospace); } .link-card__arrow { diff --git a/styles/main.css b/styles/main.css index 3f7ae2f..5b38160 100644 --- a/styles/main.css +++ b/styles/main.css @@ -22,6 +22,8 @@ --block-size: 980px; + --fonts-monospace: "Fantasque Sans Mono", "JetBrains Mono", monospace; + font-size: 16px; } @@ -42,7 +44,6 @@ body { body { --card-accent: var(--accent); --card-glow: var(--glow-mint); - padding: 48px 12px; font-family: "Barlow", sans-serif; background-color: var(--bg); color: var(--text); @@ -51,6 +52,7 @@ body { justify-content: flex-start; align-items: center; min-height: 100%; + padding: 48px 12px; } a { diff --git a/styles/projects.css b/styles/projects.css index 648e4e1..b2b3954 100644 --- a/styles/projects.css +++ b/styles/projects.css @@ -101,6 +101,7 @@ margin-left: auto; background-color: rgba(31, 31, 40, 0.52); color: var(--text-soft); + font-family: var(--fonts-monospace); } .project-card__title { @@ -129,6 +130,7 @@ background-color: rgba(31, 31, 40, 0.42); color: var(--card-accent); font-size: 0.9rem; + font-family: var(--fonts-monospace); } .project-card__links { @@ -137,6 +139,7 @@ gap: 12px; margin-top: auto; padding-top: 24px; + font-family: var(--fonts-monospace); } .project-card__links a { diff --git a/styles/stack.css b/styles/stack.css index 689deb0..3c54bf5 100644 --- a/styles/stack.css +++ b/styles/stack.css @@ -80,6 +80,7 @@ padding-top: 12px; color: var(--text-soft); font-size: 0.95rem; + font-family: var(--fonts-monospace); } .stack-card__footer span {