Skip to content

Commit 4b40f5b

Browse files
committed
Style adjustments
1 parent 36ff6bc commit 4b40f5b

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

src/global.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
color: var(--color-purple-200);
131131
}
132132
img {
133-
@apply max-h-120 max-w-full w-full my-12;
133+
@apply max-h-150 max-w-full w-full my-8;
134134
object-fit: contain;
135135
}
136136
pre {
@@ -154,6 +154,9 @@
154154
}
155155
p {
156156
@apply my-3;
157+
:last-child {
158+
@apply mb-0;
159+
}
157160
}
158161

159162
.blog-contents {

src/layouts/Post.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ const toc = buildTOC(headings);
5151
<p class="text-yellow-300 my-4 italic">This content may require a PDSB account.</p>
5252
}
5353
{!frontmatter.slides &&
54-
<nav class="mt-4 mb-8 ml-4 rounded-2xl p-4 border-1 toc border-neutral-700 max-w-sm">
54+
<nav class="mt-4 mb-4 ml-4 rounded-2xl p-4 border-1 toc border-neutral-700 max-w-sm">
5555
<h2 class="mt-0">Table of Contents</h2>
5656
<ol>
5757
{toc.map(heading => <TableOfContents heading={heading} />)}
5858
</ol>
5959
</nav>
6060
}
61-
<div class="blog-contents w-full">
61+
<div class="blog-contents w-full py-5">
6262
<slot />
6363
</div>
6464
</article>

src/pages/posts/2025-10-25-game-jam-results.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Aaron Saini, Liheng Luo, Ajit Singh, Junyang Pu
1818

1919
![Escape the Evil School Simulator](../../assets/gj-etess.png)
2020

21-
<div class=" mb-4 -mt-8 w-full flex flex-row justify-center">
21+
<div class=" mb-4 w-full flex flex-row justify-center">
2222
<a class="btn font-mono" href="https://xplayer150.itch.io/etess">Try on Itch.io!</a>
2323
</div>
2424

@@ -31,7 +31,7 @@ Muhammad Haseeb
3131

3232
![Ace Noir](../../assets/gj-acenoir.png)
3333

34-
<div class=" mb-4 -mt-8 w-full flex flex-row justify-center">
34+
<div class=" mb-4 w-full flex flex-row justify-center">
3535
<a class="btn font-mono" href="https://flanman20.itch.io/ace-noir">Try on Itch.io!</a>
3636
</div>
3737

@@ -43,7 +43,7 @@ You're a detective, coming back after a short stint with legal trouble, investig
4343
Ethan Wang, Joshua Ah Yong
4444

4545
![Scattered](../../assets/gj-scattered.png)
46-
<div class=" mb-4 -mt-8 w-full flex flex-row justify-center">
46+
<div class=" mb-4 w-full flex flex-row justify-center">
4747
<a class="btn font-mono" href="https://cheesyinthehead.itch.io/scattered">Try on Itch.io!</a>
4848
</div>
4949

0 commit comments

Comments
 (0)