From de370d48cd90151eb6fa6d8078352111d425c374 Mon Sep 17 00:00:00 2001 From: n Date: Tue, 24 Jan 2023 22:23:24 +0100 Subject: [PATCH] brighter titles on dark mode --- application.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/application.css b/application.css index d606082..a115256 100644 --- a/application.css +++ b/application.css @@ -1,13 +1,13 @@ -:root {--body-bg:#F1EFE2;--body-color:black;--main-inside-color:#FFF;--link-color: #005600;} -@media (prefers-color-scheme: dark) {:root { --body-bg:#191b22;--body-color: #fcfcfc;--main-inside-color: #212529;--link-color: #00DD00;}} +:root {--body-bg:#F1EFE2;--body-color:black;--main-inside-color:#FFF;--link-color: #005600;--title-color:#040} +@media (prefers-color-scheme: dark) {:root { --body-bg:#191b22;--body-color: #fcfcfc;--main-inside-color: #212529;--link-color: #00DD00;--title-color:#0F0}} body { font-family: Verdana, sans-serif; font-size: 12px; margin: 0; padding: 0; background-color:var(--body-bg);color:var(--body-color);} h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;} -#content h1 {margin:0; padding:0; font-size: 24px; border-bottom: 1px solid #bbbbbb; color: #040;} -#content .plugin_lastfm_charttype {margin:0; padding:0; font-size: 24px; border-bottom: 1px solid #bbbbbb; color: #040;} -h2, .wiki h1 {font-size: 1.8em;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #040;} -h3, .wiki h2 {font-size: 1.6em;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #040;} -h4, .wiki h3 {font-size: 1.4em;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #040;} +#content h1 {margin:0; padding:0; font-size: 24px; border-bottom: 1px solid #bbbbbb; color:var(--title-color);} +#content .plugin_lastfm_charttype {margin:0; padding:0; font-size: 24px; border-bottom: 1px solid #bbbbbb; color:var(--title-color);} +h2, .wiki h1 {font-size: 1.8em;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color:var(--title-color);} +h3, .wiki h2 {font-size: 1.6em;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color:var(--title-color);} +h4, .wiki h3 {font-size: 1.4em;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color:var(--title-color);} /***** Layout *****/ /*#wrapper {background: white;}*/ -- 2.40.1