diff --git a/src/components/Notes.astro b/src/components/Notes.astro
index c5545df..ff606f8 100644
--- a/src/components/Notes.astro
+++ b/src/components/Notes.astro
@@ -44,7 +44,7 @@ const { notes } = Astro.props;
-
+ {note.data.title}
{note.data.sub_heading}
-
+
))}
\ No newline at end of file
diff --git a/src/styles/global.css b/src/styles/global.css
index de4fbd2..727adbe 100644
--- a/src/styles/global.css
+++ b/src/styles/global.css
@@ -403,26 +403,29 @@ dialog.scripture {
#notes-list > ul > li {
border-width: 1px;
border-style: solid;
- @apply flex flex-col rounded-xl bg-transparent p-2 hover:bg-gray-100 border-gray-200;
+ @apply flex rounded-xl bg-transparent p-2 hover:bg-gray-100 border-gray-200;
@apply dark:bg-transparent dark:text-gray-300 dark:border-gray-800 dark:hover:bg-gray-800;
}
+#notes-list > ul > li > a {
+ @apply flex w-full flex-col;
+ @apply focus-visible:outline-4 focus-visible:outline-offset-8 focus-visible:rounded-2xl;
+ @apply focus-visible:outline-blue-500;
+}
+
#notes-list ul > li .header-image {
@apply relative overflow-hidden rounded-lg shadow-md shadow-gray-300;
@apply dark:shadow-gray-900;
}
-#notes-list ul > li h2 a {
- border-bottom: 5px;
- border-style: solid;
- @apply border-blue-300 transition duration-500 ease-in-out hover:border-blue-900 hover:text-blue-800;
- @apply dark:border-blue-500 dark:hover:border-blue-600 dark:hover:text-blue-300;
-}
-
-#notes-list ul > li > hgroup {
+#notes-list ul > li > a > hgroup {
@apply grow p-4 transition-colors duration-500;
- h2 > a {
- @apply font-bold text-2xl;
+ h2 {
+ @apply font-bold text-2xl inline-block;
+ border-bottom: 5px;
+ border-style: solid;
+ @apply border-blue-300 transition duration-500 ease-in-out hover:border-blue-900 hover:text-blue-800;
+ @apply dark:border-blue-500 dark:hover:border-blue-600 dark:hover:text-blue-300;
}
h3 {
@apply mt-2 text-xl font-medium;
@@ -443,7 +446,8 @@ dialog.scripture {
}
#notes-list ul li time {
- @apply block text-xl text-gray-400 pl-4 pr-4 pt-2 text-right relative bottom-0;
+ @apply text-xl text-gray-400 pl-4 pr-4 pt-2 text-right;
+ @apply mt-auto self-end;
}
#notes-list ul.types li {