Browse Source

tweak dark mode css link colors

Thomas Buck 6 months ago
parent
commit
e59c36d767
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/html.cpp

+ 4
- 0
src/html.cpp View File

@@ -91,6 +91,8 @@ void handlePage(WiFiClient &client, int mode, int id) {
91 91
     message += F(        "background-color: black;");
92 92
     message += F(        "color: white;");
93 93
     message += F(    "}");
94
+    message += F(    "a:link { color: yellow; }");
95
+    message += F(    "a:visited { color: orange; }");
94 96
     message += F(    ".log {\n");
95 97
     message += F(        "border-color: white;");
96 98
     message += F(    "}");
@@ -427,6 +429,8 @@ void handleReset() {
427 429
     message += F(        "background-color: black;");
428 430
     message += F(        "color: white;");
429 431
     message += F(    "}");
432
+    message += F(    "a:link { color: yellow; }");
433
+    message += F(    "a:visited { color: orange; }");
430 434
     message += F("}");
431 435
     message += F("</style>");
432 436
     message += F("</head><body>");

Loading…
Cancel
Save