From 38c87c8a7d7e4483be00ffb75f7504cde77c0440 Mon Sep 17 00:00:00 2001 From: Saurabh Singh <96985651+SaurabhSingh720@users.noreply.github.com> Date: Fri, 10 May 2024 00:11:19 +0530 Subject: [PATCH] added the nav bar --- dashboard.css | 2 ++ index.html | 6 ++++++ style-landing.css | 17 +++++++++++++++++ 3 files changed, 25 insertions(+) diff --git a/dashboard.css b/dashboard.css index 12fbf8d..2df03ba 100644 --- a/dashboard.css +++ b/dashboard.css @@ -339,6 +339,8 @@ h1 { transform: scale(1.1); /* Add a slight scale effect on hover */ } + + /* show the button when user scrolls down */ body.scroll-down .back-to-top { display: block; diff --git a/index.html b/index.html index 403b35d..8a812a1 100644 --- a/index.html +++ b/index.html @@ -16,6 +16,12 @@ MindSpace + +
diff --git a/style-landing.css b/style-landing.css index da2e06b..a4c3ad6 100644 --- a/style-landing.css +++ b/style-landing.css @@ -128,4 +128,21 @@ button:hover { button a { text-decoration: none; color: white; +} + +.nav{ + display: flex; + margin: auto; + padding: 10px; + margin: 10px; + background-color: rgb(137, 193, 53); + width: 100%; + height: auto; + +} +li{ + list-style-type: none; + float: left; + text-decoration: none; + padding: 10px; } \ No newline at end of file