This repository has been archived by the owner on Oct 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathindex.html
88 lines (88 loc) · 1.83 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
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html>
<head>
<title>Major Breach and Outage Bingo</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<script src="https://cdn.jsdelivr.net/npm/js-confetti@latest/dist/js-confetti.browser.js"></script>
<style type="text/css">
body {
font-family: sans;
display: flex;
flex-direction: column;
align-items: center;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
min-height: 100vh;
margin: 0;
}
h1 {
margin-bottom: 0;
}
table {
width: min(80vw, 75vh);
height: min(80vw, 75vh);
}
tr {
height: 20%;
}
td {
width: 20%;
max-width: 160px;
height: 20%;
max-height: 160px;
border: 1px solid black;
text-align: center;
border-radius: 8px;
}
td a {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
button {
cursor: pointer;
padding: 10px;
background-color: azure;
border-radius: 4px;
border: 1px #ccc solid;
}
.cell-checked {
background-color: aquamarine;
}
.cell-unchecked {
background-color: rgba(255, 255, 255, 0.9);
}
#confetti {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
pointer-events: none;
}
.invis {
visibility: hidden;
}
td div {
display: flex;
justify-content: space-evenly;
}
td div a {
width: auto;
height: auto;
padding: 2px;
}
</style>
</head>
<body>
<canvas id="confetti"></canvas>
<marquee id="bingo" class="invis"></marquee>
<h1>Major Breach and Outage Bingo</h1>
<a href="https://github.com/queer/outage.bingo">Source</a>
<div id="loading">Loading card...</div>
<script src="./index.js"></script>
<script src="./eggs.js"></script>
</body>
</html>