prep docs

This commit is contained in:
Leo 2017-01-30 10:43:22 -05:00
parent 81efa4db49
commit 431436bd6a
8 changed files with 339 additions and 32 deletions

View file

@ -9,7 +9,8 @@
<body>
<header>
<section>
<h1>Mithril <small>[version]</small></h1>
<a class="hamburger" href="javascript:;"></a>
<h1><img src="logo.svg"> Mithril <small>[version]</small></h1>
<nav>
<a href="index.html">Guide</a>
<a href="api.html">API</a>
@ -26,5 +27,13 @@
</section>
</main>
<script src="lib/prism/prism.js"></script>
<script>
document.querySelector(".hamburger").onclick = function() {
document.body.className = 'navigating'
document.querySelector("h1 + ul").onclick = function() {
document.body.className = ''
}
}
</script>
</body>
</html