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]]
|
[[package]]
|
||||||
name = "web"
|
name = "web"
|
||||||
version = "0.8.2-beta"
|
version = "0.8.3-beta"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"actix-files",
|
"actix-files",
|
||||||
"actix-http",
|
"actix-http",
|
||||||
|
|
|
@ -3,7 +3,7 @@ authors = ["Tim_Paik <timpaikc@outlook.com>"]
|
||||||
description = "simple http server written in rust"
|
description = "simple http server written in rust"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "web"
|
name = "web"
|
||||||
version = "0.8.2-beta"
|
version = "0.8.3-beta"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix-files = "0.5"
|
actix-files = "0.5"
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#header,
|
#header,
|
||||||
#meta,
|
#meta,
|
||||||
#listing {
|
#listing {
|
||||||
|
font-family: sans-serif;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
|
@ -131,22 +132,37 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
html {
|
|
||||||
color: #444444;
|
html,
|
||||||
filter: invert(1);
|
body,
|
||||||
|
#header,
|
||||||
|
#meta,
|
||||||
|
#listing {
|
||||||
|
color: #cacaca;
|
||||||
|
background: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
#listing a span {
|
#header nav span a {
|
||||||
filter: invert(1);
|
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 .goup svg,
|
||||||
#listing .file svg {
|
#listing .file svg {
|
||||||
fill: #444444;
|
fill: #cacaca;
|
||||||
}
|
|
||||||
|
|
||||||
#listing .dir svg {
|
|
||||||
filter: invert(1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#header a,
|
#header a,
|
||||||
|
|
Loading…
Reference in New Issue