prep docs
This commit is contained in:
parent
81efa4db49
commit
431436bd6a
8 changed files with 339 additions and 32 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue