From 158a77ba9a6ebeaef49c3a5c3c840791b106f5fa Mon Sep 17 00:00:00 2001 From: Riya Chauhan <96919050+Riyachauhan11@users.noreply.github.com> Date: Sun, 10 Nov 2024 06:24:07 +0530 Subject: [PATCH 1/6] fixed dark mode bg and header --- connectWithsame.html | 27 ++++++++++++++++++++++ costefficient.html | 26 +++++++++++++++++++++ diverseLiteracy.html | 54 +++++++++++++++++++++++++++++--------------- revitalize.html | 28 +++++++++++++++++++++++ 4 files changed, 117 insertions(+), 18 deletions(-) diff --git a/connectWithsame.html b/connectWithsame.html index 7205e6649..1d18d9901 100644 --- a/connectWithsame.html +++ b/connectWithsame.html @@ -712,6 +712,33 @@ .chapter-card:hover .ben{ color: #d26d6d; } +body, html { + height: 100vh; /* Set the body to always take the full viewport height */ + margin: 0; + overflow-x: hidden; /* Prevents horizontal scroll in case of slight overflow */ +} +body.dark-mode { + color: #ffffff; + background-image: url('./assets/images/darkmode_bg.png'); /* Add your dark mode image */ + background-size: cover; + background-position: center; + background-repeat: no-repeat; + min-height: 100vh; /* Ensures the background covers the full screen height */ +} + + /* Basic navbar styling */ + .header { + position: fixed; + top: 0; + min-width: 100%; + z-index: 1000; /* Ensures it stays on top of other content */ + display: flex; + justify-content: center; /* Centers content horizontally */ + align-items: center; /* Centers content vertically if needed */ + border-radius: 0px; + margin: 0px; +} +
diff --git a/costefficient.html b/costefficient.html index 6ca106900..db0be2ea1 100644 --- a/costefficient.html +++ b/costefficient.html @@ -685,6 +685,32 @@ .chapter-card:hover .ben{ color: #d26d6d; } +body, html { + height: 100vh; /* Set the body to always take the full viewport height */ + margin: 0; + overflow-x: hidden; /* Prevents horizontal scroll in case of slight overflow */ +} +body.dark-mode { + color: #ffffff; + background-image: url('./assets/images/darkmode_bg.png'); /* Add your dark mode image */ + background-size: cover; + background-position: center; + background-repeat: no-repeat; + min-height: 100vh; /* Ensures the background covers the full screen height */ +} + + /* Basic navbar styling */ + .header { + position: fixed; + top: 0; + min-width: 100%; + z-index: 1000; /* Ensures it stays on top of other content */ + display: flex; + justify-content: center; /* Centers content horizontally */ + align-items: center; /* Centers content vertically if needed */ + border-radius: 0px; +} + diff --git a/diverseLiteracy.html b/diverseLiteracy.html index a9ecff58a..f1d837f4b 100644 --- a/diverseLiteracy.html +++ b/diverseLiteracy.html @@ -61,14 +61,8 @@ diff --git a/revitalize.html b/revitalize.html index 2b8fe416c..62d5a2e3e 100644 --- a/revitalize.html +++ b/revitalize.html @@ -702,6 +702,34 @@ .chapter-card:hover .ben{ color: #d26d6d; } + +body, html { + height: 100vh; /* Set the body to always take the full viewport height */ + margin: 0; + overflow-x: hidden; /* Prevents horizontal scroll in case of slight overflow */ +} +body.dark-mode { + color: #ffffff; + background-image: url('./assets/images/darkmode_bg.png'); /* Add your dark mode image */ + background-size: cover; + background-position: center; + background-repeat: no-repeat; + min-height: 100vh; /* Ensures the background covers the full screen height */ +} + + /* Basic navbar styling */ + .header { + position: fixed; + top: 0; + min-width: 100%; + z-index: 1000; /* Ensures it stays on top of other content */ + display: flex; + justify-content: center; /* Centers content horizontally */ + align-items: center; /* Centers content vertically if needed */ + border-radius: 0px; + margin: 0px; +} + From b65f3c294905db10b9611e7240efedf0d49b13f6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 10 Nov 2024 08:23:35 +0000 Subject: [PATCH 2/6] Update repo structure --- README.md | 1 + repo_structure.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index a7b3c54f5..b9cbdac6d 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ ``` +├── 404.html ├── Code_of_Conduct.md ├── DOTENV ├── Information/ diff --git a/repo_structure.txt b/repo_structure.txt index c39fffecf..5462de876 100644 --- a/repo_structure.txt +++ b/repo_structure.txt @@ -1,3 +1,4 @@ +├── 404.html ├── Code_of_Conduct.md ├── DOTENV ├── Information/ From bc632ef4e513bb00f43cc43daf72d8b66de5fa0d Mon Sep 17 00:00:00 2001 From: Riya Chauhan <96919050+Riyachauhan11@users.noreply.github.com> Date: Sun, 10 Nov 2024 14:27:20 +0530 Subject: [PATCH 3/6] fixing cards alignment and navbar items pos --- connectWithsame.html | 6 +++++- costefficient.html | 8 +++++++- diverseLiteracy.html | 4 ++++ environmental-impact.html | 3 +++ personalized-reading.html | 3 +++ revitalize.html | 4 ++++ 6 files changed, 26 insertions(+), 2 deletions(-) diff --git a/connectWithsame.html b/connectWithsame.html index 1d18d9901..7914b9fc3 100644 --- a/connectWithsame.html +++ b/connectWithsame.html @@ -699,7 +699,8 @@ /* background-color: #34495e; */ } .switch-container{ - margin-top: 80px; + margin-top: 40px; + margin-right: 120px; } .ben { color: var(--sonic-silver); @@ -738,6 +739,9 @@ border-radius: 0px; margin: 0px; } +#section-title1 { + margin-left: 38vh; +} diff --git a/costefficient.html b/costefficient.html index db0be2ea1..4de8c3f55 100644 --- a/costefficient.html +++ b/costefficient.html @@ -482,7 +482,7 @@ .action { position: fixed; - top: 43px; + top: -15px; right: 83px; } @@ -698,6 +698,9 @@ background-repeat: no-repeat; min-height: 100vh; /* Ensures the background covers the full screen height */ } +#section-title1 { + margin-left: 38vh; +} /* Basic navbar styling */ .header { @@ -711,6 +714,9 @@ border-radius: 0px; } +.switch-label{ + margin-right: 50px; +} diff --git a/diverseLiteracy.html b/diverseLiteracy.html index f1d837f4b..113a134c6 100644 --- a/diverseLiteracy.html +++ b/diverseLiteracy.html @@ -740,6 +740,10 @@ .dark-mode .navbar-link { color: #fff; } +#section-title1 { + margin-left: 38vh; +} + diff --git a/environmental-impact.html b/environmental-impact.html index 2c56c6f58..cfac719ee 100644 --- a/environmental-impact.html +++ b/environmental-impact.html @@ -508,6 +508,9 @@ } .chapter-card:hover .ben{ color: #d26d6d; +} +#section-title1 { + margin-left: 38vh; } From 75e7755aba230ad9a76f8d9e4d6e7aa2bf15bd80 Mon Sep 17 00:00:00 2001 From: Riya Chauhan <96919050+Riyachauhan11@users.noreply.github.com> Date: Sun, 10 Nov 2024 14:58:11 +0530 Subject: [PATCH 4/6] fix --- connectWithsame.html | 2 +- costefficient.html | 2 +- diverseLiteracy.html | 2 +- environmental-impact.html | 2 +- personalized-reading.html | 2 +- revitalize.html | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/connectWithsame.html b/connectWithsame.html index 7914b9fc3..9f6165bc6 100644 --- a/connectWithsame.html +++ b/connectWithsame.html @@ -740,7 +740,7 @@ margin: 0px; } #section-title1 { - margin-left: 38vh; + margin-left: 20vh; } diff --git a/costefficient.html b/costefficient.html index 4de8c3f55..0cbc650c5 100644 --- a/costefficient.html +++ b/costefficient.html @@ -699,7 +699,7 @@ min-height: 100vh; /* Ensures the background covers the full screen height */ } #section-title1 { - margin-left: 38vh; + margin-left: 20vh; } /* Basic navbar styling */ diff --git a/diverseLiteracy.html b/diverseLiteracy.html index 113a134c6..03d6a7483 100644 --- a/diverseLiteracy.html +++ b/diverseLiteracy.html @@ -741,7 +741,7 @@ color: #fff; } #section-title1 { - margin-left: 38vh; + margin-left: 20vh; } diff --git a/environmental-impact.html b/environmental-impact.html index cfac719ee..db9859ab3 100644 --- a/environmental-impact.html +++ b/environmental-impact.html @@ -510,7 +510,7 @@ color: #d26d6d; } #section-title1 { - margin-left: 38vh; + margin-left: 20vh; } @@ -802,183 +803,160 @@ }); -