Skip to content

Commit ffd19b2

Browse files
committed
Remove footer-controls markup and related key-label/key styles; delete footer-controls CSS rules
1 parent be042e2 commit ffd19b2

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

public/main.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,6 @@ async function showPokemonDetails(id, name) {
117117
<div class="circle-bg"></div>
118118
<img class="summary-img" src="https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/${id}.png" alt="${name}" />
119119
</div>
120-
<div class="footer-controls">
121-
<div class="key-label"><span class="key">A</span> Held Item</div>
122-
<div class="key-label"><span class="key">X</span> Change Markings</div>
123-
<button class="key-label" onclick="pokemonDetails.style.display='none'"><span class="key">B</span> Back</button>
124-
</div>
125120
</div>
126121
</div>
127122
</div>

public/style.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -537,9 +537,6 @@ body.dark-mode header {
537537
.circle-bg { position: absolute; width: 400px; height: 400px; border-radius: 999px; background: linear-gradient(135deg, #f9fafb, #e5e7eb); border: 1px solid #d1d5db; opacity: 0.6; }
538538
.summary-img { width: 80%; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.45)); position: relative; z-index: 1; }
539539

540-
.footer-controls { position: absolute; bottom: 16px; right: 24px; display: flex; gap: 24px; }
541-
.key-label { display: flex; align-items: center; gap: 6px; font-weight: 700; color: #1f2937; font-size: 13px; background: none; border: none; cursor: pointer; }
542-
.key { background: #fff; border: 2px solid #1f2937; border-radius: 999px; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
543540

544541
/* Responsive adjustments */
545542
@media (max-width: 720px) {
@@ -550,7 +547,7 @@ body.dark-mode header {
550547
.topbar-inner { transform: none; }
551548
.image-wrap { height: 260px; }
552549
.circle-bg { width: 280px; height: 280px; }
553-
.footer-controls { position: static; justify-content: flex-end; margin-top: 12px; }
550+
554551
}
555552

556553

0 commit comments

Comments
 (0)