From 99248f7f8a9e9a0d597ed2b53352d9ded9177308 Mon Sep 17 00:00:00 2001 From: Nishant Kaushal <101548649+nishant0708@users.noreply.github.com> Date: Wed, 3 Jul 2024 13:30:08 +0530 Subject: [PATCH 1/3] added navbar --- assets/css/stylesheet.css | 3 +- index.html | 15 +++- src/about.html | 131 +++++++++++++++++++--------------- src/cart.html | 144 +++++++++++--------------------------- src/checkout.html | 2 +- src/contact.html | 20 +++--- src/detail-product.html | 59 +--------------- src/faq.html | 100 +++++++++++++------------- src/feedback.html | 2 +- src/home.html | 2 +- src/login.html | 2 +- src/schemes.html | 2 +- src/setting.html | 2 +- src/shop.html | 19 ++--- src/success.html | 2 +- src/transaction.html | 19 ++--- src/wishlist.html | 127 +++++++++++++-------------------- 17 files changed, 266 insertions(+), 385 deletions(-) diff --git a/assets/css/stylesheet.css b/assets/css/stylesheet.css index 3c8a8b98..4645e52e 100644 --- a/assets/css/stylesheet.css +++ b/assets/css/stylesheet.css @@ -32,6 +32,7 @@ i { font-style: italic; } .banner { + position: relative; display: block; width:100%; } @@ -42,7 +43,7 @@ i { .jumbotron-bg::before { content: ''; position: absolute; - top: 70px; + top: 0px; left: 0; width: 100%; height: 100%; diff --git a/index.html b/index.html index 6567546e..e9f89d3a 100644 --- a/index.html +++ b/index.html @@ -231,6 +231,7 @@ z-index: 100; } + @media (max-width: 1200px) and (min-width:995px) { .card-title { font-size: 1.25rem; @@ -265,7 +266,17 @@ margin: 10px; box-sizing: border-box; } - + .navbar .container{ + background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important; +} +@media (max-width:768px) { + .navbar .container{ + padding: 0px 20px; + } + } + .nav-item{ + margin-top: 5px; + } #products .card img { width: 100%; height: 200px; @@ -477,7 +488,7 @@