75 lines
2.5 KiB
HTML
75 lines
2.5 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Zk | As seen in Kakiphony's journal</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 | As seen in Kakiphony's journal</h1>
|
|
</header>
|
|
<article class="content">
|
|
<p><strong>When you see this, post a poem in your journal</strong></p>
|
|
<p>Polyphemus at Morning
|
|
<em>Richard Threadgall</em></p>
|
|
<p>The blind Cyclops rose, wound clotted,
|
|
To the bleating of his rams--who called
|
|
To the cloth-dyer Aurora, day, day.</p>
|
|
<p>He crawled in his cave, clutched Greeks;
|
|
Wine-pots splintered beneath his palms--
|
|
The blown-glass dark between Sicilian pines
|
|
Bleached, colored, and bubbled up toward blue.</p>
|
|
<p>And his goats, greedy for sunlight
|
|
And the white Ausonian glare, bleated
|
|
And drooped their ticked ears while he counted--</p>
|
|
<p>He missed the ropes; his bleeding hands
|
|
Were two mauled despots stumbling under chains.
|
|
Dry wind salts his forehead, and his flock
|
|
Stamps down through the herd-paths, unburdened.</p>
|
|
<p>So was that savage chastened. Yet here am I,
|
|
Who will ever be master of you--and while I sleep
|
|
You look at the olive log, but never free me</p>
|
|
<span class="control">Expand all</span>
|
|
</article>
|
|
<footer>
|
|
<p>Page generated on 2010-03-03 00:50:41</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>
|