Dark mode WIP.

This commit is contained in:
Benjamin A. Shelton 2026-06-21 18:28:22 -06:00
commit 53a10ca25e
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -48,6 +48,9 @@
li.devotional { li.devotional {
@apply bg-devotional text-gray-800 text-shadow-none; @apply bg-devotional text-gray-800 text-shadow-none;
} }
body {
@apply dark:bg-gray-900;
} }
header { header {
@ -82,12 +85,14 @@ footer {
#notes-list > ul > li { #notes-list > ul > li {
@apply flex flex-col rounded-xl bg-gray-100 p-2 hover:bg-gray-200; @apply flex flex-col rounded-xl bg-gray-100 p-2 hover:bg-gray-200;
@apply dark:text-gray-300 dark:bg-gray-800 hover:bg-gray-700;
} }
#notes-list ul > li h2 a { #notes-list ul > li h2 a {
border-bottom: 5px; border-bottom: 5px;
border-style: solid; border-style: solid;
@apply border-cyan-300 transition duration-500 ease-in-out hover:border-cyan-900 hover:text-cyan-900; @apply border-cyan-300 transition duration-500 ease-in-out hover:border-cyan-900 hover:text-cyan-900;
@apply dark:border-cyan-600 hover:border-cyan-500 hover:text-cyan-500;
} }
#notes-list ul > li > hgroup { #notes-list ul > li > hgroup {
@ -119,6 +124,7 @@ footer {
article#notes-page { article#notes-page {
@apply pt-4 text-xl; @apply pt-4 text-xl;
@apply dark:text-gray-200;
hgroup h1 { hgroup h1 {
@apply font-bold mt-8 mb-8 text-3xl lg:text-6xl; @apply font-bold mt-8 mb-8 text-3xl lg:text-6xl;
} }
@ -127,33 +133,41 @@ article#notes-page {
} }
.header { .header {
@apply bg-gray-100 rounded-md p-6 bg-linear-to-b from-gray-100 to-gray-200; @apply bg-gray-100 rounded-md p-6 bg-linear-to-b from-gray-100 to-gray-200;
@apply dark:bg-gray-800 dark:from-gray-700 dark:to-gray-800;
} }
#content { #content {
a { a {
border-bottom: 5px; border-bottom: 5px;
border-style: solid; border-style: solid;
@apply border-cyan-300 transition duration-500 ease-in-out hover:border-cyan-900 hover:text-cyan-600; @apply border-cyan-300 transition duration-500 ease-in-out hover:border-cyan-900 hover:text-cyan-600;
@apply dark:border-blue-500 dark:hover:border-blue-300 dark:hover:text-blue-300;
} }
a.scripture { a.scripture {
@apply border-green-400 hover:border-green-700 hover:text-green-800; @apply border-green-400 hover:border-green-700 hover:text-green-800;
@apply dark:border-emerald-600 dark:hover:border-emerald-400 dark:hover:text-emerald-400;
} }
a.scripture.cite { a.scripture.cite {
@apply font-bold bg-purple-50 border-purple-100 text-gray-800 hover:text-black; @apply font-bold bg-purple-50 border-purple-100 text-gray-800 hover:text-black;
@apply dark:bg-purple-950 dark:border-purple-900 dark:text-gray-300 dark:hover:text-gray-300;
} }
a.scripture.cite[href]:not([href=""]) { a.scripture.cite[href]:not([href=""]) {
@apply border-purple-400 hover:border-purple-900 hover:text-purple-900; @apply border-purple-400 hover:border-purple-900 hover:text-purple-900;
@apply dark:border-purple-950 dark:hover:border-purple-900 dark:hover:text-gray-300;
} }
a.scripture.quote { a.scripture.quote {
@apply font-bold text-rose-900; @apply font-bold text-rose-900;
} }
a.scripture.quote:not([href]) { a.scripture.quote:not([href]) {
@apply border-none text-rose-900 hover:text-rose-900; @apply border-none text-rose-900 hover:text-rose-900;
@apply dark:text-rose-400 dark:hover:text-rose-400;
} }
a.scripture.quote[href]:not([href=""]) { a.scripture.quote[href]:not([href=""]) {
@apply border-rose-900 hover:text-rose-800 hover:border-rose-800; @apply border-rose-900 hover:text-rose-800 hover:border-rose-800;
@apply dark:border-rose-400 dark:hover:text-rose-500 dark:hover:border-rose-500;
} }
a.scripture.quote, a.scripture.quote.cite { a.scripture.quote, a.scripture.quote.cite {
@apply border-rose-900 text-rose-900; @apply border-rose-900 text-rose-900;
@apply dark:border-rose-400 dark:text-rose-400;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
@apply font-bold mb-6 mt-6; @apply font-bold mb-6 mt-6;
@ -193,6 +207,7 @@ article#notes-page {
} }
section#meta { section#meta {
@apply text-gray-600 mb-2 text-lg; @apply text-gray-600 mb-2 text-lg;
@apply dark:text-gray-300;
time { time {
@apply inline; @apply inline;
} }
@ -223,19 +238,23 @@ nav#pagination {
} }
li a { li a {
@apply bg-gray-100 font-bold mb-2 p-4 rounded-md text-cyan-900 text-sm hover:bg-gray-200 hover:text-black inline; @apply bg-gray-100 font-bold mb-2 p-4 rounded-md text-cyan-900 text-sm hover:bg-gray-200 hover:text-black inline;
@apply dark:bg-gray-700 dark:text-blue-300 dark:hover:text-gray-300 dark:hover:bg-gray-600;
} }
li a.disabled { li a.disabled {
@apply text-gray-400 bg-gray-50 hover:bg-gray-50; @apply text-gray-400 bg-gray-50 hover:bg-gray-50;
@apply dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-800;
} }
} }
article blockquote { article blockquote {
@apply border-l-4 border-l-green-200 text-gray-600 ml-6 pl-4; @apply border-l-4 border-l-green-200 text-gray-600 ml-2 md:ml-6 lg:ml-6 xl:ml-6 pl-4;
@apply dark:border-l-emerald-600 dark:text-gray-400;
} }
article blockquote.scripture { article blockquote.scripture {
/*@apply italic;*/ /*@apply italic;*/
@apply bg-gray-50 pt-1 pb-1 pl-4 pr-2; @apply bg-gray-50 pt-1 pb-1 pl-4 pr-2;
@apply dark:bg-gray-700;
} }
article blockquote.cite { article blockquote.cite {
@ -244,4 +263,5 @@ article blockquote.cite {
article#notes-page #content blockquote.scripture > p > a { article#notes-page #content blockquote.scripture > p > a {
@apply border-b-green-200 text-lg text-gray-400 not-italic transition duration-500 ease-in-out hover:border-b-green-800 hover:text-gray-800; @apply border-b-green-200 text-lg text-gray-400 not-italic transition duration-500 ease-in-out hover:border-b-green-800 hover:text-gray-800;
@apply dark:border-b-emerald-600 dark:hover:text-emerald-300 dark:hover:border-b-emerald-500;
} }