Skip to content

Commit 9a9a1a9

Browse files
authored
Merge pull request #33 from CraftySalamander/illustrated_overlay
2 parents b33be1d + 9a17b26 commit 9a9a1a9

File tree

8 files changed

+763
-50
lines changed

8 files changed

+763
-50
lines changed

public/assets/salamander.png

35.9 KB
Loading

public/build.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,15 @@
4949
onerror="this.src = 'assets/placeholder.png';" class="desktop-only icon"
5050
alt="This website is Ad-Free, consider donating to maintain it!"><span>Donate Coin</span></a>
5151
<a id="copyForOverlayBtn" class="desktop-only" style="color:aqua;"
52-
title="Copy build to Clipboard for AoE4_Overlay!">
52+
title="Copy Simple TXT Build to Clipboard for AoE4_Overlay!">
5353
<span style="font-size: 4.8rem; margin-top: -0.8rem;">M</span>
54-
<span onclick="window.open('https://github.com/FluffyMaguro/AoE4_Overlay')" onmouseenter="overlayEnterHelp()"
55-
onmouseleave="overlayLeaveHelp() " title="Click to learn more about AoE4_Overlay!" id="AoE4_Overlay">?</span>
56-
<span id="hybridOverlayText" style="text-align: center;">Text to Clipboard</span></a>
54+
<span onclick="window.open('https://github.com/FluffyMaguro/AoE4_Overlay')" onmouseenter="simpleTxtOverlayEnterHelp()"
55+
onmouseleave="simpleTxtOverlayLeaveHelp() " title="Click to learn more about AoE4_Overlay!" id="AoE4_Overlay">?</span>
56+
<span id="hybridSimpleTxtOverlayText" style="text-align: center;">Simple TXT Build to Clipboard</span></a>
57+
<a id="copyForIllustratedOverlayBtn" class="desktop-only" style="color:aqua;" title="Copy Illustrated Build to Clipboard for AoE4_Overlay!">
58+
<img src="assets/salamander.png" class="salamander_icon">
59+
<span onclick="window.open('https://github.com/FluffyMaguro/AoE4_Overlay')" onmouseenter="illustratedOverlayEnterHelp()" onmouseleave="illustratedOverlayLeaveHelp() " title="Click to learn more about AoE4_Overlay!" id="AoE4_Overlay">?</span>
60+
<span id="hybridIllustratedOverlayText" style="text-align: center;">Illustrated Build to Clipboard</span></a>
5761
<a class="dropdown">
5862
<nav class="dropbtn">
5963
<div></div>

public/css/build.css

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ table tbody tr td:nth-child(6) {
7171
cursor: pointer;
7272
}
7373

74+
#copyForIllustratedOverlayBtn {
75+
display: flex;
76+
position: relative;
77+
cursor: pointer;
78+
}
79+
7480
#AoE4_Overlay {
7581
background: aqua;
7682
outline: #181C29 solid 0.1rem;
@@ -89,25 +95,27 @@ table tbody tr td:nth-child(6) {
8995
cursor: pointer;
9096
}
9197

92-
#hybridOverlayText {
98+
#hybridSimpleTxtOverlayText {
99+
margin-top: -.7rem;
100+
}
101+
102+
#hybridIllustratedOverlayText {
93103
margin-top: -.7rem;
94104
}
95105

96106
#AoE4_Overlay:hover {
97107
background: black;
98-
color:#fff;
108+
color: #fff;
99109
outline-color: #fff;
100110
}
101111

102112
@media screen and (max-width:800px) {
103113
html {
104114
font-size: 6.7px;
105115
}
106-
107116
.civStatsMore {
108117
display: none;
109118
}
110-
111119
table .buildTime {
112120
width: 24px;
113121
}

public/css/global.css

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,14 @@ section {
197197
max-width: 4.8rem;
198198
}
199199

200+
.salamander_icon {
201+
cursor: pointer;
202+
width: 4.8rem;
203+
margin: 0.2rem;
204+
max-height: 4.8rem;
205+
max-width: 4.8rem;
206+
}
207+
200208
table {
201209
font-size: 2.2rem;
202210
line-height: 5rem;
@@ -346,26 +354,21 @@ button {
346354
html {
347355
font-size: 6.7px;
348356
}
349-
350357
.buildTime img {
351358
height: 16px;
352359
}
353-
354360
main {
355361
flex-direction: column;
356362
}
357-
358363
.tooltipContainer,
359364
header a span,
360365
.desktop-only {
361366
display: none;
362367
}
363-
364368
header {
365369
letter-spacing: 0.5rem;
366370
font-size: 2.4rem;
367371
}
368-
369372
.dropbtn {
370373
padding-left: 10rem;
371374
}
@@ -416,7 +419,10 @@ button {
416419
cursor: pointer
417420
}
418421

419-
.modal .modal-footer .btn, .modal .modal-footer .btn-large, .modal .modal-footer .btn-small, .modal .modal-footer .btn-flat {
422+
.modal .modal-footer .btn,
423+
.modal .modal-footer .btn-large,
424+
.modal .modal-footer .btn-small,
425+
.modal .modal-footer .btn-flat {
420426
margin: 6px 0
421427
}
422428

@@ -441,6 +447,7 @@ button {
441447
font-size: 13px;
442448
text-align: center;
443449
}
450+
444451
#cookies-eu-more,
445452
#cookies-eu-accept,
446453
#cookies-eu-reject {
@@ -455,13 +462,15 @@ button {
455462
font-weight: bold;
456463
transition: background 0.07s, color 0.07s, border-color 0.07s;
457464
}
465+
458466
#cookies-eu-more:hover,
459467
#cookies-eu-more:focus,
460468
#cookies-eu-accept:hover,
461469
#cookies-eu-accept:focus {
462470
background: #fff;
463471
color: #222;
464472
}
473+
465474
#cookies-eu-more {
466475
margin-left: 7px;
467476
}
@@ -475,6 +484,7 @@ button {
475484
margin: 2px 0;
476485
border: 1px solid #666;
477486
}
487+
478488
#cookies-eu-reject:hover,
479489
#cookies-eu-reject:focus {
480490
border-color: #fff;

0 commit comments

Comments
 (0)