zk_html/lj-dump/L-857.html

69 lines
2.6 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | Catering - of sort..</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 | Catering - of sort..</h1>
</header>
<article class="content">
<p>The opportunity to help cater an event - specifically, the benefit concert for my choir - has fallen upon a few friends and I, and I eagerly snatched it up :o) Details aside, here's what I'm planning on making. Despite my heritage lacking in that area, I decided to include a few greek recipes, simply because they're delicious.</p>
<details text="Recipes"><summary>Recipes</summary><strong> Recipes</strong>
<strong><u>Sweet</u></strong>
<strong><a href="http://community.livejournal.com/fursthatcook/39770.html#cutid1">Coffee Bread</a></strong>
<strong><a href="http://gv-ranna.livejournal.com/213270.html">Cocoa-Banana Bread</a></strong>
(<em>Both served in individually wrapped slices</em>)
<strong>Macaroon Jam Tarts (<em>Chantillies</em>)</strong>
<strong>Various cookies - provided by others</strong>
<strong><u>Savory</u></strong>
<strong>Cheese Bread</strong>
<strong>Spanikopeta</strong>
<strong>Dolmadas</strong>
</details
<span class="control">Expand all</span>
</article>
<footer>
<p>Page generated on 2006-09-03 04:30:04</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>