mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-13 22:36:27 +03:00
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:
parent
fe91de67b6
commit
b1d04f5b39
1 changed files with 12 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue