69 lines
3.2 KiB
HTML
69 lines
3.2 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Zk | Stretched out underground...</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 | Stretched out underground...</h1>
|
|
</header>
|
|
<article class="content">
|
|
<p>Rain on Rahoon falls softly, softly falling,
|
|
Where my dark lover lies.
|
|
Sad is his voice that calls me, sadly calling,
|
|
At grey moonrise.</p>
|
|
<div class="codehilite"><pre><span></span><code><span class="nv">Love</span>, <span class="nv">hear</span> <span class="nv">thou</span>
|
|
<span class="nv">How</span> <span class="nv">soft</span>, <span class="nv">how</span> <span class="nv">sad</span> <span class="nv">his</span> <span class="nv">voice</span> <span class="nv">is</span> <span class="nv">ever</span> <span class="nv">calling</span>,
|
|
<span class="nv">Ever</span> <span class="nv">unanswered</span>, <span class="nv">and</span> <span class="nv">the</span> <span class="nv">dark</span> <span class="nv">rain</span> <span class="nv">falling</span>,
|
|
<span class="k">Then</span> <span class="nv">as</span> <span class="nv">now</span>.
|
|
|
|
<span class="nv">Dark</span> <span class="nv">too</span> <span class="nv">our</span> <span class="nv">hearts</span>, <span class="nv">O</span> <span class="nv">love</span>, <span class="nv">shall</span> <span class="nv">lie</span> <span class="nv">and</span> <span class="nv">cold</span>
|
|
<span class="nv">As</span> <span class="nv">his</span> <span class="nv">sad</span> <span class="nv">heart</span> <span class="nv">has</span> <span class="nv">lain</span>
|
|
<span class="nv">Under</span> <span class="nv">the</span> <span class="nv">moongrey</span> <span class="nv">nettles</span>, <span class="nv">the</span> <span class="nv">black</span> <span class="nv">mould</span>
|
|
<span class="nv">And</span> <span class="nv">muttering</span> <span class="nv">rain</span>
|
|
</code></pre></div>
|
|
<span class="control">Expand all</span>
|
|
</article>
|
|
<footer>
|
|
<p>Page generated on 2005-07-18 04:52:52</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>
|