64 lines
2.3 KiB
HTML
64 lines
2.3 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Zk | Gah.</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 | Gah.</h1>
|
|
</header>
|
|
<article class="content">
|
|
<p>Things are still going well. Still eating in, still never have the energy to post about it.</p>
|
|
<details text="News in pictures:"><summary>News in pictures:</summary>
|
|
Took a bunch of pictures of James' guns, including these gems:
|
|
<img src="http://makyo.drab-makyo.com/shotgun-anim_web.gif"/>
|
|
|
|
Also, gave myself a haircut with a new pair of clippers. It was a pain in the ass. Played around with them some, too, and now I've got a few intended and unintended hairless patches elsewhere, but TMI TMI TMI. :X
|
|
<a href="http://www.flickr.com/photos/ranna/3176409536/" title="Haircut by Drab Makyo, on Flickr"><img alt="Haircut" height="461" src="http://farm4.static.flickr.com/3332/3176409536_5d6b3f33ff.jpg" width="500"/></a>
|
|
|
|
</details
|
|
<span class="control">Expand all</span>
|
|
</article>
|
|
<footer>
|
|
<p>Page generated on 2009-01-07 08:22:46</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>
|