Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 13, 10:30 UTC
fileserver: better dark mode visited link contrast (#5105)
PR #4066 added a dark color scheme to the file_server browse template. PR #4356 later set the links for the `:visited` pseudo-class, but did not set anything for the dark mode, resulting in poor contrast. I selected some new colors by feel. This commit also adds an `a:visited:hover` for both, to go along with the normal blue hover colors.
iliana etaoin committed
Oct 1, 2022 at 17:14 UTC
b1d04f5b39df58e092ad503e9ccd0584b30936a1
1 file changed
+12
modules/caddyhttp/fileserver/browse.html
+12
@@ -27,6 +27,10 @@ a:visited {
27
color: #800080;
28
}
29
30
+a:visited:hover {
31
+ color: #b900b9;
32
+}
33
+
34
header,
35
#summary {
36
padding-left: 5%;
@@ -244,6 +248,14 @@ footer {
248
color: #62b2fd;
249
}
250
251
+ a:visited {
252
+ color: #c269c2;
253
+ }
254
+
255
+ a:visited:hover {
256
+ color: #d03cd0;
257
+ }
258
+
259
tr {
260
border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
261
}