summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/layouts/Terminal.astro9
-rw-r--r--src/pages/blogs/[...slug].astro2
-rw-r--r--src/styles/terminal.css2
3 files changed, 6 insertions, 7 deletions
diff --git a/src/layouts/Terminal.astro b/src/layouts/Terminal.astro
index fdccaf3..2f969f5 100644
--- a/src/layouts/Terminal.astro
+++ b/src/layouts/Terminal.astro
@@ -14,10 +14,10 @@ const { path: title } = Astro.props;
<html lang="en">
<Head title=`/home/kyren/${title}` description="My personal website" />
<body>
- <main class="
- w-[95vw] h-[97svh] p-[2.2svh] text-[3vw]
- sm:w-[68.75vw] sm:h-[35vw] sm:p-[2.2vw] sm:text-[1.125vw] sm:border-[0.2vw] sm:border-solid
- ">
+ <main
+ class="w-[95vw] h-[97vh] p-[2.2svh] text-[3vw]
+ sm:w-[68.75vw] sm:h-[35vw] sm:p-[2.2vw] sm:text-[1.125vw] sm:border-[0.2vw] sm:border-solid"
+ >
<Nav path={title} />
<slot />
</main>
@@ -32,6 +32,5 @@ const { path: title } = Astro.props;
transform: translate(-50%, -50%);
background: var(--background);
font-weight: 300;
- overflow: hidden;
}
</style>
diff --git a/src/pages/blogs/[...slug].astro b/src/pages/blogs/[...slug].astro
index 101d487..2f88fcf 100644
--- a/src/pages/blogs/[...slug].astro
+++ b/src/pages/blogs/[...slug].astro
@@ -36,7 +36,7 @@ const nextBlog = sortedBlogs[currentIndex - 1] || undefined;
<div class="markdown">
<Content components={{ a: Link }} />
</div>
- <div class="px-[0.1vw] py-[0.625vw] grid grid-cols-2 gap-[1.25vw]">
+ <div class="mt-[-1vw] px-[0.1vw] py-[0.625vw] grid grid-cols-2 gap-[1.25vw]">
{
previousBlog ? (
<TerminalBorder header="Previous Blog">
diff --git a/src/styles/terminal.css b/src/styles/terminal.css
index 0eadd60..c108e19 100644
--- a/src/styles/terminal.css
+++ b/src/styles/terminal.css
@@ -23,7 +23,7 @@ html {
}
body {
- overflow-y: scroll;
+ overflow-y: hidden;
zoom: 1;
}