zk_html/lj-dump/L-157.html

57 lines
2.4 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | Grf.</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 | Grf.</h1>
</header>
<article class="content">
<p>It sucks to hurt people even if it feels like you're doing it out of necessity. I woke up with just barely enough time for a shower and driving over to Michael's, but traffic was against me, so I ended up being 15 or 20 minutes late. We were to talk about some of the stuff that Samir and I had talked about, but didn't get around to it for a few because I'm a wimp. Basically, we ended up putting the relationship on hold. My feeling non-sexual and a little iffy about Michael's sex combined with Michael's feeling quite sexual made things awkward and kinda put a more platonic relationship in doubt. We'll need to talk more, but I'm assuming this means we're just good friends. At least I hope so.</p>
<p>I'm gonna go lie down for a bit, then get up and do math homework</p>
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2004-05-17 00:55:24</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>