Simplify poetry archive page
Some checks are pending
Build / build (push) Waiting to run

This commit is contained in:
Neeldhara Misra 2026-06-23 23:03:24 +05:30
parent 81c890471c
commit f52af26f31
2 changed files with 13 additions and 57 deletions

View file

@ -298,11 +298,11 @@
}
.poetry-post-title {
@apply mb-12 text-3xl font-semibold md:mb-16 md:text-4xl;
@apply mb-8 text-2xl font-semibold md:mb-10 md:text-3xl;
}
.poetry-post-body {
@apply mx-auto max-w-xl text-center text-xl leading-loose text-foreground/80 md:text-2xl;
@apply mx-auto max-w-xl text-center text-base leading-8 text-foreground/80 md:text-lg;
}
.poetry-post-body :where(p) {
@ -349,24 +349,12 @@
@apply mx-auto max-w-5xl rounded-2xl border bg-card px-7 py-8 shadow-sm md:px-10 md:py-10;
}
.poetry-home-chrome {
@apply mb-12 flex gap-3;
}
.poetry-home-chrome span {
@apply block h-3 w-3 rounded-full bg-muted;
}
.poetry-home-header {
@apply flex flex-col gap-6 border-b pb-8 md:flex-row md:items-end md:justify-between;
}
.poetry-home-header h1 {
@apply mt-2 text-3xl font-semibold md:text-4xl;
}
.poetry-home-kicker {
@apply max-w-xl text-base text-muted-foreground;
@apply text-3xl font-semibold md:text-4xl;
}
.poetry-search {
@ -391,33 +379,25 @@
}
.poetry-home-grid {
@apply grid gap-12 pt-10 md:grid-cols-[minmax(0,0.9fr)_minmax(0,1.3fr)] md:gap-16;
@apply pt-8;
}
.poetry-recent h2,
.poetry-archive h2 {
@apply mb-6 text-sm font-semibold uppercase tracking-wider text-muted-foreground;
}
.poetry-recent ol,
.poetry-archive ol {
@apply m-0 list-none p-0;
}
.poetry-recent li {
@apply grid grid-cols-[5.75rem_minmax(0,1fr)] gap-4 py-3;
}
.poetry-recent time,
.poetry-archive time {
@apply text-muted-foreground/75;
}
.poetry-recent a,
.poetry-archive a {
@apply font-semibold text-foreground decoration-muted-foreground/30 underline-offset-4 hover:underline;
}
.poetry-archive {
@apply ml-auto w-full max-w-3xl;
}
.poetry-archive li {
@apply flex items-baseline justify-between gap-8 border-t py-4;
}