Skip to content

Commit

Permalink
Add text under dark mode button
Browse files Browse the repository at this point in the history
  • Loading branch information
zalbright90 committed Jul 31, 2024
1 parent 14024a2 commit 56f3215
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<section class="container" aria-labelledby="stanza-header">
<div class="mode-toggle">
<input type="checkbox" id="darkModeToggle" class="toggle-checkbox">
<label for="darkModeToggle" class="toggle-label"></label>
<label for="darkModeToggle" class="toggle-label"><p>Dark Mode</p></label>
</div>
<h1>ᚺᚨᚢᚨᛗᚨᛚ</h1>
<h2>Hávamál</h2>
Expand Down
4 changes: 4 additions & 0 deletions muninn.css
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,10 @@ footer p {
transition: opacity var(--speed-3), visibility var(--speed-3);
}

.toggle-label p {
text-shadow: var(--text-shadow);
}

.toggle-checkbox:checked + .toggle-label {
background-color: var(--light-text);
}
Expand Down

0 comments on commit 56f3215

Please sign in to comment.