From bc4bd9ca01bd65ee6da22f1ef784cddf39356e17 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Wed, 23 Apr 2025 03:11:52 +1200 Subject: Liberapay donate button added --- project/assets/css/default.css | 18 ++++++++++++++++++ project/assets/img/liberapay_donate.svg | 1 + 2 files changed, 19 insertions(+) create mode 100644 project/assets/img/liberapay_donate.svg (limited to 'project/assets') diff --git a/project/assets/css/default.css b/project/assets/css/default.css index 287f03b..709ca7a 100644 --- a/project/assets/css/default.css +++ b/project/assets/css/default.css @@ -126,6 +126,24 @@ a.external { +div.header { + display: flex; + width: 100%; + align-items: center; +} + +div.header h2 { + flex-grow: 4; +} + +div.header a { + margin: 1em 1em 1em 1em; + height: 30px; /* For some reason needed to get the anchor to match the image. */ +} + + + + /* Display the navbar like a table to make it horizontal and evenly spaced. */ diff --git a/project/assets/img/liberapay_donate.svg b/project/assets/img/liberapay_donate.svg new file mode 100644 index 0000000..1ca05be --- /dev/null +++ b/project/assets/img/liberapay_donate.svg @@ -0,0 +1 @@ +Donate \ No newline at end of file -- cgit