Skip to content

Commit

Permalink
Fix page centering, change text scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
DamitusThyYeetus123 committed Dec 31, 2024
1 parent 93b86f1 commit b944dbf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ import "@styles/theme.css";
</nav>
<div class="bg-theme-1000 w-full h-0.5"></div>
</header>
<div class="">
<div class="z-20">
<Sidebar />
</div>
<div class="container m-auto pt-24 md:ml-80 relative">
<div class="pt-24 relative w-full">
<slot />
<footer
class="text-theme-400 w-fit inset-0 mx-auto items-center text-center justify-center top-[100%] self-end absolute p-4"
class="text-theme-400 w-fit inset-0 mx-auto top-[100%] self-end absolute p-4"
>
<span class="text-sm"
>Code licensed in GPLv3, Content licensed under CC-BY-SA. More
Expand Down
2 changes: 1 addition & 1 deletion src/pages/[lang]/docs/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const { Content } = await render(entry);

<Layout>
<div
class="prose prose-colors justify-center justify-items-center max-w-none prose-sm px-2 md:prose-lg lg:prose-xl"
class="prose prose-colors justify-center justify-items-center prose-sm px-2 md:prose-base lg:prose-lg xl:prose-xl mx-auto"
>
<h1>{entry.data.title}</h1>
<Content />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/[lang]/preface.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const { Content } = await render(entry);

<Layout>
<div
class="prose prose-colors justify-center justify-items-center max-w-none prose-sm px-2 md:prose-lg lg:prose-xl"
class="prose prose-colors justify-center justify-items-center prose-sm px-2 md:prose-base lg:prose-lg xl:prose-xl mx-auto"
>
<h1>{entry.data.title}</h1>
<Content />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/[lang]/why-nixos.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const { Content } = await render(entry);

<Layout>
<div
class="prose prose-colors justify-center justify-items-center max-w-none prose-sm px-2 md:prose-lg lg:prose-xl"
class="prose prose-colors justify-center justify-items-center prose-sm px-2 md:prose-base lg:prose-lg xl:prose-xl mx-auto"
>
<h1>{entry.data.title}</h1>
<Content />
Expand Down

0 comments on commit b944dbf

Please sign in to comment.