mirror of https://github.com/Tim-Paik/srv.git
0.8.3-beta firefox dark mode bug fix
This commit is contained in:
parent
e407395080
commit
8db0f82d08
|
@ -2488,7 +2488,7 @@ checksum = "acdb075a845574a1fa5f09fd77e43f7747599301ea3417a9fbffdeedfc1f4a29"
|
|||
|
||||
[[package]]
|
||||
name = "web"
|
||||
version = "0.8.2-beta"
|
||||
version = "0.8.3-beta"
|
||||
dependencies = [
|
||||
"actix-files",
|
||||
"actix-http",
|
||||
|
|
|
@ -3,7 +3,7 @@ authors = ["Tim_Paik <timpaikc@outlook.com>"]
|
|||
description = "simple http server written in rust"
|
||||
edition = "2018"
|
||||
name = "web"
|
||||
version = "0.8.2-beta"
|
||||
version = "0.8.3-beta"
|
||||
|
||||
[dependencies]
|
||||
actix-files = "0.5"
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#header,
|
||||
#meta,
|
||||
#listing {
|
||||
font-family: sans-serif;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border-spacing: 0;
|
||||
|
@ -131,22 +132,37 @@
|
|||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html {
|
||||
color: #444444;
|
||||
filter: invert(1);
|
||||
|
||||
html,
|
||||
body,
|
||||
#header,
|
||||
#meta,
|
||||
#listing {
|
||||
color: #cacaca;
|
||||
background: #000000;
|
||||
}
|
||||
|
||||
#listing a span {
|
||||
filter: invert(1);
|
||||
#header nav span a {
|
||||
color: #cacaca;
|
||||
}
|
||||
|
||||
#header {
|
||||
padding: 1.5rem 5% 1rem;
|
||||
background-color: #0e0e0e;
|
||||
}
|
||||
|
||||
#listing table {
|
||||
border-top: 1px dashed #999999;
|
||||
}
|
||||
|
||||
#listing th,
|
||||
#listing td {
|
||||
border-bottom: 1px dashed #999999;
|
||||
}
|
||||
|
||||
#listing .goup svg,
|
||||
#listing .file svg {
|
||||
fill: #444444;
|
||||
}
|
||||
|
||||
#listing .dir svg {
|
||||
filter: invert(1);
|
||||
fill: #cacaca;
|
||||
}
|
||||
|
||||
#header a,
|
||||
|
|
Loading…
Reference in New Issue