zk_html/lj-dump/L-969.html

58 lines
2.4 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | Ooo.</title>
<link rel="stylesheet" type="text/css" href="/style.css" />
<meta name="viewport" content="width=device-width" />
<meta charset="utf-8" />
</head>
<body>
<main>
<header>
<h1>Zk | Ooo.</h1>
</header>
<article class="content">
<p>A while back, I started working on a batik of the <a href="http://en.wikipedia.org/wiki/Green_man">Green Man</a> before realizing that I really don't have any talent when it comes to drawing.</p>
<p>Now that I have an enlarger, though, it's occured to me that I don't really <em>need</em> any talent in drawing. Instead, I can take a picture of a Green Man, project the image onto cloth, and trace from there. I can't think of any place in Colorado that has a Green Man sculpture, though, so.. uh.. anyone want to volunteer for a photoshoot, come spring? XD You'll have to lay on your back with leaves covering in your face and in your mouth. I promise I'll wash them :3 Can't promise any monetary compensation, but I can cook food for you. </p>
<p>Heck, a couple people could come - I've got all sorts of crazy ideas</p>
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2007-02-02 18:49:04</p>
</footer>
</main>
<script type="text/javascript">
document.querySelectorAll('li').forEach(el => {
if (el.querySelectorAll('li').length !== 0) {
el.classList.add('has-nested', 'closed');
el.innerHTML = `<span class="toggle"></span> ${el.innerHTML}`;
}
});
document.querySelectorAll('.toc .has-nested').forEach(el => {
el.classList.remove('has-nested', 'closed');
});
document.querySelectorAll('li.has-nested').forEach(el => {
el.querySelector('.toggle').addEventListener('click', () => {
el.classList.toggle('closed');
});
});
let expanded = false;
document.querySelector('.control').addEventListener('click', (e) => {
expanded = !expanded;
if (expanded) {
e.target.innerText = 'Collapse all';
} else {
e.target.innerText = 'Expand all';
}
document.querySelectorAll('.has-nested').forEach((el) => {
if (expanded) {
el.classList.remove('closed');
} else {
el.classList.add('closed')
}
});
});
</script>
</body>
</html>