From 89e86f80992314a68ccd653ca2a868b05439faef Mon Sep 17 00:00:00 2001 From: mansi066 Date: Sun, 10 Nov 2024 18:00:48 +0530 Subject: [PATCH 1/4] Update index.html and style.css --- .github/ISSUE_TEMPLATE/documentation.yml | 70 ++++++------------------ css/style.css | 11 +++- index.html | 8 +-- navbar.css | 2 + styles.css | 1 + 5 files changed, 33 insertions(+), 59 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml index 554caab7..6d917b1a 100644 --- a/.github/ISSUE_TEMPLATE/documentation.yml +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -1,71 +1,37 @@ -name: 📝 Documentation Update -description: Improve Documentation -title: "[Doc]: " -labels: [documentation] +name: "📝 Documentation Update" +description: "Propose an update or correction to the documentation" +title: "DOC UPDATE:" +labels: ["Documentation"] body: - - type: checkboxes - id: existing-issue - attributes: - label: Is there an existing issue for this? - description: Please search to see if an issue already exists for the updates you want to make. - options: - - label: I have searched the existing issues - required: true - - type: textarea - id: issue-description attributes: - label: Issue Description - description: Please provide a clear description of the documentation update you are suggesting. - placeholder: Describe the improvement or correction you'd like to see in the documentation. + label: "Documentation Page" + description: "Which page or section of the documentation needs to be updated?" validations: required: true - - type: textarea - id: suggested-change attributes: - label: Suggested Change - description: Provide details of the proposed change to the documentation. - placeholder: Explain how the documentation should be updated or corrected. + label: "Description of Changes" + description: "Describe the changes you propose for the documentation." validations: required: true - - type: textarea - id: rationale attributes: - label: Rationale - description: Why is this documentation update necessary or beneficial? - placeholder: Explain the importance or reasoning behind the suggested change. + label: "Reason for Update" + description: "Explain why these changes are necessary or beneficial." validations: required: false - - - type: dropdown - id: urgency + - type: textarea attributes: - label: Urgency - description: How urgently do you believe this documentation update is needed? - options: - - High - - Medium - - Low - default: 0 + label: "Screenshots/Logs" + description: "If applicable, add screenshots or logs that can help us understand the issue better." validations: - required: true - + required: false - type: checkboxes - id: terms attributes: - label: Acknowledgements - description: Ensure you have read and agree to the project's guidelines. + label: "Additional Information" options: - - label: I have read the [Contributing Guidelines](https://github.com/alo7lika/master-web-development/blob/test/CONTRIBUTING.md)* - required: true - - label: I'm a GSSOC'24-Extd contributor - - label: I'm a Hacktoberfest contributor - - label: I have starred the repository + - label: "I have checked the documentation for accuracy" required: true - - label: 'I am willing to work on this issue (optional)' - required: false - - - + - label: "I am willing to help with this update" + - label: "I can provide further clarification if needed" \ No newline at end of file diff --git a/css/style.css b/css/style.css index 6524d55c..8f2399a3 100644 --- a/css/style.css +++ b/css/style.css @@ -739,9 +739,14 @@ body { } .icon { - position: fixed; - top: 1rem; - right: 1rem; + position: absolute; + right: 0rem; + display: flex; + flex-direction: row-reverse; + flex-wrap: wrap; + align-content: center; + justify-content: flex-end; + align-items: flex-end; } #toggle-mode-btn { diff --git a/index.html b/index.html index 6558a16f..2abfe304 100644 --- a/index.html +++ b/index.html @@ -166,7 +166,7 @@ - + diff --git a/navbar.css b/navbar.css index c9456eda..1997f539 100644 --- a/navbar.css +++ b/navbar.css @@ -230,7 +230,9 @@ body { align-items: center; justify-content: center; border-bottom: 1px solid var(--accent-color); + margin-top: -18px; } + /* Navbar list */ .navbar ul { list-style: none; diff --git a/styles.css b/styles.css index 13d9db6d..e5687772 100644 --- a/styles.css +++ b/styles.css @@ -337,6 +337,7 @@ display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--accent-color); +margin-top: -18px; } /* Navbar list */ .navbar ul { From cb68c6abcfbae6c48c7c93aeb638f3c0c946e2a4 Mon Sep 17 00:00:00 2001 From: mansi066 Date: Sun, 10 Nov 2024 18:16:12 +0530 Subject: [PATCH 2/4] Change Story builder.html --- index.html | 2 +- story-builder.html | 118 +++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 116 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 2abfe304..97ad9519 100644 --- a/index.html +++ b/index.html @@ -590,7 +590,7 @@

Virtual Garden Planner

- +

Story Builder

diff --git a/story-builder.html b/story-builder.html index 24bdc014..4d64d5e6 100644 --- a/story-builder.html +++ b/story-builder.html @@ -4,6 +4,7 @@ Interactive Story Builder + - - + + :root { /* Light theme colors */ + --background-color: linear-gradient(to right, #ffcccb, #ffebcd); + --text-color: #000000; + --navbar-background: #f8f9fa; + --navbar-text: #000000; + --link-color: #1a73e8; + --button-background: #008cba; + --button-text: #ffffff; + } [data-theme="dark"] { /* Dark theme colors */ + --background-color: #121212; + --text-color: #ffffff; + --navbar-background: #333333; + --navbar-text: #ffffff; + --link-color: #bb86fc; + --button-background: #3d3d3d; + --button-text: #ffffff; + } + [data-theme="dark"] #container { + background-color: #222; + border-radius: 8px; + box-shadow: 0 4px 20px #f1f1f15c; + padding: 20px; + width: 80%; + max-width: 800px; + text-align: center; +} +[data-theme="dark"] +.story-builder-container { + width: 90%; + max-width: 700px; + background: #222; + padding: 20px; + box-shadow: -1px 0px 11px 6px #3d3d3d; + border-radius: 10px; +} +[data-theme="dark"] +input[type="text"] { + width: 70%; + padding: 10px; + color: #ddd; + border: 1px solid #ddd; + border-radius: 5px; + background-color: #333; +} +[data-theme="dark"] +th { + background-color: #222; +} + +[data-theme="dark"] +h1 { + margin-bottom: 20px; + color: #f1f1f1; +} + * { + padding: 0; + margin: 0; box-sizing: + border-box; + } + body { + font-family: "Poppins", sans-serif; + /* background-color: var(--background-color); */ + color: var(--text-color); + font-family: 'Roboto', sans-serif; + background: var(--background-color); + padding: 20px; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; /* Full height */ + } + #navbar ul { list-style: none; + padding: 0; + } #navbar ul li { + display: inline; + margin-right: 10px; + } + #navbar ul li a { + color: var(--navbar-text); + text-decoration: none; + } + button { + border: none; + display: inline-flex; + appearance: none; + align-items: center; + justify-content: center; + border-radius: 9999px; + padding: 8px; + align-items: center; + background-color: #f43f5e; + color: #ffffff; + cursor: pointer; + } + #theme-toggle + { position: fixed; + top: 10px; + right: 10px; + } + + + +
+ +

Interactive Story Builder

From 1745e4312607ad28b4fc1d183b7782c3fd88d121 Mon Sep 17 00:00:00 2001 From: mansi066 Date: Sun, 10 Nov 2024 18:27:35 +0530 Subject: [PATCH 3/4] Add dark theme --- garden-planner.html | 112 +++++++++++++++++- .../static/js/main.aa8fead0.js.LICENSE.txt | 2 +- 2 files changed, 110 insertions(+), 4 deletions(-) diff --git a/garden-planner.html b/garden-planner.html index 405fddd0..9ff42d64 100644 --- a/garden-planner.html +++ b/garden-planner.html @@ -4,6 +4,7 @@ Virtual Gardening Planner + - - + :root { /* Light theme colors */ + --background-color: linear-gradient(to right, #ffcccb, #ffebcd); + --text-color: #000000; + --navbar-background: #f8f9fa; + --navbar-text: #000000; + --link-color: #1a73e8; + --button-background: #008cba; + --button-text: #ffffff; + } [data-theme="dark"] { /* Dark theme colors */ + --background-color: #121212; + --text-color: #ffffff; + --navbar-background: #333333; + --navbar-text: #ffffff; + --link-color: #bb86fc; + --button-background: #3d3d3d; + --button-text: #ffffff; + } + [data-theme="dark"] #container { + background-color: #222; + border-radius: 8px; + box-shadow: 0 4px 20px #f1f1f15c; + padding: 20px; + width: 80%; + max-width: 800px; + text-align: center; +} +[data-theme="dark"] +.story-builder-container { + width: 90%; + max-width: 700px; + background: #222; + padding: 20px; + box-shadow: -1px 0px 11px 6px #3d3d3d; + border-radius: 10px; +} +[data-theme="dark"] +input[type="text"] { + width: 70%; + padding: 10px; + color: #ddd; + border: 1px solid #ddd; + border-radius: 5px; + background-color: #333; +} +[data-theme="dark"] +th { + background-color: #222; +} + + + * { + padding: 0; + margin: 0; box-sizing: + border-box; + } + body { + font-family: "Poppins", sans-serif; + /* background-color: var(--background-color); */ + color: var(--text-color); + font-family: 'Roboto', sans-serif; + background: var(--background-color); + padding: 20px; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; /* Full height */ + } + #navbar ul { list-style: none; + padding: 0; + } #navbar ul li { + display: inline; + margin-right: 10px; + } + #navbar ul li a { + color: var(--navbar-text); + text-decoration: none; + } + button { + border: none; + display: inline-flex; + appearance: none; + align-items: center; + justify-content: center; + border-radius: 9999px; + padding: 8px; + align-items: center; + background-color: #f43f5e; + color: #ffffff; + cursor: pointer; + } + #theme-toggle + { position: fixed; + top: 10px; + right: 10px; + } + + + +
+

Virtual Gardening Planner

diff --git a/projects/Bakery-Management-System/static/js/main.aa8fead0.js.LICENSE.txt b/projects/Bakery-Management-System/static/js/main.aa8fead0.js.LICENSE.txt index db8b8a5d..d04833ac 100644 --- a/projects/Bakery-Management-System/static/js/main.aa8fead0.js.LICENSE.txt +++ b/projects/Bakery-Management-System/static/js/main.aa8fead0.js.LICENSE.txt @@ -194,7 +194,7 @@ object-assign /** * @license - * jsPDF virtual FileSystem functionality + * jsPDF FileSystem functionality * * Licensed under the MIT License. * http://opensource.org/licenses/mit-license From 4705311ee0df83c663f01e5874af797813d2ffaf Mon Sep 17 00:00:00 2001 From: mansi066 Date: Sun, 10 Nov 2024 18:42:26 +0530 Subject: [PATCH 4/4] Dark mode theme added --- projects/guess_the_shape/index.html | 16 +++- projects/guess_the_shape/styles.css | 117 ++++++++++++++++++++++++++++ 2 files changed, 132 insertions(+), 1 deletion(-) diff --git a/projects/guess_the_shape/index.html b/projects/guess_the_shape/index.html index 4a9186fb..67067041 100644 --- a/projects/guess_the_shape/index.html +++ b/projects/guess_the_shape/index.html @@ -5,8 +5,22 @@ Guess the Shape! + + - + + +
+ +

Guess the Shape!

diff --git a/projects/guess_the_shape/styles.css b/projects/guess_the_shape/styles.css index 5ddecdaa..f8e61a83 100644 --- a/projects/guess_the_shape/styles.css +++ b/projects/guess_the_shape/styles.css @@ -57,3 +57,120 @@ body { font-weight: bold; color: #ff7f50; } +:root { /* Light theme colors */ + --background-color: linear-gradient(to right, #ffcccb, #ffebcd); + --text-color: #000000; + --navbar-background: #f8f9fa; + --navbar-text: #000000; + --link-color: #1a73e8; + --button-background: #008cba; + --button-text: #ffffff; +} [data-theme="dark"] { /* Dark theme colors */ + --background-color: #121212; + --text-color: #ffffff; + --navbar-background: #333333; + --navbar-text: #ffffff; + --link-color: #bb86fc; + --button-background: #3d3d3d; + --button-text: #ffffff; + } + [data-theme="dark"] #container { +background-color: #222; +border-radius: 8px; +box-shadow: 0 4px 20px #f1f1f15c; +padding: 20px; +width: 80%; +max-width: 800px; +text-align: center; +} +[data-theme="dark"] +.story-builder-container { +width: 90%; +max-width: 700px; +background: #222; +padding: 20px; +box-shadow: -1px 0px 11px 6px #3d3d3d; +border-radius: 10px; +} +[data-theme="dark"] +input[type="text"] { +width: 70%; +padding: 10px; +color: #ddd; +border: 1px solid #ddd; +border-radius: 5px; +background-color: #333; +} +[data-theme="dark"] +th { +background-color: #222; +} + + + * { + padding: 0; + margin: 0; box-sizing: + border-box; + } + body { + font-family: "Poppins", sans-serif; + /* background-color: var(--background-color); */ + color: var(--text-color); + font-family: 'Roboto', sans-serif; + background: var(--background-color); + padding: 20px; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; /* Full height */ + } + #navbar ul { list-style: none; + padding: 0; + } #navbar ul li { + display: inline; + margin-right: 10px; + } + #navbar ul li a { + color: var(--navbar-text); + text-decoration: none; + } + button { + border: none; +display: inline-flex; +appearance: none; +align-items: center; +justify-content: center; +border-radius: 9999px; +padding: 8px; +align-items: center; +background-color: #f43f5e; +color: #ffffff; +cursor: pointer; +} + #theme-toggle + { position: fixed; + top: 10px; + right: 10px; + } + + #clue { + font-size: 1.2em; + margin-bottom: 20px; + color: black; +} +[data-theme="dark"] +.game-container { + text-align: center; + background: #222; + padding: 30px; + border-radius: 15px; + box-shadow: 0 8px 16px #f1f1f1; + width: 90%; + max-width: 400px; +} +[data-theme="dark"] +#clue { + font-size: 1.2em; + margin-bottom: 20px; + color: #f1f1f1; +} \ No newline at end of file