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.
This commit is contained in:
iliana etaoin 2022-10-01 17:14:27 -07:00 committed by GitHub
parent fe91de67b6
commit b1d04f5b39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}