ʕ·ᴥ·ʔ- embrace tradition <3
|
After Width: | Height: | Size: 229 KiB |
|
After Width: | Height: | Size: 160 KiB |
|
After Width: | Height: | Size: 267 KiB |
|
After Width: | Height: | Size: 44 KiB |
|
After Width: | Height: | Size: 221 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 242 KiB |
|
After Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 365 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 210 KiB |
|
After Width: | Height: | Size: 92 KiB |
|
After Width: | Height: | Size: 200 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 63 KiB |
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 66 KiB |
@@ -0,0 +1,41 @@
|
||||
const taped = Array.from(document.body.getElementsByClassName("taped"));
|
||||
for (let i = 0; i < taped.length; i++) {
|
||||
const val0 = Math.floor(15 * Math.random());
|
||||
const val1 = Math.floor(15 * Math.random());
|
||||
taped[i].style.setProperty(
|
||||
"--washi-url-0",
|
||||
`url(/assets/images/washi/${val0}.png)`,
|
||||
);
|
||||
taped[i].style.setProperty(
|
||||
"--washi-url-1",
|
||||
`url(/assets/images/washi/${val1}.png)`,
|
||||
);
|
||||
}
|
||||
|
||||
const gallery = Array.from(document.body.getElementsByClassName("gallery-3"));
|
||||
for (let i = 0; i < gallery.length; i++) {
|
||||
const children = Array.from(gallery[i].children);
|
||||
for (let i = 0; i < children.length; i++) {
|
||||
const child = children[i];
|
||||
const val0 = Math.floor(15 * Math.random());
|
||||
const val1 = Math.floor(15 * Math.random());
|
||||
child.style.setProperty(
|
||||
"--washi-url-0",
|
||||
`url(/assets/images/washi/${val0}.png)`,
|
||||
);
|
||||
child.style.setProperty(
|
||||
"--washi-url-1",
|
||||
`url(/assets/images/washi/${val1}.png)`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
const content = Array.from(document.getElementsByClassName("content"))[0];
|
||||
const imgs = Array.from(content.getElementsByTagName("img"));
|
||||
for (let i = 0; i < imgs.length; i++) {
|
||||
const img = imgs[i];
|
||||
const anchor = document.createElement("a");
|
||||
anchor.href = img.src;
|
||||
img.parentNode.insertBefore(anchor, img);
|
||||
anchor.appendChild(img);
|
||||
}
|
||||