summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pages/404.astro8
-rw-r--r--src/pages/index.astro9
-rw-r--r--src/styles/global.css11
3 files changed, 15 insertions, 13 deletions
diff --git a/src/pages/404.astro b/src/pages/404.astro
index d08dd78..671fe4f 100644
--- a/src/pages/404.astro
+++ b/src/pages/404.astro
@@ -19,14 +19,10 @@ const description = "Page not found";
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
</head>
- <body
- class="h-screen flex items-center justify-center bg-white"
- style="font-family: 'Inter', system-ui, -apple-system, sans-serif; line-height: 1.7;"
- >
+ <body class="h-screen flex items-center justify-center bg-white">
<main class="text-center px-6">
<h1
- class="text-8xl font-light tracking-tight mb-8 text-gray-300"
- style="font-family: 'JetBrains Mono', monospace;"
+ class="text-8xl font-light tracking-tight mb-8 text-gray-300 font-mono"
>
404
</h1>
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 21f7cd9..71a5fe9 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -54,14 +54,11 @@ const description =
defer></script>
</head>
- <body
- class="max-w-5xl mx-auto px-6 py-8"
- style="font-family: 'Inter', system-ui, -apple-system, sans-serif; line-height: 1.7;"
- >
+ <body class="max-w-5xl mx-auto px-6 py-8">
<header class="text-center mb-16">
<h1
- class="text-6xl lg:text-7xl font-light tracking-tight mb-6"
- style="font-family: 'JetBrains Mono', monospace; letter-spacing: -0.02em;"
+ class="text-6xl lg:text-7xl font-light tracking-tight mb-6 font-mono"
+ style="letter-spacing: -0.02em;"
>
Doma<span class="text-gray-400">.</span>in Na<span
class="text-gray-400">.</span
diff --git a/src/styles/global.css b/src/styles/global.css
index ab19ef9..a8c5052 100644
--- a/src/styles/global.css
+++ b/src/styles/global.css
@@ -1,2 +1,11 @@
@import "tailwindcss";
-@plugin "@tailwindcss/typography"; \ No newline at end of file
+@plugin "@tailwindcss/typography";
+
+body {
+ font-family: 'Inter', system-ui, -apple-system, sans-serif;
+ line-height: 1.7;
+}
+
+.font-mono {
+ font-family: 'JetBrains Mono', monospace;
+} \ No newline at end of file