-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (92 loc) · 2.44 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
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color: #000;
background-color: #a1ccff;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body,
html,
#root {
height: 100%;
height: 100dvh; /* For google search on mobile chrome - somehow 100% height a bit glitchy */
margin: 0;
padding: 0;
line-height: 0;
overflow: hidden;
}
#root {
display: flex;
position: relative;
}
button,
a {
all: unset;
cursor: pointer;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
* {
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
*,
*:after,
*:before {
box-sizing: border-box;
margin: 0;
padding: 0;
}
.cursor-pointer,
.cursor-pointer * {
cursor: pointer;
}
/* https://www.sarasoueidan.com/blog/accessible-icon-buttons/ */
.sr-only {
clip: rect(0 0 0 0);
clip-path: inset(100%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}
.pos-full {
width: 100%;
height: 100%;
}
.pos-up-left {
position: absolute;
top: 0;
left: 0;
}
.pos-center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.ve * {
/* Don't know how to pass through svgr yet - needs to be on children not svg tag */
vector-effect: non-scaling-stroke;
}
</style>
<title>Rosie - Rive Animation Study</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>