Skip to content

Commit 747cba5

Browse files
committed
chore: update btc
1 parent d686dcd commit 747cba5

File tree

1 file changed

+75
-20
lines changed

1 file changed

+75
-20
lines changed

_includes/footer.html

Lines changed: 75 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,87 @@
11
<!-- The Footer -->
22
<!-- Bitcoin address bar -->
33
<style>
4-
:root {
5-
--btc-bg: #1a1d23;
6-
--btc-text: #f7931e;
7-
--btc-secondary: #6e7681;
8-
--btc-border: #2a2e35;
9-
--btc-shadow: rgba(0,0,0,0.1);
4+
.footer-cta {
5+
font-family: 'Arial', sans-serif;
6+
background: var(--card-bg);
7+
backdrop-filter: blur(8px) saturate(160%);
8+
-webkit-backdrop-filter: blur(8px) saturate(160%);
9+
border-radius: 25px;
10+
border: 1px solid rgba(255, 255, 255, 0.15);
11+
padding: 6px 14px;
12+
text-align: center;
13+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
14+
transition: transform 0.2s ease-in-out, background 0.3s ease-in-out;
15+
color: var(--text-color);
16+
display: inline-flex;
17+
align-items: center;
18+
gap: 8px;
1019
}
1120

12-
[data-mode="light"] {
13-
--btc-bg: #ffffff;
14-
--btc-text: #f7931e;
15-
--btc-secondary: #6c757d;
16-
--btc-border: #e9ecef;
17-
--btc-shadow: rgba(0,0,0,0.15);
21+
[data-theme="dark"] .footer-cta {
22+
background: var(--card-bg);
23+
border: 1px solid rgba(255, 255, 255, 0.1);
24+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
25+
color: var(--text-color);
26+
}
27+
28+
.footer-cta:hover {
29+
transform: scale(1.02);
30+
}
31+
32+
.btc-symbol {
33+
font-size: 12px;
34+
color: #f7931e; /* Fixed orange color for Bitcoin logo */
35+
opacity: 0.9;
36+
}
37+
38+
.btc-address {
39+
font-size: 10px;
40+
font-weight: 500;
41+
color: var(--text-color);
42+
opacity: 0.8;
43+
}
44+
45+
.copy-button {
46+
background: none;
47+
color: var(--text-color);
48+
border: 1px solid var(--text-color);
49+
padding: 2px 8px;
50+
border-radius: 12px;
51+
font-size: 9px;
52+
cursor: pointer;
53+
transition: all 0.2s ease;
54+
font-weight: 500;
55+
}
56+
57+
.copy-button:hover {
58+
background: var(--text-color);
59+
color: var(--card-bg);
60+
}
61+
62+
@media (max-width: 768px) {
63+
.footer-cta {
64+
padding: 5px 12px;
65+
}
66+
.btc-symbol {
67+
font-size: 11px;
68+
}
69+
.btc-address {
70+
font-size: 9px;
71+
}
72+
.copy-button {
73+
font-size: 8px;
74+
padding: 2px 6px;
75+
}
1876
}
1977
</style>
2078

2179
<center>
22-
<span style="display:inline-flex; align-items:center; background:var(--btc-bg); color:var(--btc-text); padding:6px 14px; border-radius:25px; font-family:system-ui, -apple-system, sans-serif; font-size:11px; border:1px solid var(--btc-border); box-shadow:0 2px 10px var(--btc-shadow); gap:8px;">
23-
<span style="font-size:12px; opacity:0.9;"></span>
24-
<span style="color:var(--btc-secondary); font-size:10px; font-weight:500;">bc1q8dnj5cmzzc7nhn4adttcpycxxk4f2f3rknq6t4</span>
25-
<button onclick="navigator.clipboard.writeText('bc1q8dnj5cmzzc7nhn4adttcpycxxk4f2f3rknq6t4')"
26-
style="background:none; color:var(--btc-text); border:1px solid var(--btc-text); padding:2px 8px; border-radius:12px; font-size:9px; cursor:pointer; transition:all 0.2s ease; font-weight:500;"
27-
onmouseover="this.style.background='var(--btc-text)'; this.style.color='var(--btc-bg)'"
28-
onmouseout="this.style.background='none'; this.style.color='var(--btc-text)'">Copy</button>
29-
</span>
80+
<div class="footer-cta">
81+
<span class="btc-symbol"></span>
82+
<span class="btc-address">bc1q8dnj5cmzzc7nhn4adttcpycxxk4f2f3rknq6t4</span>
83+
<button class="copy-button" onclick="navigator.clipboard.writeText('bc1q8dnj5cmzzc7nhn4adttcpycxxk4f2f3rknq6t4')">Copy</button>
84+
</div>
3085
</center>
3186
<!-- end bitcoin -->
3287

0 commit comments

Comments
 (0)