zk_html/lj-dump/L-183.html

64 lines
2.4 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | Um.</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 | Um.</h1>
</header>
<article class="content">
<p>I just wrote a story today. An erotic story. Note, not yiffy, erotic. Humans. Gosh! I'm embarassed. Talk to me if you want to read (I never said I wasn't proud) ^^
<em>Who's it about?</em>
No one, really. At least not consciously.
<em>Really now...</em></p>
<p>Anyhoo, didn't sleep at all last night except for a nap after dinner 'cause of panic and Moondoggy. I was so afraid 'cause he didn't call, and I started imagining the worst. Even after I talked with him online, my imagination wouldn't let me sleep, so I up I stayed, obsessing over things like music, and Sadi.
<em>I'll give you that: you're damn good at obsessing</em>
Proud of it ^^
<em>...curses.</em>
<a href="http://us.vclart.net/vcl/Artists/Firebringer/FoxFluffTriptych.JPG">Fox Fluff Triptych</a></p>
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2004-06-12 12:19:06</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>