style: update upvote button and post metadata styling

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-01 04:52:30 +08:00
1 parent de8b8c8b56
commit 77d80ef874
1 file changed
+2 -2
+2 -2
View File
@@ -21,7 +21,7 @@
<article class="flex items-start"> <article class="flex items-start">
<div class="flex flex-col items-center mr-4"> <div class="flex flex-col items-center mr-4">
<button class="upvote-button text-text-muted hover:text-link-hover" aria-label="Upvote"> <button class="upvote-button text-text-muted hover:text-link-hover" aria-label="Upvote">
<i class="fa-solid fa-triangle"></i> <i class="fa-solid fa-arrow-up"></i>
</button> </button>
<span class="text-sm mt-1">{{ post.upvotes }}</span> <span class="text-sm mt-1">{{ post.upvotes }}</span>
</div> </div>
@@ -31,7 +31,7 @@
<strong><a href="{{ post.url }}" class="text-text-title font-normal text-base hover:underline">{{ post.title }}</a></strong> <strong><a href="{{ post.url }}" class="text-text-title font-normal text-base hover:underline">{{ post.title }}</a></strong>
</p> </p>
<div class="mt-0 mb-1 text-sm flex items-center"> <div class="mt-0 mb-1 text-sm flex items-center">
<small class="text-text-muted text-xs font-action opacity-75"><a href="#" class="text-text-muted text-xs hover:underline opacity-75">{{ post.author }}</a> | <span class="text-text-muted text-xs opacity-75">{{ post.date | date: "%d %b %Y" }}</span> | <a href="#" class="text-text-muted text-xs hover:underline opacity-75">report</a> | <a href="#" class="text-text-muted text-xs hover:underline opacity-75">reply</a> | <a href="#" class="text-text-muted text-xs hover:underline opacity-75">{{ post.comments_count }} comments</a></small> <small class="text-xs font-action"><a href="#" class="text-xs hover:underline">{{ post.author }}</a> | <span class="text-text-muted text-xs opacity-75">{{ post.date | date: "%d %b %Y" }}</span> | <a href="#" class="text-text-muted text-xs hover:underline opacity-75">report</a> | <a href="#" class="text-text-muted text-xs hover:underline opacity-75">reply</a> | <a href="#" class="text-text-muted text-xs hover:underline opacity-75">{{ post.comments_count }} comments</a></small>
</div> </div>
</div> </div>
</div> </div>