67 lines
2.7 KiB
HTML
67 lines
2.7 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Zk | Eating In: Day 3</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 | Eating In: Day 3</h1>
|
|
</header>
|
|
<article class="content">
|
|
<p>Breakfast: Nothing</p>
|
|
<p>Lunch: Omelet</p>
|
|
<p>Dinner: Leftovers</p>
|
|
<details text="Fooo."><summary>Fooo.</summary>Spent today cleaning rather than cooking. And to be honest, I just kind of threw the omelet together, so no real recipe. I did take pictures, though!
|
|
|
|
<a href="http://www.flickr.com/photos/ranna/3133306957/" title="Eating In day 3: Omelet by Drab Makyo, on Flickr"><img alt="Eating In day 3: Omelet" height="160" src="http://farm4.static.flickr.com/3077/3133306957_c66187f5d7_m.jpg" width="240"/></a>
|
|
<a href="http://www.flickr.com/photos/ranna/3133307107/" title="Eating In day 3: Omelet by Drab Makyo, on Flickr"><img alt="Eating In day 3: Omelet" height="160" src="http://farm4.static.flickr.com/3261/3133307107_8419b2a7f5_m.jpg" width="240"/></a>
|
|
<a href="http://www.flickr.com/photos/ranna/3134129044/" title="Eating In day 3: Omelet by Drab Makyo, on Flickr"><img alt="Eating In day 3: Omelet" height="160" src="http://farm4.static.flickr.com/3119/3134129044_6502948eb1_m.jpg" width="240"/></a>
|
|
|
|
Click for larger views.
|
|
|
|
</details
|
|
<span class="control">Expand all</span>
|
|
</article>
|
|
<footer>
|
|
<p>Page generated on 2008-12-25 06:18:08</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>
|