From 5d3195a741a884efc3d089af7fc5f64dff6d714f Mon Sep 17 00:00:00 2001 From: Zeti_1223 <121749710+zeti1223@users.noreply.github.com> Date: Sat, 24 Jan 2026 11:27:18 +0100 Subject: [PATCH 1/3] hover effect --- public/Login.html | 3 +++ public/Tools/Quiz/style.css | 4 ++++ public/Tools/To-Do/index.html | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/public/Login.html b/public/Login.html index eeb5b3d..613414a 100644 --- a/public/Login.html +++ b/public/Login.html @@ -64,6 +64,9 @@ cursor: pointer; font-size: 16px; } + button[type="submit"]:hover { + background: color-mix(in srgb, var(--ctp-mocha-teal) 80%, black); + } #error-message { color: var(--ctp-mocha-red); diff --git a/public/Tools/Quiz/style.css b/public/Tools/Quiz/style.css index 1e391f5..21cfe9a 100644 --- a/public/Tools/Quiz/style.css +++ b/public/Tools/Quiz/style.css @@ -44,3 +44,7 @@ button { border-radius: 5px; font-size: 16px; } + +button:hover { + background: color-mix(in srgb, var(--ctp-mocha-teal) 80%, black); +} diff --git a/public/Tools/To-Do/index.html b/public/Tools/To-Do/index.html index ebef1fb..c4afb7a 100644 --- a/public/Tools/To-Do/index.html +++ b/public/Tools/To-Do/index.html @@ -57,6 +57,10 @@ font-weight: bold; } + button:hover { + background: color-mix(in srgb, var(--ctp-mocha-teal) 80%, black); + } + ul { padding: 0; display: flex; From a93911a003e2db625a8c5e37e0566b9c10739776 Mon Sep 17 00:00:00 2001 From: Zeti_1223 <121749710+zeti1223@users.noreply.github.com> Date: Sat, 24 Jan 2026 11:41:13 +0100 Subject: [PATCH 2/3] Calc styles --- public/Tools/Calculator/index.html | 1 + public/Tools/Calculator/style.css | 33 ++++++++++++------------------ 2 files changed, 14 insertions(+), 20 deletions(-) diff --git a/public/Tools/Calculator/index.html b/public/Tools/Calculator/index.html index 87b6dc8..e83e45a 100644 --- a/public/Tools/Calculator/index.html +++ b/public/Tools/Calculator/index.html @@ -5,6 +5,7 @@ + diff --git a/public/Tools/Calculator/style.css b/public/Tools/Calculator/style.css index 7af339e..eca2058 100644 --- a/public/Tools/Calculator/style.css +++ b/public/Tools/Calculator/style.css @@ -1,15 +1,15 @@ body { - background: lightblue; font-family: Arial, sans-serif; transition: background 0.1s; - background-color: #000 !important; + background-color: var(--ctp-mocha-base) !important; + color: var(--ctp-mocha-text) !important; } .calc { font-family: Arial, sans-serif; text-rendering: geometricPrecision; width: 260px; - background: grey; + background-color: var(--ctp-mocha-surface0); margin: 100px auto 0 auto; border-radius: 5px; box-shadow: @@ -20,7 +20,6 @@ body { .display { font-family: "Roboto Condensed", sans-serif; - color: rgba(255, 255, 255, 0.8); background: rgba(0, 0, 0, 0.6); font-size: 35px; padding: 10px; @@ -34,7 +33,7 @@ body { .header .titles { text-transform: uppercase; letter-spacing: 2px; - color: rgba(0, 0, 0, 0.45); + color: var(--ctp-mocha-subtext1); font-size: 10px; font-weight: bold; margin-top: -8px; @@ -50,7 +49,7 @@ body { .display-indicate { font-size: 10px; - color: rgba(255, 255, 255, 0.05); + color: color-mix(in srgb, var(--ctp-mocha-subtext0) 30%, black);; text-align: left; margin: -5px 0 -2px -5px; text-transform: uppercase; @@ -59,12 +58,12 @@ body { } .max { - color: rgba(255, 150, 150, 0.8); + color: var(--ctp-mocha-red); } .display-operations { font-size: 15px; - color: rgba(255, 255, 255, 0.5); + color: var(--ctp-mocha-subtext0); border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 3px; margin-top: 4px; @@ -91,7 +90,7 @@ body { position: relative; top: 0; height: 41px; - color: rgba(0, 0, 0, 0.6); + color: var(--ctp-mocha-text); font-size: 16px; font-family: "Arial Bold", Gadget, Arial, sans-serif; font-weight: 700; @@ -100,24 +99,17 @@ body { border-radius: 2px; float: left; width: 56px; - background: rgba(255, 255, 255, 0.8); + background: var(--ctp-mocha-surface2); margin-left: 12px; text-transform: uppercase; border: 0; - box-shadow: - 0 1px 1px rgba(0, 0, 0, 0.2), - inset 0 1px 0 rgba(255, 255, 255, 0.6); transition: all 0.1s; cursor: pointer; user-select: none; } .button:hover { - box-shadow: - 0 2px 6px rgba(0, 0, 0, 0.15), - inset 0 1px 0 rgba(255, 255, 255, 0.6); - background: rgba(255, 255, 255, 0.95); - color: rgba(0, 0, 0, 0.8); + background: var(--ctp-mocha-surface1); } .button:active { @@ -133,12 +125,13 @@ body { .ac, .ce { - background: #ff8a80; + color: var(--ctp-mocha-base); + background: var(--ctp-mocha-teal); } .ac:hover, .ce:hover { - background: #ff5252; + background: color-mix(in srgb, var(--ctp-mocha-teal) 80%, black); } .minus { From 3bf56521488393f9531c71b37527fb127996ffa8 Mon Sep 17 00:00:00 2001 From: Zeti_1223 <121749710+zeti1223@users.noreply.github.com> Date: Sat, 24 Jan 2026 15:17:18 +0100 Subject: [PATCH 3/3] fix pr issue --- .github/workflows/firebase-hosting-pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 2bf8d46..5904b66 100755 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: npm ci && npm run build + - run: npm ci - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: ${{ secrets.GITHUB_TOKEN }}