forked from IFB-ElixirFr/IFB-FAIR-data-training
-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
46 lines (38 loc) · 1.01 KB
/
404.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
permalink: /404.html
layout: default
title: 404
header_title: 404
---
<!-- Source : https://github.com/mattboldt/typed.js/ -->
<style>
.typed-cursor {
color: gray;
background-color: gray;
padding: 0px 2px;
}
#typed {
color : gray;
font-family: Lucida Console,Lucida Sans Typewriter,monaco,Bitstream Vera Sans Mono,monospace;
}
</style>
<div class="container">
<div id="typedDiv" style="display: flex; align-items: center; text-align: center;" class="justify-content-center">
<span id="typed"></span>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script>
var typed = new Typed('#typed', {
strings: ["404, la page n'a pas été trouvée..."],
typeSpeed: 40,
backSpeed: 0,
loop: false
});
const windowInnerWidth = window.innerWidth;
const windowInnerHeight = window.innerHeight;
if( windowInnerHeight > 650 ) {
var divVar = document.getElementById('typedDiv');
divVar.style.height = windowInnerHeight - 610 + 'px';
}
</script>