update styles

This commit is contained in:
Youwen Wu 2024-05-25 01:56:50 -07:00
parent 7d2342d4fe
commit ebcc0c86f4
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
4 changed files with 8 additions and 4 deletions

View file

@ -39,7 +39,7 @@
@apply text-xl font-medium mt-8 text-accent-light dark:text-accent-dark; @apply text-xl font-medium mt-8 text-accent-light dark:text-accent-dark;
} }
p { p {
@apply leading-loose my-2; @apply leading-loose my-4 text-[1rem];
} }
img { img {
@apply mx-auto my-6 rounded-lg; @apply mx-auto my-6 rounded-lg;

File diff suppressed because one or more lines are too long

View file

@ -98,7 +98,7 @@
<span class="ml-2 font-serif">|</span> <span class="ml-2 font-serif">|</span>
<button <button
id="theme-toggle" id="theme-toggle"
class="ml-2 text-sm hover:bg-secondary-light dark:hover:bg-secondary-dark rounded-sm transition-colors p-1" class="ml-2 text-sm hover:bg-indigo-200 dark:hover:bg-violet-950 rounded-sm transition-colors p-1 duration-500"
></button> ></button>
</header> </header>
$body$ $body$

View file

@ -4,7 +4,11 @@
<h1 class="text-4xl"> <h1 class="text-4xl">
<a href=".$url$">$title$</a> <a href=".$url$">$title$</a>
</h1> </h1>
<p class="mb-1 mt-2 italic text-lg">$desc$</p> <p
class="mb-1 mt-2 italic text-lg text-accent-light dark:text-accent-dark"
>
$desc$
</p>
<div class="mt-2">$date$</div> <div class="mt-2">$date$</div>
<div class="mt-1 text-sm"> <div class="mt-1 text-sm">
$if(updated)$(last updated: $updated$)$endif$ $if(updated)$(last updated: $updated$)$endif$