zk_html/lj-dump/L-197.html

64 lines
2.6 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | I see what I'm doing.</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 | I see what I'm doing.</h1>
</header>
<article class="content">
<p>I'm trying to avoid the "profound perversity of a world that rests essentially on the nonexistence of return." A world I can't fix. A world in which everything happens once and now the lightness is getting to me.
<em>It's a book, Ranna.</em>
I know, but it's also an outlook on life, like every book. <u>The Unbearable Lightness of Being</u> is indirectly showing me why I feel hopeless: because everything happens only once, and seems to have no weight, no responsibility attached.
<em>Oh, but they do! They're light, but they're not weightless. That's why you're having a hard time with the book</em>
True, but I'm generalizing.
<em>All generalizations are evil.</em>
Haha. Honestly, though. I really think I should make more use of the friends and private settings in LJ. While I feel that I should be open, I think it might add some weight to my life.
<em>Or maybe your delete key.</em>
Just for that, I'm making this public and not even re-reading it. Apologies in advance</p>
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2004-06-17 01:31:27</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>