From 3d09ba37b721207e1d4e093f6d44a6410608883a Mon Sep 17 00:00:00 2001 From: "Benjamin A. Shelton" Date: Wed, 19 Aug 2026 17:54:28 -0600 Subject: [PATCH] Added label to select and updated light/dark styles. --- src/pages/notes/[...id].astro | 5 +++-- src/styles/global.css | 15 ++++++++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/pages/notes/[...id].astro b/src/pages/notes/[...id].astro index d0bad52..bbae1a6 100644 --- a/src/pages/notes/[...id].astro +++ b/src/pages/notes/[...id].astro @@ -70,8 +70,9 @@ const meta = `{ -
-
diff --git a/src/styles/global.css b/src/styles/global.css index 6ceee65..f781bee 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -148,8 +148,21 @@ dialog.scripture { p.poem-2 { @apply mt-0 pl-14; } + label[for=translation] { + @apply text-gray-500 text-sm bg-white; + @apply dark:bg-gray-600 dark:text-gray-400; + } + select.translation { + @apply text-sm mt-0 p-2 text-gray-600 bg-gray-100 border-gray-300 border-1 rounded-sm w-full; + @apply dark:text-gray-400 dark:bg-gray-700 dark:border-gray-800; + @apply overflow-hidden; + } + select.translation:focus, select.translation:focus-visible { + border: 1px solid rgb(79, 136, 206); + outline: 1px solid rgb(79, 136, 206); + } button[data-close] { - @apply absolute top-0 right-0 pr-2 pb-4 pt-2 text-sm text-gray-500 cursor-pointer hover:text-red-900; + @apply absolute top-0 right-0 pr-2 pb-2 pt-2 text-sm text-gray-500 cursor-pointer hover:text-red-900; @apply dark:text-gray-400 dark:hover:text-red-500; span { text-transform: uppercase;