-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
51 lines (51 loc) · 956 Bytes
/
style.css
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
html, body {
width: 100dvw;
height: 100dvh;
overscroll-behavior-y: none; /* Prevent vertical scroll "bounce" in some browsers */
margin: 0;
padding: 0;
font-family: 'Arial Unicode', 'Arial', sans-serif;
}
body {
background: #000000;
}
#container {
display: flex;
align-items: center;
justify-content: center;
}
#svg, #container {
width: 100%;
height: 100%;
}
/* Hide SVG to avoid flash of unstyled content */
#svg {
margin: 2vw;
}
#svg, #svg.hide {
visibility: hidden;
opacity: 0;
}
#svg.show {
visibility: visible;
opacity: 1;
}
#svg.dim {
visibility: visible;
opacity: 0.6;
}
text {
fill: #FFFFFF;
paint-order: stroke;
user-select: none; /* Good: this means you can drag your mouse to flip the page without inadvertently selecting text. Bad: you can't select the text. */
}
#info {
visibility: hidden;
position: absolute;
bottom: 1vw;
left: 1vw;
}
#info a {
color: #FFFFFF;
text-decoration: none;
}