mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-01 21:59:11 +00:00
Base: Support dark mode in directory page
This commit is contained in:
parent
21c5373456
commit
45fabea0c2
Notes:
sideshowbarker
2024-07-17 00:25:35 +09:00
Author: https://github.com/jamierocks
Commit: 45fabea0c2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/494
Reviewed-by: https://github.com/tcl3
1 changed files with 11 additions and 0 deletions
|
@ -4,6 +4,17 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Index of %path%</title>
|
<title>Index of %path%</title>
|
||||||
<style>
|
<style>
|
||||||
|
/* FIXME: We should be able to remove the HTML style when "color-scheme" is supported */
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
html {
|
||||||
|
background-color: rgb(20, 20, 20);
|
||||||
|
color: rgb(235, 235, 235);
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: cornflowerblue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue