-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlog.html
75 lines (75 loc) · 1.43 KB
/
log.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 lang=en><head><meta charset=utf-8>
<meta name=color-scheme content="dark light">
<style>
:root{
color-scheme: light dark;
--light: hsl(60, 25%, 95%);
--dark: hsl(15, 5%, 10%);
--base_size:13px;
--bg:light-dark(var(--light),var(--dark));
--fg:light-dark(var(--dark),var(--light));
}
a {
color: var(--fg);
}
* {
background: var(--bg);
color: var(--fg);
font-family: monospace;
box-sizing: border-box;
}
body {
width: 100vw;
margin: 0 auto;
display: flex;
flex-direction: column;
height: 100dvh;
font-size: 15px;
line-height: 150%;
}
header,
footer {
width: 100vw;
padding: 1ch;
text-align: center;
}
header {
border-bottom: 1px solid var(--fg);
}
footer{
border-top: 1px solid var(--fg);
}
footer, footer *{
font-size: 9px;
}
main {
flex:1;
overflow-y:auto;
display: flex;
}
#content_holder {
max-width: 64ch;
margin: 0 auto;
}
</style>
<title>Chute Changelog</title>
</head>
<body>
<header><a href="index.html">CHUTE</a> CHANGE LOG</header>
<main><pre id="content_holder"></pre></main>
<footer>Chute By + © 2024 <a href=https://gregabbott.pages.dev>Greg Abbott</a>
</footer>
<script>
window.addEventListener('load', onload)
function onload(){
fetch('CHANGELOG.md')
.then(response => response.text())
.then(go)
.catch(e => console.error('Error fetching the script:', e))
}
function go(s){
document.getElementById('content_holder').innerText=s
}
</script>
</body>
</html>