From a1b124b7df6dda2c7f6c821f64be6a7505e47b6b Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Tue, 4 Jun 2019 14:39:16 +0200 Subject: [PATCH] Add Liberapay Button --- themes/Loopp/static/css/style.css | 10 ++++++++++ themes/Loopp/static/images/donate.svg | 1 + themes/Loopp/templates/base.html | 5 +++++ 3 files changed, 16 insertions(+) create mode 100644 themes/Loopp/static/images/donate.svg diff --git a/themes/Loopp/static/css/style.css b/themes/Loopp/static/css/style.css index 07f4a06..c7e1a27 100644 --- a/themes/Loopp/static/css/style.css +++ b/themes/Loopp/static/css/style.css @@ -212,6 +212,16 @@ li.translations { } } +.pure-menu-img img { + height: 1.7em; + display: inline-block; + margin-top: 5px; +} + +.pure-menu-img { + vertical-align: middle; +} + .custom-wrapper { margin-bottom: 1em; -webkit-font-smoothing: antialiased; diff --git a/themes/Loopp/static/images/donate.svg b/themes/Loopp/static/images/donate.svg new file mode 100644 index 0000000..1ca05be --- /dev/null +++ b/themes/Loopp/static/images/donate.svg @@ -0,0 +1 @@ +Donate \ No newline at end of file diff --git a/themes/Loopp/templates/base.html b/themes/Loopp/templates/base.html index 55fa407..a232a9b 100644 --- a/themes/Loopp/templates/base.html +++ b/themes/Loopp/templates/base.html @@ -53,6 +53,11 @@
  • {{ title }}
  • {% endfor %} {% endif %} +
  • + + Donate using Liberapay + +