aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2023-08-25 19:45:04 +0100
committerFrankie B <git@diskfloppy.me>2023-08-25 19:45:04 +0100
commit6c245518e8148fa2509fc84db75939571012d4bb (patch)
treec3eedd2f7a55260e82e99d2b8fda3af7523f0b26
parentc44d47f7ea7468487fffa1a62d2e52c247e7b738 (diff)
Fix root namespace in master.css, add dirlist.css
-rw-r--r--public/css/dirlist.css38
-rw-r--r--public/css/master.css4
2 files changed, 40 insertions, 2 deletions
diff --git a/public/css/dirlist.css b/public/css/dirlist.css
new file mode 100644
index 0000000..cd9c1d6
--- /dev/null
+++ b/public/css/dirlist.css
@@ -0,0 +1,38 @@
+:root {
+ --background: #1c1b22;
+ --foreground: #dddddd;
+}
+
+html {
+ color-scheme: dark;
+}
+
+body {
+ background-color: var(--background);
+ color: var(--foreground);
+}
+
+a {
+ color: #99f;
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
+h1#indextitle {
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
+ margin-bottom: 0;
+}
+
+tr, th, td {
+ font-family: monospace;
+ font-size: 12pt;
+ padding: 0 5px;
+}
+
+address {
+ font-family: sans-serif;
+ font-size: 12pt
+}
diff --git a/public/css/master.css b/public/css/master.css
index 8f809bd..00d1fa9 100644
--- a/public/css/master.css
+++ b/public/css/master.css
@@ -1,5 +1,5 @@
-root {
- --background: #181818;
+:root {
+ --background: #1c1b22;
--foreground: #dddddd;
}