diff --git a/.vscode/settings.json b/.vscode/settings.json index a0de46ff..85245c9e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "liveServer.settings.port": 5504 + "liveServer.settings.port": 5505 } \ No newline at end of file diff --git a/F&Q.html b/F&Q.html index a079e3cb..18e2ccfa 100644 --- a/F&Q.html +++ b/F&Q.html @@ -208,6 +208,50 @@ .btn-view-itinerary:hover { background-color: #0056b3; } + +/* darkmode */ + body { + background-color: white; + color: black; + transition: background-color 0.3s, color 0.3s; +} + +body.dark-mode { + background-color: #121212; + color: #ffffff; +} + +header.dark-mode { + background-color: #1f1f1f; +} + +.mode-toggle { + cursor: pointer; + border: none; + background: transparent; + outline: none; + padding: 10px; +} + +.mode-toggle img { + width: 24px; + height: 24px; +} + +.navbar { + background-color: #f0f0f0; + transition: background-color 0.3s; +} + +body.dark-mode .navbar { + background-color: #333; +} + +body.dark-mode .navbar a:hover { + color: #4C51BF; + transform: translateY(-2px); +} + @@ -527,6 +571,68 @@