forked from thi-ng/umbrella
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (50 loc) · 1.69 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
<!DOCTYPE html>
<html lang="en">
<head>
<link
rel="icon"
href='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90">⛱️</text></svg>'
/>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>rdom-lissajous · @thi.ng/umbrella</title>
<link
href="https://unpkg.com/tachyons@4/css/tachyons.min.css"
rel="stylesheet"
/>
<style>
*[data-tooltip] {
position: relative;
}
*[data-tooltip]:after {
content: attr(data-tooltip);
z-index: 1;
position: absolute;
top: 0;
left: 1rem;
width: 4rem;
text-align: center;
font-size: 0.6rem;
background: rgba(0, 0, 0, 0.8);
color: white;
padding: 0.25rem;
opacity: 0;
transition: 0.5s opacity;
}
*[data-tooltip]:hover:after {
opacity: 1;
}
</style>
</head>
<body class="sans-serif ma0 bg-moon-gray">
<div class="z1 fixed bottom-0 left-0 pa3">
<a
class="link"
href="https://github.com/thi-ng/umbrella/tree/develop/examples/rdom-lissajous"
>Source code</a
>
</div>
<script type="module" src="/src/index.ts"></script>
</body>
</html>