file list style adjustments

This commit is contained in:
Til Schmitter 2026-04-27 23:21:01 +02:00
parent 2eb9abbb0f
commit a714713ea2

View file

@ -678,8 +678,7 @@ html.y #path {
} }
#files tbody a { #files tbody a {
display: block; display: block;
padding: .5em 0; padding: .5em;
margin: -.3em 0;
scroll-margin-top: 45vh; scroll-margin-top: 45vh;
} }
#files tr { #files tr {
@ -715,7 +714,7 @@ a:hover {
} }
#files a:hover { #files a:hover {
color: var(--fg-max); color: var(--fg-max);
background: var(--bg-d3); background: color-mix(var(--a) 20%, transparent);
text-decoration: underline; text-decoration: underline;
} }
#files thead th { #files thead th {
@ -749,8 +748,7 @@ a:hover {
} }
#files tbody tr:hover td, #files tbody tr:hover td,
#files tbody tr:hover td+td { #files tbody tr:hover td+td {
background: var(--bg-d1); background: color-mix(var(--bg-max) 30%, transparent);
box-shadow: 0 1px 0 var(--bg-u5) inset, 0 -1px 0 var(--bg-u5) inset;
} }
#files thead th { #files thead th {
padding: .3em; padding: .3em;
@ -774,6 +772,9 @@ html #files.hhpick thead th {
word-wrap: break-word; word-wrap: break-word;
overflow: hidden; overflow: hidden;
} }
#files td:has(a) {
padding: 0;
}
#files tr.fade a { #files tr.fade a {
color: #999; color: #999;
color: rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.4);