Skip to content

Commit 39567dc

Browse files
committed
Added link to BuyMeACoffee & Minor design improvements
1 parent 8a5a239 commit 39567dc

File tree

5 files changed

+36
-10
lines changed

5 files changed

+36
-10
lines changed

css/index.css

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ header {
4242
header .logo {
4343
float: left;
4444
transition: transform 0.2s;
45+
border-radius: 4px;
4546
}
4647

4748
header .logo:hover {
@@ -61,7 +62,7 @@ header .logo:hover img {
6162
header .logo span {
6263
font-size: 20px;
6364
vertical-align: middle;
64-
padding-left: 16px;
65+
padding: 0 4px 0 16px;
6566
font-weight: bold;
6667
transition: opacity 0.2s;
6768
}
@@ -82,6 +83,7 @@ header .links .link {
8283
display: inline-block;
8384
margin-left: 32px;
8485
transition: transform 0.2s, opacity 0.2s;
86+
border-radius: 4px;
8587
}
8688

8789
header .links .link img {
@@ -171,12 +173,12 @@ header .links .link:hover {
171173
}
172174

173175
.tile-section .screenshot {
174-
border-radius: 16px 16px 0 0;
175-
width: 100%;
176-
margin: 20px 0;
176+
border-radius: 32px 32px 0 0;
177+
width: calc(100% + 64px);
178+
margin: 28px -32px;
177179
-webkit-mask-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
178180
mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
179-
height: 250px;
181+
height: 300px;
180182
object-fit: cover;
181183
object-position: top;
182184
}
@@ -204,6 +206,7 @@ header .links .link:hover {
204206
margin: 4px 0 4px 16px;
205207
transition: transform 0.2s, opacity 0.2s;
206208
display: inline-block;
209+
border-radius: 4px;
207210
}
208211

209212
.tile-section .link:hover {
@@ -226,7 +229,7 @@ header .links .link:hover {
226229
}
227230

228231
.tile-section .link span {
229-
margin-left: 4px;
232+
margin: 0 4px;
230233
}
231234

232235
.tile-section .version {
@@ -249,11 +252,23 @@ header .links .link:hover {
249252
.pre-footer .link {
250253
display: inline-block;
251254
transition: transform 0.2s, opacity 0.2s;
252-
margin-top: 20px;
255+
margin-top: 28px;
256+
padding-right: 8px;
257+
border-radius: 4px;
258+
background-color: rgba(255, 255, 255, 0.09);
253259
}
254260

255261
.pre-footer .link img {
256-
width: 24px;
262+
width: 32px;
263+
border-radius: 4px 0 0 4px;
264+
}
265+
266+
.pre-footer a {
267+
margin-right: 28px;
268+
}
269+
270+
.pre-footer a:last-child {
271+
margin-right: 0;
257272
}
258273

259274
.pre-footer a:focus .link {
@@ -270,7 +285,7 @@ header .links .link:hover {
270285
}
271286

272287
.pre-footer .link span {
273-
margin-left: 4px;
288+
margin: 0 12px;
274289
}
275290

276291
/* footer */

imgs/donate/coffee.jpg

70.4 KB
Loading

imgs/donate/patreon.jpg

8.09 KB
Loading

imgs/icons/coffee.png

1.21 KB
Loading

index.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
<img src="imgs/icons/patreon.png"/>
4242
</div>
4343
</a>
44+
<a href="https://www.buymeacoffee.com/ModuleArt" title="Buy me a coffee">
45+
<div class="link">
46+
<img src="imgs/icons/coffee.png"/>
47+
</div>
48+
</a>
4449
<a href="https://play.google.com/store/apps/dev?id=5537509128825838150" title="Google Play">
4550
<div class="link">
4651
<img src="imgs/icons/google-play.png"/>
@@ -210,10 +215,16 @@ <h2>Paused projects</h2>
210215
<div>If you want to support us you can contribute to one of our projects.<br>If you really love what we do you can donate:</div>
211216
<a href="https://www.patreon.com/moduleart">
212217
<div class="link">
213-
<img src="imgs/icons/patreon.png"/>
218+
<img src="imgs/donate/patreon.jpg"/>
214219
<span>Patreon</span>
215220
</div>
216221
</a>
222+
<a href="https://www.buymeacoffee.com/ModuleArt">
223+
<div class="link">
224+
<img src="imgs/donate/coffee.jpg"/>
225+
<span>Buy me a coffee</span>
226+
</div>
227+
</a>
217228
</div>
218229
</div>
219230
</main>

0 commit comments

Comments
 (0)