diff options
author | iliana etaoin <iliana@buttslol.net> | 2022-10-01 17:14:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 18:14:27 -0600 |
commit | b1d04f5b39df58e092ad503e9ccd0584b30936a1 (patch) | |
tree | 800ea6ac8d051e57a8d4bfabcd13d64331e05bf3 | |
parent | fe91de67b62c0089a04f24f99f527ad8d92c3d1b (diff) |
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.
-rw-r--r-- | modules/caddyhttp/fileserver/browse.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/caddyhttp/fileserver/browse.html b/modules/caddyhttp/fileserver/browse.html index c0ea131..01537fc 100644 --- a/modules/caddyhttp/fileserver/browse.html +++ b/modules/caddyhttp/fileserver/browse.html @@ -27,6 +27,10 @@ a:visited { color: #800080; } +a:visited:hover { + color: #b900b9; +} + header, #summary { padding-left: 5%; @@ -244,6 +248,14 @@ footer { color: #62b2fd; } + a:visited { + color: #c269c2; + } + + a:visited:hover { + color: #d03cd0; + } + tr { border-bottom: 1px dashed rgba(255, 255, 255, 0.12); } |