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:
text: doneret af
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

View file

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

View file

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

View file

@ -2,7 +2,7 @@ $donationCounter_percentFromGoal: 100 - ($donationCounter_donated / $donationCou
.donationCounter {
width: 100%;
height: 80px;
height: 100px;
font-size: 1.3rem;
background: linear-gradient(to right, #49a540 50%, #407b3b 50%);
position: absolute;
@ -15,6 +15,12 @@ $donationCounter_percentFromGoal: 100 - ($donationCounter_donated / $donationCou
text-align: center;
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 {
content: "";
height: 30px;
@ -50,6 +56,7 @@ $donationCounter_percentFromGoal: 100 - ($donationCounter_donated / $donationCou
padding-bottom: 6rem;
}
.donationCounter {
height: 80px;
&:before, &:after {
display: none;
}