mirror of
https://github.com/apachecn/ailearning.git
synced 2026-02-03 02:14:18 +08:00
2021-05-08 22:39:09
This commit is contained in:
23
asset/dark-mode.css
Normal file
23
asset/dark-mode.css
Normal 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');
|
||||
}
|
||||
Reference in New Issue
Block a user