From d02d9608269243fc1d14fb6e8459a2e349fdb75d Mon Sep 17 00:00:00 2001 From: EdwardNew Date: Wed, 6 Nov 2024 17:38:08 -0800 Subject: [PATCH] fix: adjusted border sizings and desktop navbar padding --- public/images/page-borders/bottom-edge.svg | 2 +- public/images/page-borders/top-edge.svg | 4 +-- .../images/page-borders/top-left-corner.svg | 4 +-- src/app/Home.scss | 36 ++++++++----------- src/app/page.tsx | 4 +++ src/app/styles/global.scss | 2 +- 6 files changed, 24 insertions(+), 28 deletions(-) diff --git a/public/images/page-borders/bottom-edge.svg b/public/images/page-borders/bottom-edge.svg index d16a368..04853ad 100644 --- a/public/images/page-borders/bottom-edge.svg +++ b/public/images/page-borders/bottom-edge.svg @@ -1,3 +1,3 @@ - + diff --git a/public/images/page-borders/top-edge.svg b/public/images/page-borders/top-edge.svg index b41c762..5d113e2 100644 --- a/public/images/page-borders/top-edge.svg +++ b/public/images/page-borders/top-edge.svg @@ -1,3 +1,3 @@ - - + + diff --git a/public/images/page-borders/top-left-corner.svg b/public/images/page-borders/top-left-corner.svg index 4683d73..b9bb482 100644 --- a/public/images/page-borders/top-left-corner.svg +++ b/public/images/page-borders/top-left-corner.svg @@ -1,3 +1,3 @@ - - + + diff --git a/src/app/Home.scss b/src/app/Home.scss index 035c3b5..6b279aa 100644 --- a/src/app/Home.scss +++ b/src/app/Home.scss @@ -182,33 +182,26 @@ summary { text-align: center; } -#paper-border-top-left, -#paper-border-bottom-right, -#paper-border-top-edge, -#paper-border-bottom-edge { +.paper-border { position: absolute; z-index: 4; height: auto; } #paper-border-top-left { - width: calc(var(--folder-height) * 0.5); - top: -1%; - left: -1%; + top: -5px; + left: 0; } #paper-border-bottom-right { - width: calc(var(--folder-height) * 0.4); bottom: 0; right: 0; } #paper-border-top-edge { - width: calc(var(--folder-height) * 0.8); top: 0; - right: 0; + right: 2%; } #paper-border-bottom-edge { - width: calc(var(--folder-height) * 0.7); - bottom: 0; + bottom: -10px; left: 30%; } @@ -305,24 +298,23 @@ summary { } #paper-border-top-left { - width: calc(var(--folder-width) * 0.4); - top: -3%; - left: -2%; + top: 0; + left: auto; + right: -20px; + transform: scaleX(-1); } #paper-border-bottom-right { - width: calc(var(--folder-width) * 0.4); - bottom: 0; - left: 0; + bottom: -5px; + left: -7px; transform: scaleX(-1); } #paper-border-top-edge { - width: calc(var(--folder-width) * 0.8); top: 0; - right: 0; + right: 40%; } #paper-border-bottom-edge { - width: calc(var(--folder-width) * 0.7); - bottom: 0; + scale: 0.7; + bottom: -10px; right: 0; } } diff --git a/src/app/page.tsx b/src/app/page.tsx index 9346b0e..3848a70 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -453,6 +453,7 @@ export default function Page() { >