From 21ddba5e0fe4ead2aba6a0d6725b37af677816f4 Mon Sep 17 00:00:00 2001 From: Ankitha R <149484435+Ankitha2130@users.noreply.github.com> Date: Tue, 15 Oct 2024 12:24:41 +0530 Subject: [PATCH 01/25] Update index.html --- index.html | 47 ++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 42 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 4f406a5..db56a2e 100644 --- a/index.html +++ b/index.html @@ -55,7 +55,7 @@ display: block; /* Show on hover */ } body { - background-image: url(https://www.hitaambrish.com/stat/img/home/quotes-bg.jpg); + background-image: var(--bg-color); font-family: Arial, sans-serif; padding: 0; margin: 0; @@ -113,7 +113,7 @@ max-width: 900px; margin: 100px auto; padding: 20px 40px; - background-color: #fff; + background-color: var(--primary-color); border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } @@ -621,7 +621,7 @@ max-width: 900px; margin: 50px auto; padding: 20px; - background-color: #fff; + background-color: var(--primary-color); border-radius: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); } @@ -647,11 +647,11 @@ width: 100%; padding: 15px; text-align: left; - background-color: #f7f7f7; + background-color: var(--ternary-color); border: none; font-size: 18px; font-weight: bold; - color: #333; + color: var(--secondary-color); cursor: pointer; outline: none; transition: background-color 0.3s ease; @@ -687,6 +687,30 @@ } } /* faq css end */ + + #content-english p{ + color: var(--secondary-color); + } + #content-hindi p{ + color: var(--secondary-color); + } + + #icon{ + width: 30px; + cursor: pointer; + } + :root{ + --bg-color: url(https://www.hitaambrish.com/stat/img/home/quotes-bg.jpg); + --primary-color: #fff; + --secondary-color: #0e0e0e; + --ternary-color: #f7f7f7; + } + .dark-theme{ + --bg-color: url(https://www.hitaambrish.com/stat/img/home/Gallery_Bg.jpg); + --primary-color: #0e0e0e; + --secondary-color: #fff; + --ternary-color: rgba(32, 26, 26, 0.785); + } @@ -705,6 +729,7 @@ Discussion Forum Devotional Resources Avatars +
@@ -1207,6 +1232,18 @@

Follow Us

- \ No newline at end of file + From 7d08e6ddaee8d7bc2a89d78256fe9b900eb99c4e Mon Sep 17 00:00:00 2001 From: Ankitha R <149484435+Ankitha2130@users.noreply.github.com> Date: Tue, 15 Oct 2024 12:56:55 +0530 Subject: [PATCH 05/25] Update script.js --- script.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/script.js b/script.js index 012a0c8..1cd89be 100644 --- a/script.js +++ b/script.js @@ -21,6 +21,18 @@ function toggleLanguage() { } } +var icon=document.getElementById("icon"); + + icon.onclick = function() { + document.body.classList.toggle("dark-theme"); + if(document.body.classList.contains("dark-theme")){ + icon.src="images/sun.png"; + } + else{ + icon.src="images/moon.png"; + } + } + const krishnaImage = document.getElementById("krishnaImage"); const imagePaths = [ "./images/krishna-home-image.jpg", From 19b6580cac9b2d038ae23306f8a7e1c27724e05c Mon Sep 17 00:00:00 2001 From: Ankitha R <149484435+Ankitha2130@users.noreply.github.com> Date: Tue, 15 Oct 2024 13:29:50 +0530 Subject: [PATCH 06/25] Update bhagavad_gita_details.html --- bhagavad_gita_details.html | 49 ++++++++++++++++++++++++++++++++------ 1 file changed, 42 insertions(+), 7 deletions(-) diff --git a/bhagavad_gita_details.html b/bhagavad_gita_details.html index 47fa57e..96081e7 100644 --- a/bhagavad_gita_details.html +++ b/bhagavad_gita_details.html @@ -8,8 +8,8 @@ - +
← Back to Scriptures

The Bhagavad Gita

@@ -833,6 +856,18 @@

Chapter 3, Verse 30 - Detachment in ActionChapter 3, Verse 30 - Detachment in Action - \ No newline at end of file + From 7ab95891ccd46eeae3995c55f09bfefa81fdb564 Mon Sep 17 00:00:00 2001 From: Ankitha R <149484435+Ankitha2130@users.noreply.github.com> Date: Tue, 15 Oct 2024 13:50:09 +0530 Subject: [PATCH 07/25] Update chatbot.html --- chatbot.html | 44 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/chatbot.html b/chatbot.html index 1d10a4f..f2c5a95 100644 --- a/chatbot.html +++ b/chatbot.html @@ -21,6 +21,7 @@ +
-
+
🌸🌸🌸How can I help you today?🌸🌸🌸 @@ -97,16 +98,43 @@ .chat-container { width: 100%; max-width: 500px; + background-color: var(--primary-color); } body, html { margin: 0; padding: 0; - background-color: #eef4f9; /* Optional: to visualize the centering */ + background-color: var(--bg-color); /* Optional: to visualize the centering */ } + + #output-field{ + color: var(--secondary-color); + } + + #icon{ + width: 30px; + cursor: pointer; + position: absolute; + right: 125px; + top: 50px; + } + + :root{ + --bg-color: #eef4f9; + --primary-color: #fff; + --secondary-color: #0e0e0e; + } + .dark-theme{ + --bg-color: #afb1b2; + --primary-color: #0e0e0e; + --secondary-color: #fff; + } + + + @@ -561,6 +572,7 @@ >Discussion Forum Devotional Resources +
@@ -667,6 +679,18 @@

Follow Us

@@ -382,6 +395,7 @@ Devotional Resources +

@@ -1324,6 +1338,17 @@

Follow Us

- \ No newline at end of file + From 77c786ccc67ad0ebdf21767da373699a6746fdd5 Mon Sep 17 00:00:00 2001 From: Ankitha R <149484435+Ankitha2130@users.noreply.github.com> Date: Tue, 15 Oct 2024 15:16:04 +0530 Subject: [PATCH 15/25] Update mahabharata_details.html --- mahabharata_details.html | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/mahabharata_details.html b/mahabharata_details.html index 2890dab..dab5d25 100644 --- a/mahabharata_details.html +++ b/mahabharata_details.html @@ -8,7 +8,7 @@ +
@@ -619,4 +643,4 @@

Famous Quotes

} - \ No newline at end of file + From 3cb772b76ab3150536cbdced60b6284d8df2dcc4 Mon Sep 17 00:00:00 2001 From: Ankitha R <149484435+Ankitha2130@users.noreply.github.com> Date: Tue, 15 Oct 2024 15:50:05 +0530 Subject: [PATCH 16/25] Update meera-bai.html --- meera-bai.html | 336 +++++-------------------------------------------- 1 file changed, 33 insertions(+), 303 deletions(-) diff --git a/meera-bai.html b/meera-bai.html index 981b999..4ec42b8 100644 --- a/meera-bai.html +++ b/meera-bai.html @@ -11,7 +11,7 @@ - + @@ -682,6 +400,7 @@ Gallery Discussion Forum Devotional Resources +
@@ -836,6 +555,17 @@

Follow Us

- \ No newline at end of file + From dedf22a11ba72683a98478f4ef00292529c9b80e Mon Sep 17 00:00:00 2001 From: Ankitha R <149484435+Ankitha2130@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:57:44 +0530 Subject: [PATCH 24/25] Update srimad_bhagavatam_details.html --- srimad_bhagavatam_details.html | 37 ++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/srimad_bhagavatam_details.html b/srimad_bhagavatam_details.html index a47df21..d9e94ef 100644 --- a/srimad_bhagavatam_details.html +++ b/srimad_bhagavatam_details.html @@ -8,7 +8,7 @@ +
@@ -291,5 +315,6 @@

First Verse of Srimad Bhagavatam (1.1.1)

// Call this function when the page loads to set the initial button text updateToggleButton(); + - \ No newline at end of file + From ff62b3df3bf15fde348dfe2088d8d3e194115515 Mon Sep 17 00:00:00 2001 From: Ankitha R <149484435+Ankitha2130@users.noreply.github.com> Date: Tue, 15 Oct 2024 17:03:24 +0530 Subject: [PATCH 25/25] Update stories-of-devotees.html --- stories-of-devotees.html | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/stories-of-devotees.html b/stories-of-devotees.html index 43b0278..0273878 100644 --- a/stories-of-devotees.html +++ b/stories-of-devotees.html @@ -11,7 +11,7 @@ @@ -345,6 +359,7 @@ Gallery Discussion Forum Devotional Resources +