From 8092b50a4c6b81049be2e3db75ccf2d879a6b1bf Mon Sep 17 00:00:00 2001 From: Subham1 Date: Sat, 26 Oct 2024 11:05:33 +0530 Subject: [PATCH 1/2] dark mode --- cookie_policy.html | 65 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/cookie_policy.html b/cookie_policy.html index cdec006a..a83b1a31 100644 --- a/cookie_policy.html +++ b/cookie_policy.html @@ -162,6 +162,57 @@ font-size: 0.95rem; } } + :root { + --bg-color: #fff; + --text-color: #333; + --toc-bg: #e9ecef; + --link-color: #007bff; + } + + body { + background-color: var(--bg-color); + color: var(--text-color); + } + + a { + color: var(--link-color); + } + + /* Dark Mode Variables */ + body.dark-mode { + --bg-color: #000; + --text-color: #fff; + --toc-bg: #333; + --link-color: #90caf9; + } + + .dark-mode .container { + background-color: var(--bg-color); + } + + .dark-mode-toc { + background-color: var(--toc-bg); + } + + .dark-mode-toc ul li a, + .dark-mode h1, + .dark-mode h2, + .dark-mode p, + .dark-mode ul li { + color: var(--text-color); + } + + .dark-mode-content { + background-color: var(--bg-color); + } + + .dark-mode-content h1, + .dark-mode-content h2, + .dark-mode-content p, + .dark-mode-content li { + color: var(--text-color); + } + @@ -319,6 +370,18 @@

Follow Us

}; - + + From b567b4fb69247a00593faddb003eca85b5789596 Mon Sep 17 00:00:00 2001 From: Subham1 Date: Sat, 26 Oct 2024 11:58:21 +0530 Subject: [PATCH 2/2] dark mode --- cookie_policy.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookie_policy.html b/cookie_policy.html index a83b1a31..f6e0616f 100644 --- a/cookie_policy.html +++ b/cookie_policy.html @@ -250,7 +250,7 @@

BuddyTrail