style: Center main and footer elements

This commit is contained in:
Your Name (aider) committed 2025-04-28 02:38:53 +08:00
1 parent ccbc9f4863
commit 0206f66d1e
7 files changed
+28 -28

No files matched your search

+4 -4
View File
@@ -51,8 +51,8 @@
</div>
</nav>
<main class="py-4 pb-16 bg-bg-footer">
<div class="max-w-screen-lg mx-auto px-4 mt-8">
<main class="max-w-screen-lg mx-auto py-4 pb-16 bg-bg-footer">
<div class="px-4 mt-8">
<article class="flex">
<div class="mr-2">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Upvote">▲</a>
@@ -275,8 +275,8 @@
</div>
</main>
<footer class="bg-bg-footer py-8 px-6 text-text-muted">
<div class="max-w-screen-lg mx-auto text-center">
<footer class="max-w-screen-lg mx-auto bg-bg-footer py-8 px-6 text-text-muted">
<div class="text-center">
<p>
Seen something today? Don't let it go to waste. <a href="#" class="text-primary hover:underline">Submit it</a>.
</p>