Skip to content

Commit

Permalink
add padding on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
azuline committed Jun 9, 2024
1 parent 39bd237 commit 20626ed
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/posts/template.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@
<title>{{ meta.title }}</title>
</head>
<body>
<div class="max-w-36 mx-auto py-8">
<div class="display text-sm mono"><a class="decoration-none fg-primary" href="/">sunset glow</a></div>
<div class="py-16" />
<div class="flex flex-col gap-4">
<div class="display text-xxl medium">{{ meta.title }}</div>
<div class="display text-sm fg-secondary italic">{{ meta.date | formatdate }}</div>
</div>
<div class="pb-8 w-full"></div>
<div class="pandoc">
{{ body | safe }}
<div class="w-content mx-auto p-8">
<div class="max-w-36">
<div class="display text-sm mono"><a class="decoration-none fg-primary" href="/">sunset glow</a></div>
<div class="py-16" />
<div class="flex flex-col gap-4">
<div class="display text-xxl medium">{{ meta.title }}</div>
<div class="display text-sm fg-secondary italic">{{ meta.date | formatdate }}</div>
</div>
<div class="pb-8 w-full"></div>
<div class="pandoc">
{{ body | safe }}
</div>
</div>
</div>
</body>
Expand Down

0 comments on commit 20626ed

Please sign in to comment.