From 2fdcb7c79e8333c0fa9c14e34da5eaebe96e32b4 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 30 Aug 2023 01:06:39 +0530 Subject: first commit --- css/_navbar.scss | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 css/_navbar.scss (limited to 'css/_navbar.scss') diff --git a/css/_navbar.scss b/css/_navbar.scss new file mode 100644 index 0000000..f55d215 --- /dev/null +++ b/css/_navbar.scss @@ -0,0 +1,49 @@ +#navbar-wrapper { + width: 100%; + background-color: var(--nav-bg); + color: var(--nav-fg); + height: var(--nav-height); + display: flex; + align-items: center; + justify-content: center; + + #navbar { + height: 100%; + width: 98%; + display: flex; + align-items: center; + justify-content: space-around; + + #nav-logo { + height: var(--nav-height); + + a { + height: 100%; + width: 100%; + display: flex; + align-items: center; + justify-content: center; + + img { + max-width: 100%; + max-height: 90%; + } + } + } + + nav { + flex: 1; + display: flex; + justify-content: right; + gap: 0.6rem; + + a { + color: var(--nav-fg); + } + + a.active { + color: var(--link-fg); + } + } + } +} -- cgit v1.2.3