zk_html/lj-dump/L-937.html

66 lines
2.6 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | Fort Collins New Years.</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 | Fort Collins New Years.</h1>
</header>
<article class="content">
<p>Hey FoCo folk. Remember when I had that dinner party on New Years last year?</p>
<p>Yeah, fun times :o)</p>
<p>Well, I was too crazy to pull something quite so formal again this year, however! If you all want to come over for a very laid back sort of party, I'll be cooking some foodstuffs and.. uh.. I dunno! Doing things! Watch a movie, play some games, whatever :o) If you think you'd like to come, leave a comment so I know how much food to make. Also, if you want to bring anything, please do! I don't have much to drink around here other than water, milk, and mojito makin's (sparkling lime juice, sorta). Well, and alcohol, but I don't want to have a crazy-wacky party.</p>
<p>So.. yeah, let me know.</p>
<p><strong><em>EDIT!</em></strong>
Menuuuuuuu:</p>
<p>Spanikopetes
Foccacia
Salad with Caesar or pomegranate vinaigrette.
French silk pie (mmmn.. chocolate mousse..)
Snackyfoods: Goldfish, Cheez-Its. Uh.. bread? I dunno. Open kitchen</p>
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2006-12-27 21:01:49</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>