diff --git a/nginx.conf b/nginx.conf index 51fbf62..75627e0 100644 --- a/nginx.conf +++ b/nginx.conf @@ -2,7 +2,7 @@ server { root /usr/share/comfycamp; error_page 404 /404.html; - location ~ \.(png|ico|svg|ttf|webp)$ { + location ~ \.(png|ico|svg|webp)$ { add_header Cache-Control "public, max-age=86400"; } diff --git a/public/fonts/lora-italic.ttf b/public/fonts/lora-italic.ttf deleted file mode 100644 index 6ae9cf8..0000000 Binary files a/public/fonts/lora-italic.ttf and /dev/null differ diff --git a/public/fonts/lora.ttf b/public/fonts/lora.ttf deleted file mode 100644 index 72b97d5..0000000 Binary files a/public/fonts/lora.ttf and /dev/null differ diff --git a/src/components/Note.astro b/src/components/Note.astro index 7186002..104518d 100644 --- a/src/components/Note.astro +++ b/src/components/Note.astro @@ -28,9 +28,6 @@ const { date, title, href } = Astro.props gap: 6px; margin-bottom: 5px; } - .date { - min-width: 121px; - } .dash { display: block; } diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index fb2afa9..fb3c03d 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -40,21 +40,8 @@ const { title, description } = Astro.props --bg: #13151a; --accent: #b283e5; } - @font-face { - font-family: "Lora"; - src: url("/fonts/lora.ttf") format("truetype-variations"); - font-weight: 100 700; - font-display: swap; - } - @font-face { - font-family: "Lora"; - src: url("/fonts/lora-italic.ttf") format("truetype-variations"); - font-weight: 100 700; - font-style: italic; - font-display: swap; - } html { - font-family: "Lora", system-ui, sans-serif; + font-family: Georgia, serif; background-color: var(--bg); background-size: 224px; color: white;