mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-30 06:25:24 -04:00
change theme-switch from 'a' to 'button'
and refactor
This commit is contained in:
parent
034da04180
commit
6f8edf1ffa
3 changed files with 6 additions and 7 deletions
|
@ -40,11 +40,9 @@
|
|||
height: 18px;
|
||||
}
|
||||
|
||||
a#theme-toggle {
|
||||
font-size: 24px;
|
||||
user-select: none;
|
||||
margin: auto 4px;
|
||||
cursor: pointer
|
||||
button#theme-toggle {
|
||||
font-size: 26px;
|
||||
margin: auto 4px
|
||||
}
|
||||
|
||||
body.dark #moon {
|
||||
|
|
|
@ -10,6 +10,7 @@ html {
|
|||
}
|
||||
|
||||
a,
|
||||
button,
|
||||
body,
|
||||
h1,
|
||||
h2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue