From: Radek Czajka Date: Thu, 3 Nov 2022 13:49:45 +0000 (+0100) Subject: Funding changes. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/ea7671fcbd5bd829b16771670263aebaf29c69c1 Funding changes. --- diff --git a/src/funding/templates/funding/2022/offer_detail.html b/src/funding/templates/funding/2022/offer_detail.html index b6d89e6d1..bb5bb9e72 100644 --- a/src/funding/templates/funding/2022/offer_detail.html +++ b/src/funding/templates/funding/2022/offer_detail.html @@ -33,7 +33,8 @@ {% endif %} -
+
+

{% trans "Help free the book!" %}

{{ object.description|safe }}
@@ -43,7 +44,7 @@ {{ form.data_processing }} - + {% else %} {{ object.status }} @@ -81,8 +82,17 @@
- {% endif %} + + {% endif %} diff --git a/src/wolnelektury/static/2022/more.scss b/src/wolnelektury/static/2022/more.scss index 754578dd5..0a2ba062e 100644 --- a/src/wolnelektury/static/2022/more.scss +++ b/src/wolnelektury/static/2022/more.scss @@ -455,3 +455,13 @@ form { .l-change-pop { margin-bottom: 18px; } + + +.page-simple button.button-orange { + background: #FFA500; + color: black; + transition: all cubic-bezier(0.25, 1, 0.5, 1) 350ms; + &:hover { + background: #92BD39; + } +} diff --git a/src/wolnelektury/static/2022/styles/local.scss b/src/wolnelektury/static/2022/styles/local.scss index d9aafcf2d..726b1b3f3 100644 --- a/src/wolnelektury/static/2022/styles/local.scss +++ b/src/wolnelektury/static/2022/styles/local.scss @@ -84,10 +84,15 @@ $teal: #007880; right: -210px; color: #083F4D; } -.funding-description { +.funding-details { h2 { margin-top: 0; - font-size: 1.125rem; - line-height: 1.35; + margin-bottom: 1.5rem; + } + .funding-description { + h2 { + font-size: 1.25rem; + line-height: 1.35; + } } }