zk_html/lj-dump/L-252.html

72 lines
2.5 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | [no subject]</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 | [no subject]</h1>
</header>
<article class="content">
<p>I guess you have to have the downs to make the ups enjoyable, but must they be so low?</p>
<p>Edit1 - That said, this is a really cool feeling. It's like I'm asleep, really, but.. I'm awake o.O If I close my eyes I start dreaming.</p>
<p>Edit2 - Heh. I translated Spem in Alium. Kinda makes me think twice about a public performance. But it's so puuuuurdy.</p>
<p>Spem in alium numquam habui praeter in te
<em>I have never put my hope in another except for you</em>
Deus Israel
<em>God of Israel</em>
qui irasceris
<em>Who will fly into a rage</em>
et propitius eris
<em>And will be well-disposed</em>
et omnia peccata hominum in tribulatione dimitis
<em>and who dismisses all sins in troubled man</em>
Domine Deus Creator coeli et terra
<em>Lord God, creator of heaven<small>damn, I hate that spelling</small> and earth</em>
respice humiliationem nostram
<em>(behold </em>or<em> care for) our lowliness&lt;/em</p>
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2004-08-03 23:15:24</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>