generated from imjohnbo/octocat
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
75 lines (69 loc) · 2.08 KB
/
index.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="octocat">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>octocat</title>
<style>
html {
height: 100%;
}
body {
display: grid;
grid-template-rows: 1fr auto;
background-color: #000;
margin: 0px;
}
pre.container {
font-family: monospace;
color: #fff;
background-color: #000;
margin-left: auto;
margin-right: auto;
margin-top: 25%;
}
</style>
</head>
<body>
<pre id="content" class="container">
MMM. .MMM
MMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMM ____________________________
MMMMMMMMMMMMMMMMMMMMM | |
MMMMMMMMMMMMMMMMMMMMMMM | Keep it logically awesome. |
MMMMMMMMMMMMMMMMMMMMMMMM |_ ________________________|
MMMM::- -:::::::- -::MMMM |/
MM~:~ 00~:::::~ 00~:~MM
.. MMMMM::.00:::+:::.00::MMMMM ..
.MM::::: ._. :::::MM.
MMMM;:::::;MMMM
-MM MMMMMMM
^ M+ MMMMMMMMM
MMMMMMM MM MM MM
MM MM MM MM
MM MM MM MM
.~~MM~MM~MM~MM~~.
~~~~MM:~MM~~~MM~:MM~~~~
~~~~~~==~==~~~==~==~~~~~~
~~~~~~==~==~==~==~~~~~~
:~==~==~==~==~~
</pre>
<script>
// GET /zen
(function () {
document.addEventListener("DOMContentLoaded", function (event) {
req = new XMLHttpRequest();
req.onreadystatechange = function process() {
if (req.readyState === XMLHttpRequest.DONE && req.status === 200) {
document.getElementById("content").innerText = req.responseText;
}
};
req.open("GET", "https://api.github.com/octocat", true);
req.send();
});
})();
</script>
</body>
</html>