From 280048e594ec8e45a65c3afd56505c38db660a18 Mon Sep 17 00:00:00 2001 From: Anish Neupane Date: Sun, 15 Sep 2024 10:13:29 +0545 Subject: [PATCH] Navbar links fixed and added go to top arrow in home --- assets/hero/arrow.svg | 1 + css/output.css | 28 ++++++++++++++++++++++------ index.html | 33 ++++++++++++++++++++++++--------- js/navbar.js | 17 ++++++++++++----- 4 files changed, 59 insertions(+), 20 deletions(-) create mode 100644 assets/hero/arrow.svg diff --git a/assets/hero/arrow.svg b/assets/hero/arrow.svg new file mode 100644 index 0000000..8acc992 --- /dev/null +++ b/assets/hero/arrow.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/css/output.css b/css/output.css index bbda4d0..fd144eb 100644 --- a/css/output.css +++ b/css/output.css @@ -691,6 +691,14 @@ video { top: 3.5rem; } +.bottom-12 { + bottom: 3rem; +} + +.right-12 { + right: 3rem; +} + .z-0 { z-index: 0; } @@ -940,8 +948,8 @@ video { max-height: 100vh; } -.min-h-36 { - min-height: 9rem; +.min-h-48 { + min-height: 12rem; } .min-h-dvh { @@ -953,10 +961,6 @@ video { min-height: fit-content; } -.min-h-48 { - min-height: 12rem; -} - .w-1 { width: 0.25rem; } @@ -1045,6 +1049,10 @@ video { width: 100%; } +.min-w-20 { + min-width: 5rem; +} + .max-w-3xl { max-width: 48rem; } @@ -1231,6 +1239,10 @@ video { border-radius: 0.375rem; } +.rounded { + border-radius: 0.25rem; +} + .border { border-width: 1px; } @@ -1469,6 +1481,10 @@ video { padding-top: 1.5rem; } +.pt-7 { + padding-top: 1.75rem; +} + .text-left { text-align: left; } diff --git a/index.html b/index.html index c97b19e..43994ea 100644 --- a/index.html +++ b/index.html @@ -56,6 +56,8 @@ + +
Timer Background @@ -103,7 +105,7 @@
-
+
@@ -132,8 +134,8 @@ In 2024, NOSK is returning with an even grander edition of Software Freedom Day. This year's event promises to be the largest yet, where developers and enthusiasts can showcase their love for open source.
-
@@ -164,9 +166,7 @@
-
- - +
-
Event Activities
+
Event Activities
@@ -254,9 +254,9 @@

Learn - Enjoy - Discover

-
+
-
Sponsors and Partners
+
Sponsors and Partners
@@ -277,6 +277,21 @@