Icons hidden, icons for all
This commit is contained in:
parent
1eeb19358f
commit
8f33ff2a4e
2 changed files with 36 additions and 30 deletions
|
|
@ -94,7 +94,8 @@ function toggleYfold(id) {
|
||||||
|
|
||||||
window.onload = function() {
|
window.onload = function() {
|
||||||
console.log("DOM loaded.")
|
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"))) {
|
if ((snippet.classList.value.includes("page")) || (snippet.classList.value.includes("block"))) {
|
||||||
console.log(snippet);
|
console.log(snippet);
|
||||||
|
|
||||||
|
|
@ -130,6 +131,7 @@ window.onload = function() {
|
||||||
} else {
|
} else {
|
||||||
console.log(snippet.classList);
|
console.log(snippet.classList);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (typeof(Storage) !== "undefined") {
|
if (typeof(Storage) !== "undefined") {
|
||||||
var theme = localStorage.getItem("theme");
|
var theme = localStorage.getItem("theme");
|
||||||
|
|
|
||||||
|
|
@ -636,6 +636,10 @@ section.yfold.card > .yfold-content > h6
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code div {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes appear
|
@keyframes appear
|
||||||
{
|
{
|
||||||
0%
|
0%
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue