61 lines
2.4 KiB
HTML
61 lines
2.4 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Zk | Todayishness.</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 | Todayishness.</h1>
|
|
</header>
|
|
<article class="content">
|
|
<p>Today was decidedly today. It was long, and full of stuff. The usual stuff that goes on on wednesdays. Choir, math, choir, bio, choir choir choir choir choir... Urg. I like singing, but I'll be FREAKING GLAD WHEN THIS BULLSHIT IS OVER. ^.^ </p>
|
|
<p>Moondog. Thursday. Saturday night; I suppose I'll call her when I think strike's nearly finished, so that she can drive down to my house. If strike lasts longer, maybe we could meet at the school. Whatever.</p>
|
|
<p>Deep conversation with Ryan. Real deep.</p>
|
|
<p>Kory just asked if it was okay that he touched my neck. He likes to watch me melt. Becker tried, I nearly punched him. Trust seems to be an important factor in this.</p>
|
|
<p>I need to work on the spread some.</p>
|
|
<p>Lurf</p>
|
|
<span class="control">Expand all</span>
|
|
</article>
|
|
<footer>
|
|
<p>Page generated on 2004-02-25 19:42:05</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>
|