add disclaimer that donations are updated manually

This commit is contained in:
Jeppe Ernst 2018-04-24 22:02:08 +02:00
parent 35d0745d0d
commit 14a365fe4c
4 changed files with 12 additions and 2 deletions

View file

@ -15,4 +15,5 @@ global:
donation: donation:
text: doneret af text: doneret af
currency: ",-" currency: ",-"
sub: Donationer opdateres pt. manuelt
mobilepayLink: https://mobilepay.dk/da-dk/pages/betal.aspx?phone=004540456&comment=Til%20kampen%20imod%20den%20Ulovlige%20Logning!&t=d mobilepayLink: https://mobilepay.dk/da-dk/pages/betal.aspx?phone=004540456&comment=Til%20kampen%20imod%20den%20Ulovlige%20Logning!&t=d

View file

@ -14,4 +14,5 @@ global:
en: English en: English
donation: donation:
text: donated of text: donated of
currency: " DKK" currency: " DKK"
sub: Donations are updated manually

View file

@ -8,6 +8,7 @@ layout: default
<div class="donationCounter"> <div class="donationCounter">
<span> <span>
{{ site.donationCounter.donated | intcomma: '.' }}{{ global.donation.currency }} {{ global.donation.text }} {{ site.donationCounter.goal | intcomma: '.' }}{{ global.donation.currency }} {{ site.donationCounter.donated | intcomma: '.' }}{{ global.donation.currency }} {{ global.donation.text }} {{ site.donationCounter.goal | intcomma: '.' }}{{ global.donation.currency }}
<sub>{{ global.donation.sub }}</sub>
</span> </span>
</div> </div>
<nav id="navElm"> <nav id="navElm">

View file

@ -2,7 +2,7 @@ $donationCounter_percentFromGoal: 100 - ($donationCounter_donated / $donationCou
.donationCounter { .donationCounter {
width: 100%; width: 100%;
height: 80px; height: 100px;
font-size: 1.3rem; font-size: 1.3rem;
background: linear-gradient(to right, #49a540 50%, #407b3b 50%); background: linear-gradient(to right, #49a540 50%, #407b3b 50%);
position: absolute; position: absolute;
@ -15,6 +15,12 @@ $donationCounter_percentFromGoal: 100 - ($donationCounter_donated / $donationCou
text-align: center; text-align: center;
animation: donationCounterSlideIn .5s cubic-bezier(0.175, 0.885, 0.32, 1.275) .5s forwards; animation: donationCounterSlideIn .5s cubic-bezier(0.175, 0.885, 0.32, 1.275) .5s forwards;
sub {
display: block;
font-size: .8rem;
opacity: .5;
}
&:before, &:after { &:before, &:after {
content: ""; content: "";
height: 30px; height: 30px;
@ -50,6 +56,7 @@ $donationCounter_percentFromGoal: 100 - ($donationCounter_donated / $donationCou
padding-bottom: 6rem; padding-bottom: 6rem;
} }
.donationCounter { .donationCounter {
height: 80px;
&:before, &:after { &:before, &:after {
display: none; display: none;
} }