docs: new site

This commit is contained in:
jean-emmanuel 2019-03-27 14:15:14 +01:00
parent 43ccd7389d
commit 719a563feb
43 changed files with 1185 additions and 1899 deletions

View file

@ -0,0 +1,9 @@
var offset = 82
function offsetScroll(){
if (document.location.hash) {
var el = document.getElementById(document.location.hash.substring(1))
if (el) document.body.scrollTop = document.documentElement.scrollTop = el.offsetTop - offset
}
}
window.addEventListener('hashchange', offsetScroll)
setTimeout(offsetScroll, 250)