-
Notifications
You must be signed in to change notification settings - Fork 0
/
imgarchive.html
127 lines (107 loc) · 2.36 KB
/
imgarchive.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-E16KBMPJL7"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-E16KBMPJL7');
</script>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>imgarchive</title>
<meta name="apple-mobile-web-app-capable" content="yes">
<style>
@font-face {
font-family:'SF Pro Display';
src: url("fonts/SF-Pro-Display-Bold.otf") format("opentype");
/* (C) 2015 Apple Inc. All rights reserved.*/
}
* {
font-family: -apple-system,system-ui,BlinkMacSystemFont,"SF Pro Display";
margin: 0;
padding: 3px;
text-align: center;
}
a {
color: black;
}
video {
border-radius: 25px;
height: 75%;
width: 75%;
box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}
html {
margin: 35px
}
/* width */
::-webkit-scrollbar {
width: 20px;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: linear-gradient(rgba(251,135,157,1) 0%, rgba(137,121,251,1) 100%);
border-radius: 5px;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #18181b;
color: white;
}
a {
color: white;
}
}
.image-marq {
width: 20%;
display: block;
float: left;
}
.videoWrapper {
width: 100%;
max-width: 720px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
}
.ambilightWrapper {
width: 100%;
height: 100%;
position: relative;
}
#video {
width: 100%;
height: 100%;
border-radius: 18px;
aspect-ratio: 16 / 9;
}
marquee {
width: 100%
border-radius: 25px;
}
</style>
</head>
<body id="img">
</body>
<script>
fetch('thumb_list.txt')
.then(response => response.text())
.then(textString => {
//Split the csv into rows
const rows = textString.split('\n');
for (row of rows) {
//Split the row into each of the comma separated values
var node = document.createElement("img");
node.setAttribute('src', 'https://archive.org/download/abc-dump-20-02-2023/' + row.split(","))
node.setAttribute('class', 'image-marq');
document.getElementById("img").appendChild(node);
}
console.log("Done")
});
</script>
</html>