From ccbf4f2658926b2229b7704e43078babd2a61116 Mon Sep 17 00:00:00 2001 From: Amit Bora Date: Sun, 27 Oct 2024 01:05:42 +0530 Subject: [PATCH] fix translate button --- client/visi.css | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/client/visi.css b/client/visi.css index 5aaf71b..45c4929 100644 --- a/client/visi.css +++ b/client/visi.css @@ -73,4 +73,43 @@ background-color: rgba(0, 0, 0, 0.7); /* Darker background for dark mode */ box-shadow: 0 6px 12px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(255, 255, 255, 0.05); + } + + .dark-mode .visitor-counter div { + color: #f0f0f0; /* Lighter text for dark mode */ + } + + .dark-mode .visitor-counter .website-counter { + color: #f0f0f0; /* Lighter color for consistency */ + } + + .dark-mode .visitor-counter { + background-color: rgba(0, 0, 0, 0.7); /* Darker background for dark mode */ + box-shadow: 0 6px 12px rgba(255, 255, 255, 0.1), + 0 2px 4px rgba(255, 255, 255, 0.05); + } + + div .gt_float_switcher { + font-size: 14px; + background: #1e1e1e; + border-radius: 10px; + color: white; + } + + div .gt_float_switcher .gt_options a { + font-size: 14px; + background: #1e1e1e; + color: white; + } + + .gt-current-lang { + background-color: #1e1e1e; + } + + div .gt-lang-code { + color: white; + } + + div .gt_float_switcher-arrow { + color: white; } \ No newline at end of file