Icons hidden, icons for all

This commit is contained in:
Geindre Colin 2021-02-25 08:29:22 +01:00
parent 1eeb19358f
commit 8f33ff2a4e
2 changed files with 36 additions and 30 deletions

View file

@ -94,7 +94,8 @@ function toggleYfold(id) {
window.onload = function() {
console.log("DOM loaded.")
var snippet = document.getElementsByTagName("code")[0];
var snippets = document.getElementsByTagName("code");
for (var snippet of snippets) {
if ((snippet.classList.value.includes("page")) || (snippet.classList.value.includes("block"))) {
console.log(snippet);
@ -130,6 +131,7 @@ window.onload = function() {
} else {
console.log(snippet.classList);
}
}
if (typeof(Storage) !== "undefined") {
var theme = localStorage.getItem("theme");

View file

@ -636,6 +636,10 @@ section.yfold.card > .yfold-content > h6
border-radius: 6px;
}
code div {
display: none;
}
@keyframes appear
{
0%