Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Commit

Permalink
fix: Jargon term highlighting in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
joostdecock committed Nov 2, 2020
1 parent de42aa6 commit de15508
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ yarn-debug.log*
yarn-error.log*
lerna-debug.log*


# Local Netlify folder
.netlify
11 changes: 11 additions & 0 deletions src/components/layouts/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,21 @@ div.mob-menu {
.jargon-term {
background: $oc-cyan-0;
text-decoration: none;
background: #ffd43b42;
padding: 0 5px;
border-radius: 2px;
}
.jargon-term:after {
display: none;
}
.theme-wrapper.dark {
.jargon-term {
text-decoration: none;
}
.jargon-term:after {
display: none;
}
}

img.gatsby-resp-image-image {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14),
Expand Down

0 comments on commit de15508

Please sign in to comment.