Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Styling #227

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Improve Styling #227

wants to merge 12 commits into from

Conversation

richpjames
Copy link
Contributor

@richpjames richpjames commented Sep 12, 2024

This improves things a bit, still lots of room for improvement.

I've introduced a basic column layout and lots of CSS variables for us to use.

This needs to go in after #210

image
image
image

@yndajas
Copy link
Member

yndajas commented Sep 12, 2024

I think we should hide the "Reset round" button until you enter the Konami code

Edit: done in #228

@richpjames richpjames force-pushed the styling branch 10 times, most recently from f6627d2 to 6aff9b5 Compare September 12, 2024 13:13
@richpjames richpjames marked this pull request as ready for review September 12, 2024 13:13
rich added 12 commits September 17, 2024 10:35
We can use these as a rudimentary design system to ensure our styling
stays consistent and DRY
We've added the vars, lets use them.
This ensures that main fills the full visible viewport
This adds a simple column layout with the gameplay area (2/3rds of
viewport) to the left and a column displaying meta information to the
right (1/3 of viewport).
I think this is a little clearer
We also re-add the list styling as I think the bullet points add clarity
This ensures it displays in the correct place
Making sure it displays in the correct place
This makes it a bit clearer these are labels and not just words
This may make more sense in the colour-card.css file but as it was
styling the top level component I put it in the general css file.
I think it's fine that the colour-cards file doesn't use the CSS vars as
it's a seperate component, but it makes sense for all the components in
this file to.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants