From 6c245518e8148fa2509fc84db75939571012d4bb Mon Sep 17 00:00:00 2001 From: Frankie B Date: Fri, 25 Aug 2023 19:45:04 +0100 Subject: [PATCH] Fix root namespace in master.css, add dirlist.css --- public/css/dirlist.css | 38 ++++++++++++++++++++++++++++++++++++++ public/css/master.css | 4 ++-- 2 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 public/css/dirlist.css 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; }