This commit is contained in:
mivinci 2021-08-04 09:49:55 +08:00
parent 1ce071cd4d
commit d328aedebe
8 changed files with 44 additions and 17 deletions

View file

@ -70,7 +70,7 @@ a:not(.icon):focus {
color: #fff;
}
.icon:hover {
a.icon:hover {
transform: translateY(-5px);
transition: transform .3s ease-in-out;
}
@ -178,6 +178,16 @@ main {
padding: 2px 8px;
}
details.toc ul {
list-style-type: none;
padding-inline-start: 1em;
margin: 0;
}
details.toc ul>li {
margin: 1em 0;
}
@keyframes showup {
from {
opacity: 0;
@ -238,4 +248,4 @@ main {
::-webkit-scrollbar-thumb:active {
background-color: rgb(128 128 128 / 100%);
}
}

View file

@ -14,5 +14,8 @@ window.addEventListener('DOMContentLoaded', function () {
classList.add(newTheme);
localStorage.theme = newTheme;
themeSwitcher.innerHTML = text;
})
});
});