Skip to content

Commit 86550ce

Browse files
committed
Refine nounstacle card styling
1 parent 5225b01 commit 86550ce

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
export function NounstacleDefinition() {
22
return (
3-
<div className="mt-8 flex justify-center">
4-
<div className="w-full max-w-4xl rounded-2xl border border-border/60 bg-gradient-to-b from-background to-muted/20 px-6 py-8 shadow-sm md:px-10 md:py-10">
5-
<div className="space-y-6 text-foreground">
6-
<div className="flex flex-col gap-2 md:flex-row md:items-end md:justify-between">
3+
<section className="border-t py-12">
4+
<article className="rounded-lg border bg-card p-6 text-card-foreground">
5+
<div className="space-y-4 text-foreground">
6+
<div className="flex flex-col gap-1 md:flex-row md:items-end md:justify-between">
77
<div>
8-
<h3 className="text-5xl font-semibold tracking-tight md:text-7xl">Nounstacle</h3>
9-
<p className="mt-2 text-2xl italic text-muted-foreground md:text-3xl">’naun.sta.kal</p>
8+
<h3 className="text-3xl font-semibold tracking-tight md:text-4xl">Nounstacle</h3>
9+
<p className="mt-1 text-lg italic text-muted-foreground md:text-xl">’naun.sta.kal</p>
1010
</div>
11-
<p className="text-2xl font-medium text-muted-foreground md:text-4xl">(noun)</p>
11+
<p className="text-lg font-medium text-muted-foreground md:text-2xl">(noun)</p>
1212
</div>
1313

14-
<div className="space-y-5 text-lg leading-8 md:text-2xl md:leading-10">
14+
<div className="space-y-4 text-sm leading-7 text-muted-foreground md:text-base">
1515
<p>
1616
<span className="font-semibold text-foreground">Definition:</span> A skateboarding
1717
obstacle, such as a rail or ramp, shaped like noggles, the iconic glasses symbol of
@@ -24,7 +24,7 @@ export function NounstacleDefinition() {
2424
</p>
2525
</div>
2626
</div>
27-
</div>
28-
</div>
27+
</article>
28+
</section>
2929
);
3030
}

0 commit comments

Comments
 (0)