58 lines
2.4 KiB
HTML
58 lines
2.4 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Zk | So.</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 | So.</h1>
|
|
</header>
|
|
<article class="content">
|
|
<p><a href="http://quizilla.com/users/amethystheartkawi/quizzes/Which%20MegaTokyo%20Character%20are%20you%3F/"><img alt="" border="0" src="http://images.quizilla.com/A/amethystheartkawi/1038026019_ErikaRes.jpg"/><br/> <font size="-1">Which MegaTokyo Character are you?</font></a><br/> <font size="-3">brought to you by <a href="http://quizilla.com">Quizilla</a></font></p>
|
|
<p>In other news, I slept with Lon last night. Sleep's perhaps too specific, since I suck at sleeping with other people around, especially when they're touching me. I kinda did it so that I wouldn't have to deal with Sysco, but mostly I was lonely, and appreciative of affection. After that, dorm food and I had a fight, and I've been sick all day. Also, I lost my keys somewhere in Lon's bed, and I'm now locked out of my room.</p>
|
|
<p>So</p>
|
|
<span class="control">Expand all</span>
|
|
</article>
|
|
<footer>
|
|
<p>Page generated on 2004-11-02 13:11:28</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>
|