custom.css (4178B)
1 .custom-icon { 2 height: 2em; /* Match Font Awesome's fa-2x */ 3 width: 2em; /* Match Font Awesome's fa-2x */ 4 vertical-align: text-bottom; /* Align nicely with inline icons */ 5 color: inherit; 6 fill: currentColor; 7 } 8 9 .contact-page { 10 margin: 0 auto; 11 max-width: 400px; 12 } 13 14 .contact-form { 15 display: flex; 16 flex-direction: column; 17 font-size: 2rem; 18 gap: 1.5rem; 19 width: 100%; 20 max-width: 400px; 21 margin: 0 auto; 22 } 23 24 .contact-form label { 25 font-weight: bold; 26 } 27 28 .contact-form input, 29 .contact-form textarea, 30 .contact-form button { 31 padding: 0.5rem; 32 border: 1px solid #ccc; 33 border-radius: 4px; 34 } 35 36 .contact-form textarea { 37 min-height: 7.5em; 38 resize: vertical; 39 } 40 41 .contact-form button { 42 background-color: #007bff; 43 color: white; 44 border: none; 45 cursor: pointer; 46 } 47 48 .contact-form button:hover { 49 background-color: #0056b3; 50 } 51 52 .btc-card { 53 max-width: 400px; 54 margin: 2rem auto; 55 padding: 1.5rem; 56 border-radius: 16px; 57 background: #f9fafb; 58 border: 1px solid #e0e0e0; 59 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); 60 transition: box-shadow 0.3s ease, transform 0.3s ease; 61 font-family: system-ui, sans-serif; 62 text-align: center; 63 color: #111; 64 } 65 66 .btc-card:hover { 67 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); 68 transform: translateY(-4px); 69 } 70 71 .btc-header { 72 display: flex; 73 align-items: center; 74 justify-content: center; 75 gap: 0.5rem; 76 margin-bottom: 1rem; 77 } 78 79 .btc-icon { 80 color: #f7931a; /* Bitcoin orange */ 81 } 82 83 .btc-card h2 { 84 margin: 0; 85 font-size: 1.25rem; 86 color: #333; 87 } 88 89 .btc-qr img { 90 width: 200px; 91 height: 200px; 92 margin: 1rem auto; 93 border-radius: 8px; 94 border: 1px solid #ccc; 95 background: white; 96 } 97 98 .btc-address { 99 margin: 0; 100 font-family: monospace; 101 padding: 0.75rem; 102 border-radius: 4px; 103 word-break: break-all; 104 font-size: 0.95rem; 105 background: #eef2f7; 106 color: #1a1a1a; 107 border: 1px solid #d0d7de; 108 } 109 110 .btc-card p.btc-note { 111 color: #666; 112 text-align: inherit; 113 } 114 115 .btc-address-row { 116 margin: 0; 117 display: flex; 118 align-items: stretch; 119 justify-content: center; 120 gap: 0.5rem; 121 flex-wrap: wrap; 122 flex-direction: horizontal; 123 } 124 125 .btc-copy-icon { 126 all: unset; 127 border-radius: 4px; 128 width: 4rem; 129 cursor: pointer; 130 transition: 131 background-color 0.2s ease, 132 color 0.2s ease, 133 transform 0.05s ease, 134 box-shadow 0.3s ease; 135 color: #555; 136 border: 1px solid #d0d7de; 137 } 138 139 .btc-copy-icon:hover { 140 background-color: #f0f0f0; 141 color: #000; 142 } 143 144 .btc-copy-icon:active { 145 transform: scale(0.95); /* Pressed-in effect */ 146 } 147 148 .btc-copy-icon.glow { 149 box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.4), 150 0 0 10px rgba(247, 147, 26, 0.7); 151 background-color: #fff5e6; /* light bitcoin orange background */ 152 color: #f7931a; 153 } 154 155 .colorscheme-dark .btc-card { 156 background: #1e1e1e; 157 border: 1px solid #333; 158 color: #eee; 159 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); 160 } 161 162 .colorscheme-dark .btc-card:hover { 163 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7); 164 } 165 166 .colorscheme-dark .btc-card h2 { 167 color: #f5f5f5; 168 } 169 170 .colorscheme-dark .btc-qr { 171 border: 1px solid #444; 172 background: #2a2a2a; 173 } 174 175 .colorscheme-dark .btc-address { 176 background: #2a2a2a; 177 color: #f5f5f5; 178 border: 1px solid #444; 179 } 180 181 .colorscheme-dark .btc-card p.btc-note { 182 color: #aaa; 183 } 184 185 .colorscheme-dark .btc-copy-icon { 186 background: #2a2a2a; 187 color: #f5f5f5; 188 border: 1px solid #444; 189 } 190 191 .colorscheme-dark .btc-copy-icon:hover { 192 background-color: #333; 193 color: #fff; 194 } 195 196 .tooltip { 197 position: relative; 198 display: inline-block; 199 border-bottom: 1px dotted black; 200 } 201 202 .tooltip .tooltiptext { 203 visibility: hidden; 204 opacity: 0; 205 position: absolute; 206 z-index: 1000; 207 bottom: 125%; 208 left: 50%; 209 transform: translateX(-50%); 210 background-color: #333; 211 color: #fff; 212 padding: 6px 10px; 213 border-radius: 4px; 214 text-align: center; 215 white-space: normal; 216 width: max-content; 217 max-width: 90vw; 218 box-shadow: 0 2px 8px rgba(0,0,0,0.3); 219 transition: opacity 0.2s ease-in-out; 220 word-wrap: break-word; 221 overflow-wrap: break-word; 222 } 223 224 .tooltip:hover .tooltiptext { 225 visibility: visible; 226 opacity: 1; 227 } 228 229 .invert-me { 230 } 231 232 .colorscheme-dark .invert-me { 233 fill: white; 234 } 235 236 .colorscheme-light .invert-me { 237 fill: black; 238 }