From c46677671df85928864fa9d27fb9326e2dc26ad6 Mon Sep 17 00:00:00 2001 From: Jonas Tobias Hopusch Date: Mon, 27 Sep 2021 13:26:42 +0200 Subject: [PATCH 1/3] Firefox compatiblity patch for table width --- static/css/general.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/css/general.css b/static/css/general.css index 49ea96f..2028ae0 100644 --- a/static/css/general.css +++ b/static/css/general.css @@ -99,7 +99,7 @@ table { display: block; border-collapse: collapse; margin: 1rem auto; - width: fit-content; + width: max-content; max-width: 100%; overflow-y: auto; } -- 2.43.0 From 8a6978e0f9758e1c50b228cdaf7ebd1b9ec04834 Mon Sep 17 00:00:00 2001 From: Jonas Tobias Hopusch Date: Mon, 27 Sep 2021 13:37:29 +0200 Subject: [PATCH 2/3] Abolish navigation borders in favor of flex gaps --- static/css/general.css | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/static/css/general.css b/static/css/general.css index 2028ae0..5399729 100644 --- a/static/css/general.css +++ b/static/css/general.css @@ -27,17 +27,12 @@ footer { display: flex; flex-wrap: wrap; flex-direction: row; - border: 2px solid white; - border-top: none; - border-left: none; text-align: center; + gap: max(1px, 0.1rem); } .globalnav-element { display: block; - border: 2px solid white; - border-right: none; - border-bottom: none; background-color: #ddd; text-align: center; flex-basis: 0; @@ -123,13 +118,8 @@ td, th { color: white; } - .globalnav { - border-color: black; - } - .globalnav-element { background-color: #222; - border-color: black; } code { @@ -151,12 +141,7 @@ td, th { color: black; } - .globalnav { - border-color: white; - } - .globalnav-element { - border-color: white; background-color: #ddd; } -- 2.43.0 From 185f5161e1258018967aada584b42c3f0910780c Mon Sep 17 00:00:00 2001 From: Jonas Tobias Hopusch Date: Mon, 27 Sep 2021 13:39:14 +0200 Subject: [PATCH 3/3] Dark Mode: Switch to almost-black background --- static/css/general.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/css/general.css b/static/css/general.css index 5399729..62eca4d 100644 --- a/static/css/general.css +++ b/static/css/general.css @@ -114,7 +114,7 @@ td, th { @media (prefers-color-scheme: dark) { html { - background-color: black; + background-color: #111; color: white; } -- 2.43.0