From 1408bdbdff621a610c763bd7bccc448061c5b9c9 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 16 Oct 2025 23:49:46 +0300 Subject: [PATCH] implement donation banner --- public/theme/default.css | 28 ++++++++++++++++++++++++++++ templates/layout/default.html.tera | 2 ++ 2 files changed, 30 insertions(+) diff --git a/public/theme/default.css b/public/theme/default.css index 62a52cc..e0d8b44 100644 --- a/public/theme/default.css +++ b/public/theme/default.css @@ -243,4 +243,32 @@ main > span { footer { margin: 16px auto 36px; text-align: center; +} + +/* donate */ +footer > div { + margin-bottom: -8px; + margin-top: 16px; + position: relative; + z-index: 2; +} + +footer > div > span { + background: var(--background); + color: var(--separator); + font-size: smaller; + margin-bottom: -8px; + margin-top: 16px; + padding: 0 8px; +} + +footer > code { + border-radius: 3px; + border: 1px var(--separator) solid; + display: inline-block; + font-size: smaller; + opacity: 0.7; + padding: 8px; + position: relative; + z-index: 1; } \ No newline at end of file diff --git a/templates/layout/default.html.tera b/templates/layout/default.html.tera index 52c0310..cb966ee 100644 --- a/templates/layout/default.html.tera +++ b/templates/layout/default.html.tera @@ -25,6 +25,8 @@ \ No newline at end of file