mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-13 22:51:08 -05:00
fileserver: browse: minor tweaks for grid view, dark mode (#5545)
* Make grid entries take up full width on mobile and fix breadcrumb color issue in dark mode Signed-off-by: Pistasj <odyssey346@disroot.org> * Do mholt's suggestions Signed-off-by: Pistasj <odyssey346@disroot.org> --------- Signed-off-by: Pistasj <odyssey346@disroot.org>
This commit is contained in:
parent
2615c9c524
commit
cdd3884b32
1 changed files with 15 additions and 5 deletions
|
@ -621,7 +621,12 @@ footer {
|
|||
#filter {
|
||||
max-width: 100px;
|
||||
}
|
||||
|
||||
.grid .entry {
|
||||
max-width: initial;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html {
|
||||
|
@ -647,6 +652,10 @@ footer {
|
|||
color: white;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: white;
|
||||
}
|
||||
|
||||
h1 a:hover {
|
||||
background: hsl(213deg 100% 73% / 20%);
|
||||
}
|
||||
|
@ -714,6 +723,7 @@ footer {
|
|||
stroke: #ccc !important;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
{{- if eq .Layout "grid"}}
|
||||
<style>.wrapper { max-width: none; } main { margin-top: 1px; }</style>
|
||||
|
|
Loading…
Add table
Reference in a new issue