Skip to content

Commit

Permalink
Merge pull request #185 from zetxek/184-job-card-color
Browse files Browse the repository at this point in the history
Updated job card to use html attribute
  • Loading branch information
zetxek authored Jan 31, 2025
2 parents 064fdd6 + 5bd7b6b commit 30ee35a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions assets/scss/_experience.scss
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,13 @@ body.home div.experience {
padding: 1.5rem;
border-radius: 8px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

@media (prefers-color-scheme: dark) {

html[data-bs-theme="dark"] & {
background-color: #2d2d2d;
color: white;

.experience__title,
.experience__company,
.experience__date,
Expand All @@ -127,7 +128,4 @@ body.home div.experience {

.company-logo {
object-fit: contain;
}



}

0 comments on commit 30ee35a

Please sign in to comment.