Skip to content

Commit a41ba11

Browse files
CopilotDavidKRK
andauthored
fix: centralize Buy Me A Coffee img styling in CSS, remove inline styles (#223) (#235)
Agent-Logs-Url: https://github.com/DavidKRK/DavidKRK.github.io/sessions/609f1c03-1e77-44cc-9d41-57d69be922e5 Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: DavidKRK <136035295+DavidKRK@users.noreply.github.com>
1 parent a4f00f8 commit a41ba11

7 files changed

Lines changed: 12 additions & 6 deletions

File tree

assets/css/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,12 @@ footer {
393393
.social-icon {
394394
font-size: 2.5rem; /* mobile */
395395
}
396+
397+
.social-icon img {
398+
height: 1em;
399+
width: auto;
400+
vertical-align: middle;
401+
}
396402
@media (min-width: 768px) {
397403
.social-icon {
398404
font-size: 3.5rem; /* desktop */

bio.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ <h1 class="main-title">David KRK</h1>
216216
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-soundcloud"></i></a>
217217
<a href="https://www.tiktok.com/@davidkrk" target="_blank" rel="noopener noreferrer" aria-label="TikTok"
218218
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-tiktok"></i></a>
219-
<a href="https://buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
219+
<a href="https://buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60"></a>
220220
</div>
221221

222222
<div class="flex flex-wrap justify-center items-center gap-3 sm:gap-4 mb-4 text-sm">

contact.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ <h1 class="main-title">David KRK</h1>
164164
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-soundcloud"></i></a>
165165
<a href="https://www.tiktok.com/@davidkrk" target="_blank" rel="noopener noreferrer" aria-label="TikTok"
166166
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-tiktok"></i></a>
167-
<a href="https://buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
167+
<a href="https://buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60"></a>
168168
</div>
169169

170170
<div class="flex flex-wrap justify-center items-center gap-3 sm:gap-4 mb-4 text-sm">

event.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ <h1 class="main-title">David KRK</h1>
9999
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-soundcloud"></i></a>
100100
<a href="https://www.tiktok.com/@davidkrk" target="_blank" rel="noopener noreferrer" aria-label="TikTok"
101101
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-tiktok"></i></a>
102-
<a href="https://buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
102+
<a href="https://buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60"></a>
103103
</div>
104104

105105
<div class="flex flex-wrap justify-center items-center gap-3 sm:gap-4 mb-4 text-sm">

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ <h1 class="main-title">David KRK</h1>
139139
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-soundcloud"></i></a>
140140
<a href="https://www.tiktok.com/@davidkrk" target="_blank" rel="noopener noreferrer" aria-label="TikTok"
141141
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-tiktok"></i></a>
142-
<a href="https://buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
142+
<a href="https://buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60"></a>
143143
</div>
144144

145145
<div class="flex flex-wrap justify-center items-center gap-3 sm:gap-4 mb-4 text-sm">

music.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ <h3><i class="fab fa-youtube" style="color:#ff0000;"></i> <span id="youtube-titl
199199
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-soundcloud"></i></a>
200200
<a href="https://www.tiktok.com/@davidkrk" target="_blank" rel="noopener noreferrer" aria-label="TikTok"
201201
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-tiktok"></i></a>
202-
<a href="https://buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
202+
<a href="https://buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60"></a>
203203
</div>
204204

205205
<div class="flex flex-wrap justify-center items-center gap-3 sm:gap-4 mb-4 text-sm">

shop.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ <h2 class="mt-4">Офіційний магазин</h2>
194194
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-soundcloud"></i></a>
195195
<a href="https://www.tiktok.com/@davidkrk" target="_blank" rel="noopener noreferrer" aria-label="TikTok"
196196
class="social-icon text-2xl md:text-3xl text-white"><i class="fab fa-tiktok"></i></a>
197-
<a href="https://buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60" style="height: 1em; width: auto; vertical-align: middle;"></a>
197+
<a href="https://buymeacoffee.com/davidkrk" target="_blank" rel="noopener noreferrer" aria-label="Buy Me A Coffee" class="social-icon text-2xl md:text-3xl"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" width="217" height="60"></a>
198198
</div>
199199

200200
<div class="flex flex-wrap justify-center items-center gap-3 sm:gap-4 mb-4 text-sm">

0 commit comments

Comments
 (0)