From 77a85e161111f30c0dbfb85917b7a69bce5422a7 Mon Sep 17 00:00:00 2001 From: nin0 Date: Mon, 21 Apr 2025 08:39:13 -0400 Subject: [PATCH] crusty titlebar --- src/components/Window.astro | 3 ++- src/css/global.css | 16 +++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/components/Window.astro b/src/components/Window.astro index b42af8c..55d99fe 100644 --- a/src/components/Window.astro +++ b/src/components/Window.astro @@ -21,6 +21,7 @@ import XmarkIcon from "@assets/svg/xmark.svg"; clip-path: var(--clip-window-inner); } .title-bar { + background-color: var(--crust); user-select: none; display: flex; justify-content: space-between; @@ -51,7 +52,7 @@ import XmarkIcon from "@assets/svg/xmark.svg"; .window-body { gap: 1rem; display: flex; - padding: 0 1rem 1rem 1rem; + padding: 1rem; flex-direction: column; } @media (pointer: coarse) { diff --git a/src/css/global.css b/src/css/global.css index a188ab6..0e7aa9d 100644 --- a/src/css/global.css +++ b/src/css/global.css @@ -21,9 +21,19 @@ body { a { color: #89b4fa; } -h1,h2,h3,h4,h5,h6,p,ul { +h1, +h2, +h3, +h4, +h5, +h6, +p, +ul { margin: 0; } -h4,h5,h6,sub { - color: var(--overlay0) +h4, +h5, +h6, +sub { + color: var(--overlay0); }