From 5145a9fbf3e81ff18b886b001ecc7df7df351847 Mon Sep 17 00:00:00 2001 From: Neeru <161798182+neeru24@users.noreply.github.com> Date: Sat, 2 Nov 2024 16:31:38 +0000 Subject: [PATCH] Commit Changes --- assets/css/index.css | 48 +++++++++++++++++++++++++++++++++++++++++--- index.html | 20 +++++++++--------- 2 files changed, 55 insertions(+), 13 deletions(-) diff --git a/assets/css/index.css b/assets/css/index.css index 9af84959..62c699e1 100644 --- a/assets/css/index.css +++ b/assets/css/index.css @@ -29,6 +29,48 @@ main { } /* Header Styles */ +/* Dark Theme Styles */ +body.dark-mode { + background-color: #121212; + color: #fff; +} + +#forum-title.dark-mode { + color: #fff; +} + +.post-container.dark-mode { + background: #222; + color: #fff; +} + +.post-container.dark-mode textarea { + background: #333; + border-color: #555; + color: #fff; +} + +.post-container.dark-mode textarea:focus { + border-color: #fff; +} + +#submit-button.dark-mode { + background: #555; + color: #fff; +} + +#submit-button.dark-mode:hover { + background: #777; +} + +.post.dark-mode { + background: #333; + color: #fff; +} + +.post.dark-mode:hover { + background: #444; +} .destinations h1 { color: #2f6be5; text-align: center; @@ -38,7 +80,7 @@ main { /* Post Container */ .post-container { - background: white; + background: rgb(156, 207, 216); padding: 20px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); @@ -83,14 +125,14 @@ button:hover { .post { margin: 15px 0; padding: 15px; - background: #e8e8e8; + background: #def1b9; border-radius: 8px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); transition: background 0.3s; } .post:hover { - background: #d4d4d4; /* Slightly darker on hover */ + background: #e6e7a3; } /* Scroll Button */ diff --git a/index.html b/index.html index 114f96dc..db915823 100644 --- a/index.html +++ b/index.html @@ -1303,16 +1303,16 @@