feat: add custom fonts and update styles in main.css; update package dependencies and lockfile; modify UnoCSS configuration; enhance HTML template structure

This commit is contained in:
Jun Chang
2025-03-18 13:47:30 +08:00
parent 13e2d35479
commit 7abf020d64
7 changed files with 4445 additions and 3317 deletions

File diff suppressed because one or more lines are too long

View File

@@ -29,9 +29,9 @@ text_size_class: The size class that the user has selected in Preferences for ar
body: The body of the article.
-->
<div id="elegantReader" class="animate-fade-in max-w-prose px-2 py-3 mx-auto box-border font-sans [[text_size_class]]">
<div id="elegantReader" class="max-w-prose px-2 py-3 mx-auto box-border font-sans [[text_size_class]]">
<div class="w-full h-12 flex items-center space-x-4 my-8 text-xl font-medium text-gray-900 dark:text-white">
<div class="w-full h-12 flex items-center gap-4 my-8 text-xl font-medium text-gray-900 dark:text-white">
<img class="flex-shrink-0 w-12 h-12 overflow-hidden bg-white dark:bg-dark-600 rounded-md ring-1 ring-dark-600/5 shadow-xl" src="[[avatar_src]]" alt="feed img">
<div class="flex-1 min-w-0 truncate">
[[feed_link_title]]
@@ -44,11 +44,11 @@ body: The body of the article.
<article class="prose prose-dark dark:prose-light">
<h1 class="mb-4">[[title]]</h1>
<p class="mt-2 text-secondary">
<a href="[[feed_link]]" class="ml-2 text-secondary" alt="feed link" title="feed link">
<a href="[[feed_link]]" class="ml-2 text-secondary font-normal" alt="feed link" title="feed link">
<span class="i-carbon-rss"></span>
Feed
</a>
<a href="[[preferred_link]]" class="ml-4 text-secondary" alt="originally link" title="originally link">
<a href="[[preferred_link]]" class="ml-4 text-secondary font-normal" alt="originally link" title="originally link">
<span class="i-carbon-link"></span>
Originally
</a>