-
Notifications
You must be signed in to change notification settings - Fork 306
fix the styling of the challenges card #issue 131 #321
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -219,6 +219,19 @@ body { | |||||
| box-shadow: 0 0 6px var(--accent-color-hover); | ||||||
| } | ||||||
|
|
||||||
| .clearFilters{ | ||||||
| border: none; | ||||||
| border-radius: 0.5rem; | ||||||
| padding: 0.55rem 1.1rem; | ||||||
| font-size: 0.9rem; | ||||||
| font-weight: 700; | ||||||
| cursor: pointer; | ||||||
| text-decoration: none; | ||||||
| display: inline-block; | ||||||
| transition: background-color 0.3s ease; | ||||||
| user-select: none; | ||||||
|
|
||||||
| } | ||||||
| /* === CHALLENGES GRID === */ | ||||||
| .challenges-grid { | ||||||
| padding: 3rem 0 5rem; | ||||||
|
|
@@ -293,7 +306,7 @@ body { | |||||
| flex-grow: 1; | ||||||
| font-size: 1rem; | ||||||
| line-height: 1.4; | ||||||
| color: #555; | ||||||
| color: #f9f8f8; | ||||||
| margin-bottom: 1rem; | ||||||
| } | ||||||
|
|
||||||
|
|
@@ -316,6 +329,7 @@ body { | |||||
|
|
||||||
| .challenge-card__actions { | ||||||
| text-align: right; | ||||||
| color:white | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. syntax: Missing semicolon and hardcoded color breaks theming. Use
Suggested change
|
||||||
| } | ||||||
|
|
||||||
| .btn { | ||||||
|
|
@@ -329,10 +343,11 @@ body { | |||||
| display: inline-block; | ||||||
| transition: background-color 0.3s ease; | ||||||
| user-select: none; | ||||||
| color: white; | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. style: Redundant color declaration since |
||||||
| } | ||||||
|
|
||||||
| .btn-sm { | ||||||
| font-size: 0.85rem; | ||||||
| font-size: 0.90rem; | ||||||
| padding: 0.4rem 0.8rem; | ||||||
| } | ||||||
|
|
||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic: Missing background-color property makes button invisible. Add
background-color: var(--accent-color);