59 lines
2.6 KiB
HTML
59 lines
2.6 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Zk | Yar. Doom.</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 | Yar. Doom.</h1>
|
|
</header>
|
|
<article class="content">
|
|
<p>Eheh. Ehehehe. Hahaha. Heh.</p>
|
|
<p>Excuse me. Anyway, stuff. Finals are over and done, which is a good thing, and I passed math, which is a Good Thing. So after that, I slacked off all weekend (though I did have to go to school on friday again. I feel for ye, <lj user="breakfastfox"></lj>), and went up to Kelleh's on sunday night. Had to sleep on the floor, so sleep I didn't, and I'm still paying for that with a sore back. Goofed around a bunch, though, and generally had a lot of fun. Met some of Moondog's friends online, and watched a bunch of movies with a couple of lesbians. The next day, I followed Moondog around, mostly, 'cause she's neat. She smoked cloves and I tried to stay awake while we talked about Samir and dogs and Fredrick and gay boys and stuff.</p>
|
|
<p>Also, will be dragging someone to OASOS tomorrow. Will be fun. No complete sentences. Nor verbs.</p>
|
|
<p>Also also, tomorrow I turn the fateful 18. Yey, voting, smoking, and porn</p>
|
|
<span class="control">Expand all</span>
|
|
</article>
|
|
<footer>
|
|
<p>Page generated on 2004-01-20 20:32:02</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>
|