From 725677a610564890a625bb10ce00b9c2bd6a7176 Mon Sep 17 00:00:00 2001 From: gravel Date: Thu, 9 Nov 2023 15:33:01 +0000 Subject: [PATCH] Unify stylesheets --- output/css/common-dark.css | 8 ++++++++ output/css/instructions.css | 19 +++++++++---------- sites/donate.php | 6 ++---- sites/instructions.php | 6 ++++-- sites/privacy.php | 11 ++--------- 5 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 output/css/common-dark.css diff --git a/output/css/common-dark.css b/output/css/common-dark.css new file mode 100644 index 00000000..5991800c --- /dev/null +++ b/output/css/common-dark.css @@ -0,0 +1,8 @@ +* { box-sizing: border-box; } +html { color: white; background-color: black; font-size: clamp(16px, 2vw, 24px); width: 100%; } +body { margin: 0; padding: 2rem; width: 100%; line-height: 1.5; } +a { color: hsl(210, 100%, 60%); } +pre, .code { background-color: #222; font-size: 0.9rem; white-space: break-spaces; overflow: auto; } +pre { padding: 1em; } +.code { padding: 0.1em 0.25em; } +.hidden { display: none; } diff --git a/output/css/instructions.css b/output/css/instructions.css index 542bf040..92017940 100644 --- a/output/css/instructions.css +++ b/output/css/instructions.css @@ -1,19 +1,18 @@ -body { - background-color: black; - color: white; -} - header { text-align: center; } -a, .anchorstyle { - color: hsl(210, 100%, 60%); - text-decoration: underline; +label[for^=language-selection] { + font-size: 1.2em; + padding-right: 0.5em; + padding-block: 0.5em; } -#language-selection-title, label[for^=language-selection] { - font-size: 1.2em; +.language-selection { + width: 2em; + height: 2em; + padding-left: 0.5em; + padding-block: 0.5em; } #instructions { diff --git a/sites/donate.php b/sites/donate.php index fae41680..2418f521 100644 --- a/sites/donate.php +++ b/sites/donate.php @@ -14,12 +14,10 @@ + Donate — sessioncommunities.online