Style tweaks.

This commit is contained in:
Benjamin A. Shelton 2026-07-06 14:26:46 -06:00
commit 2367c25b43
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01
2 changed files with 12 additions and 5 deletions

View file

@ -32,7 +32,7 @@ const { notes } = Astro.props;
<div id="notes-list"> <div id="notes-list">
<ul>{notes.map((note: CollectionEntry<'notes'>) => ( <ul>{notes.map((note: CollectionEntry<'notes'>) => (
<li> <li>
<div class="relative overflow-hidden"> <div class="relative overflow-hidden header-image">
<img src={urlfrag(base, note.data.post_image)} class="rounded-md" /> <img src={urlfrag(base, note.data.post_image)} class="rounded-md" />
</div> </div>
<ul class="tags relative"> <ul class="tags relative">

View file

@ -123,15 +123,22 @@ footer {
} }
#notes-list > ul > li { #notes-list > ul > li {
@apply flex flex-col rounded-xl bg-gray-100 p-2 hover:bg-gray-200; border-width: 1px;
@apply dark:text-gray-300 dark:bg-gray-800 dark:hover:bg-gray-700; border-style: solid;
@apply flex flex-col 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 .header-image {
@apply rounded-lg shadow-md shadow-gray-300;
@apply dark:shadow-gray-900;
} }
#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-blue-300 transition duration-500 ease-in-out hover:border-blue-900 hover:text-blue-800;
@apply dark:border-cyan-600 hover:border-cyan-500 hover:text-cyan-500; @apply dark:border-blue-500 dark:hover:border-blue-600 dark:hover:text-blue-300;
} }
#notes-list ul > li > hgroup { #notes-list ul > li > hgroup {