Skip to content

Commit

Permalink
Merge pull request #237 from DevSplash/patch-2
Browse files Browse the repository at this point in the history
Add style for darkmode toggle button
  • Loading branch information
mikebryant authored Apr 22, 2020
2 parents c4b4dda + 85928b2 commit 98cc74b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,23 @@ input[type=number] {
z-index: 1;
}

.darkmode-toggle {
opacity: 0.7;
transition: opacity 0.15s;
}
.darkmode-toggle:hover {
opacity: 0.9;
}

.darkmode-toggle:active {
transition: opacity 0s;
opacity: 1;
}

.darkmode-toggle:focus {
outline: none;
}

div.darkmode-background{
background: #fef0e3;
background-image:
Expand Down

0 comments on commit 98cc74b

Please sign in to comment.