Skip to content

Commit 5899b89

Browse files
Restyle donation form
1 parent 7adcf91 commit 5899b89

File tree

3 files changed

+27
-15
lines changed

3 files changed

+27
-15
lines changed

src/images/donate-phone.png

515 KB
Loading

src/index.css

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@ html {
2121

2222
body {
2323
background-color: #CAE2E9;
24-
color: #424242;
24+
color: #18222E;
2525
margin: 0;
2626
}
2727

28+
a {
29+
color: #18222E;
30+
}
31+
2832
header {
2933
background-color: #18222E;
3034
color: #fff;
@@ -50,10 +54,6 @@ footer span {
5054

5155
footer a {
5256
color: #CAE2E9;
53-
text-decoration: none;
54-
}
55-
footer a:hover {
56-
text-decoration: underline;
5757
}
5858

5959
header .logo {
@@ -180,7 +180,7 @@ input:focus{
180180
}
181181

182182
.bigbutton:hover {
183-
background-color: #000;
183+
background-color: #000;
184184
}
185185

186186
.feature {
@@ -195,9 +195,6 @@ input:focus{
195195
box-shadow: 0 0 60px #44aaff;
196196
}
197197

198-
.feature p {
199-
}
200-
201198
.feature img.qrcode {
202199
width: 6em;
203200
}
@@ -219,7 +216,7 @@ img.headericon {
219216
top: 0.6em;
220217
}
221218

222-
.donationqr {
219+
img.donate {
223220
width: 50%;
224221
}
225222

@@ -278,3 +275,16 @@ img.headericon {
278275
padding: 0.5em 1em 0em 0;
279276
}
280277

278+
#content4 {
279+
height: 42em;
280+
overflow-y: hidden;
281+
padding: 2em 2em 0 2em;
282+
}
283+
284+
#content4 img.donate {
285+
width: 80%;
286+
}
287+
288+
.twocolumns {
289+
width: 50%;
290+
}

src/index.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
<div class="menuitem"><a href="#" class="menubutton menubuttonselected" onclick="menuChange(event,0)">Connect</a></div>
2828
<div class="menuitem"><a href="#" class="menubutton" onclick="menuChange(event,1)">Features</a></div>
2929
<div class="menuitem"><a href="#" class="menubutton" onclick="menuChange(event,5)">About</a></div>
30-
<div class="menuitem"><a href="#" class="menubutton" onclick="menuChange(event,4)">Donate</a></div>
31-
<div class="menuitem"><a href="#" class="menubutton" onclick="menuChange(event,2)">Contact</a></div>
30+
<div class="menuitem"><a href="#" class="menubutton" onclick="menuChange(event,4)">Contact and Donate</a></div>
3231
</div>
3332
</header>
3433
<div class="main-content" id="content0">
@@ -81,13 +80,16 @@ <h1>We'd love to know which feature to focus on next.</h1>
8180
<iframe width="1200" height="610" src="https://legend.lnbits.com/tipjar/1114" title="Tip Jar"></iframe>
8281
</div>
8382
<div class="main-content" id="content4">
84-
<div class="onecolumn">
85-
<p>As you know, writing and maintaining quality software is not cheap.</p>
83+
<div class="twocolumns column1">
84+
<h1>As you know, writing and maintaining quality software is not cheap...</h1>
8685
<p>We are aiming to keep this project well-maintained, bug-free, and reliable long-term.</p>
8786
<p>Therefore, your generous donations are always appreciated.</p>
8887
<p>Just scan the QR code with a Bitcoin Lightning wallet and send however much you like.</p>
88+
<h3>You'll be able to add a comment to your payment so use it to reach out if you want.</h3>
8989
<p>Thank you!</p>
90-
<a href="lightning:LNURL1DP68GURN8GHJ7MR9VAJKUEPWD3HXY6T5WVHXXMMD9AKXUATJD3CZ7DN8GUE4WCGS0D0DN"><img src="../images/LNURL1DP68GURN8GHJ7MR9VAJKUEPWD3HXY6T5WVHXXMMD9AKXUATJD3CZ7DN8GUE4WCGS0D0DN.png" class="donationqr"/></a>
90+
</div>
91+
<div class="twocolumns column2">
92+
<a href="lightning:LNURL1DP68GURN8GHJ7MR9VAJKUEPWD3HXY6T5WVHXXMMD9AKXUATJD3CZ7DN8GUE4WCGS0D0DN"><img src="../images/donate-phone.png" class="donate"/></a>
9193
</div>
9294
</div>
9395
<div class="main-content" id="content5">

0 commit comments

Comments
 (0)