zk_html/lj-dump/L-276.html

60 lines
2.4 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | Yap.</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 | Yap.</h1>
</header>
<article class="content">
<p>So.. yeah. Ryan and Shannon have taken over one bed, and Lon the other, so I'm online.
<em>Of course.</em>
I'm a wee-bit tired, but whatever. I feel strange, like I'm waffling between friends: the FHS group, the Braiden group, the GLBTSS group, and online friends. I feel kind of bad 'cause I've been sort of neglecting the last group due to necessity. I feel odd talking to people online with others in the room, so I end up not talking a whole lot, especially with Kianir and Megawolf.
<em>I think that's part of gaining a social life.</em>
Perhaps, but it's not something I really want to happen right now. Oh well, such is part of the cost of privacy lost. I'm tempted now to go for a walk and watch the sun rise, but I'm listening to Shostakovitch</p>
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2004-09-18 03:36:57</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>