mirror of
https://github.com/youwen5/blog.git
synced 2024-11-24 18:03:50 -08:00
update styles
This commit is contained in:
parent
7d2342d4fe
commit
ebcc0c86f4
4 changed files with 8 additions and 4 deletions
|
@ -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
|
@ -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$
|
||||||
|
|
|
@ -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$
|
||||||
|
|
Loading…
Reference in a new issue