Skip to content

Commit

Permalink
Adjusted fieldset borders
Browse files Browse the repository at this point in the history
  • Loading branch information
VojtaStruhar committed Dec 29, 2023
1 parent a4a3121 commit d962dc0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PageLayout from "../layouts/PageLayout.astro";

<PageLayout title="Steam Review Template">
<header class="bg-slate-700 text-white py-2 flex flex-col items-center">
<h2>{"---{ Review Template }---"}</h2>
<h1>{"---{ Review Template }---"}</h1>
<p class="mt-0">☑ Awesome</p>
</header>

Expand All @@ -30,7 +30,7 @@ import PageLayout from "../layouts/PageLayout.astro";
{
config_json.categories.map((category) => (
<form class="flex flex-col gap-2 ">
<fieldset class="rounded-lg my-4 shadow border bg-sky-100">
<fieldset class="rounded-lg my-4 shadow-md border bg-sky-100">
<legend class="font-mono font-bold text-xl bg-emerald-300 px-4 rounded-lg shadow">
{category.title}
</legend>
Expand Down Expand Up @@ -166,4 +166,9 @@ import PageLayout from "../layouts/PageLayout.astro";
input[type="checkbox"] {
transform: scale(1.25);
}

fieldset,
legend {
border: 1px solid #ccc;
}
</style>

0 comments on commit d962dc0

Please sign in to comment.