2021-05-08 22:39:09

This commit is contained in:
wizardforcel
2021-05-08 22:39:09 +08:00
parent 128b78184f
commit 4bc4553837
5 changed files with 70 additions and 1 deletions

23
asset/dark-mode.css Normal file
View File

@@ -0,0 +1,23 @@
#dark-mode-btn {
position: fixed;
right: 20px;
top: 100px;
width: 25px;
height: 25px;
background-repeat: no-repeat;
background-size: cover;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
transition: background-image .15s ease-in-out .15s;
}
.dark-logo {
background-image: url('sun.svg');
}
.light-logo {
background-image: url('moon.svg');
}