From a3feb7337ff0fe76d3a6dc284e4246725cb5fb73 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 19:18:37 +0000 Subject: [PATCH 1/2] Update repo structure --- README.md | 5 +++++ repo_structure.txt | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 7d345379..2aa7aa42 100644 --- a/README.md +++ b/README.md @@ -340,6 +340,7 @@ │ │ ├── scroll.js │ │ ├── signinGoogle.js │ │ ├── signup.js +│ │ ├── subscribe.js │ │ ├── swiper-bundle.min.js │ │ ├── test-script.js │ │ └── visitors.js @@ -373,6 +374,8 @@ │ ├── contributor.css │ ├── contributor.html │ └── contributor.js +├── controller/ +│ └── subscribe.js ├── cookiepolicy.html ├── cookies.html ├── copyrightpolicy.html @@ -407,6 +410,8 @@ ├── our-vision.html ├── package-lock.json ├── package.json +├── popup.jpg +├── popup.js ├── pricing.html ├── privacynotice.html ├── profile.css diff --git a/repo_structure.txt b/repo_structure.txt index cf797628..e52b40a9 100644 --- a/repo_structure.txt +++ b/repo_structure.txt @@ -296,6 +296,7 @@ │ │ ├── scroll.js │ │ ├── signinGoogle.js │ │ ├── signup.js +│ │ ├── subscribe.js │ │ ├── swiper-bundle.min.js │ │ ├── test-script.js │ │ └── visitors.js @@ -329,6 +330,8 @@ │ ├── contributor.css │ ├── contributor.html │ └── contributor.js +├── controller/ +│ └── subscribe.js ├── cookiepolicy.html ├── cookies.html ├── copyrightpolicy.html @@ -363,6 +366,8 @@ ├── our-vision.html ├── package-lock.json ├── package.json +├── popup.jpg +├── popup.js ├── pricing.html ├── privacynotice.html ├── profile.css From 3e83c198a52c6148b15e90228f1fb89395249a36 Mon Sep 17 00:00:00 2001 From: Riya Chauhan <96919050+Riyachauhan11@users.noreply.github.com> Date: Thu, 24 Oct 2024 00:56:18 +0530 Subject: [PATCH 2/2] fixed header of books page --- books.html | 233 +++++++++++++++++++++++++---------------------------- 1 file changed, 110 insertions(+), 123 deletions(-) diff --git a/books.html b/books.html index f107521a..cbbb52c3 100644 --- a/books.html +++ b/books.html @@ -248,7 +248,6 @@ } .navbar-list { - position: relative; top: 200px; } @@ -298,24 +297,116 @@ margin-top: 10px; /* Increase the top margin of each item */ } + /* For large screens (desktops) */ +@media (min-width: 1024px) { + .navbar-list { + justify-content: center; + } + + .logopic { + width: 12rem; /* Decrease the logo size */ + margin: 0 1.2rem; + } + + .navbar-item { + margin: 0 0.5rem; + } +} + +/* For tablets and medium screens */ +@media (max-width: 1024px) { + .navbar-list { + flex-wrap: wrap; + justify-content: center; + } + + .logopic { + width: 10rem; /* Adjust the logo size for smaller screens */ + margin: 0 1rem; + } + + .navbar-item { + margin: 0 0.8rem; /* Adjust the margin for tablet size */ + font-size: 0.9rem; + } + + .header { + height: 70px; + margin-top: 6vh; + } +} + +/* For small screens (mobiles) */ +@media (max-width: 768px) { + .header { + position: relative; /* Change from absolute to relative */ + left: 0; /* Remove the left offset */ + transform: none; /* Remove the translate */ + margin-top: 0; /* Adjust margin to fit better */ + height: 60px; /* Adjust height for smaller screens */ + } + + .navbar-list { + flex-direction: column; /* Stack the navbar items vertically */ + align-items: center; + padding: 10px; + } + + .logopic { + width: 8rem; /* Reduce logo size for mobile */ + margin: 0; + } + + .navbar-item { + margin: 5px 0; /* Reduce margin between items */ + font-size: 0.8rem; /* Smaller font size for mobile */ + } +} + +/* For very small screens */ +@media (max-width: 480px) { + .header { + position: relative; /* Ensure proper positioning */ + left: 0; + transform: none; + margin-top: 0; /* Remove vertical margin */ + height: 50px; /* Adjust height */ + } + + .navbar-list { + flex-direction: column; /* Keep items stacked */ + align-items: center; + } + + .logopic { + width: 6rem; + } + + .navbar-item { + margin: 5px 0; + font-size: 0.75rem; + } +} + + -
+
-
+
+
+ - \ No newline at end of file +