From 4caf4eede9045863c051876ff4ccf9a73a881e5d Mon Sep 17 00:00:00 2001 From: moonleay Date: Thu, 19 Oct 2023 00:00:25 +0200 Subject: [PATCH] feat: added basic responsive design --- app/layout.tsx | 2 +- app/util/wrapping_objects.module.css | 38 ++++++++++++++++++++++++++-- app/util/wrapping_objects.tsx | 29 ++++++++++++--------- 3 files changed, 54 insertions(+), 15 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 301b884..ca1a20f 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -9,7 +9,7 @@ const inter = Inter({ subsets: ['latin'] }) export const metadata: Metadata = { title: 'Lil Judd', - description: 'The Discord bot with unique features.', + description: 'The Splatoon Discord bot with unique features.', } export default function RootLayout({ diff --git a/app/util/wrapping_objects.module.css b/app/util/wrapping_objects.module.css index 286b32d..601a67a 100644 --- a/app/util/wrapping_objects.module.css +++ b/app/util/wrapping_objects.module.css @@ -1,19 +1,38 @@ .navMenu { display: flex; flex-direction: column; + background-color: rgba(0, 0, 0, 0.4); + backdrop-filter: blur(5px); position: sticky; - background-color: #5d5d61; border-radius: 5px; } .logo { width: 32px; height: 32px; - border-radius: 10%; + border-radius: 100%; max-width: initial; max-height: initial; } +.navElem { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + +.logoWtxt { + display: flex; + align-items: center; + margin: 0; + padding: 0; +} + +.pad3px { + padding: 3px; +} + .footer { align-items: center; margin: 100px 1px 0 0; @@ -24,6 +43,10 @@ padding: 5px; } +.footerImageNote { + font-size: 0.75rem; +} + .footerIcon { display: block; text-align: center; @@ -99,6 +122,17 @@ margin: 0 auto; } + .grid { + display: grid; + grid-template-columns: repeat(6, 1fr); + } + + .navElem { + grid-column: span 1; + margin: 0.5rem 0.5rem 0.5rem 0.5rem; + align-items: center; + } + .footerIcon { grid-column: span 1; justify-self: center; diff --git a/app/util/wrapping_objects.tsx b/app/util/wrapping_objects.tsx index 5166019..9365251 100644 --- a/app/util/wrapping_objects.tsx +++ b/app/util/wrapping_objects.tsx @@ -3,22 +3,28 @@ import styles from "./wrapping_objects.module.css" export function NavBar(){ return(