Skip to content

Commit

Permalink
Style colour card section
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rich committed Sep 12, 2024
1 parent 936e9e1 commit 974f927
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions client/assets/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,18 @@ main {
align-self: center;
width: var(--spacing-xx-large);
}

#colour-section {
width: 30.5rem;
margin-bottom: var(--spacing-base);

fieldset {
margin-bottom: var(--spacing-base);
}

h2 {
margin-bottom: var(--spacing-medium-small);
}
}


0 comments on commit 974f927

Please sign in to comment.