Draft
Fix download card layout and enhance sci-fi theme UI effects#34
Conversation
Co-authored-by: hutoczky <5453461+hutoczky@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix layout issue in downloads section
Fix download card layout and enhance sci-fi theme UI effects
Oct 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The download cards in the "Letöltések" section were displaying incorrectly - they were bunched together inline like pills instead of displaying as proper block-level cards in a grid layout. This was caused by
.download-cardinheriting button styles from the collective selectornav button, .panel .btn, .quick-links a, .download-cardin all three theme files.Additionally, the theme backgrounds were not fully capturing the atmosphere of their respective universes (Star Trek LCARS, Star Wars HUD, Cyberpunk neon-glitch).
Solution
1. Fixed Download Card Layout
.download-cardfrom the button selector in all three theme CSS files (starwars.css, lcars.css, cyberpunk.css).download-cardstyling with:display: block; width: 100%for proper block-level layoutwhite-space: normal; word-break: break-wordfor text wrappingrepeat(auto-fit, minmax(320px, 1fr))2. Improved Accessibility
role="list"to.download-listcontainerrole="listitem"to each download card linkaria-labelattributes (e.g., "FormatX Light telepítő letöltése")titletooltips for better contextoutline: 2px solid(theme-specific colors) andoutline-offset: 2pxfor keyboard navigation3. Enhanced Theme-Specific Visual Effects
Star Wars Theme:
LCARS Theme:
Cyberpunk Theme:
Visual Results
Desktop Layouts - All Three Themes Working
LCARS Theme:

Star Wars Theme:

Cyberpunk Theme:

Mobile Responsive Layout
Keyboard Focus State
Testing
Files Changed
docs/scifi-ui/styles/starwars.css- Download card fix + enhanced holographic effectsdocs/scifi-ui/styles/lcars.css- Download card fix + LCARS panels and grid refinementdocs/scifi-ui/styles/cyberpunk.css- Download card fix + stronger neon/glitch effectsdocs/scifi-ui/index.html- Accessibility improvements (ARIA roles and labels)Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.