This repository was archived by the owner on Jul 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
80 lines (71 loc) · 1.77 KB
/
Copy pathstyle.css
File metadata and controls
80 lines (71 loc) · 1.77 KB
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
*, *::after, *::before {
box-sizing: border-box;
}
@font-face {
font-family: 'Killig';
src: url('assets/fonts/Killig.ttf') format('truetype');
font-weight: normal;
}
body {
--color-checker-light: #333333;
--color-checker-dark: #393939;
--checker-size: 30px;
margin: 0;
overflow: hidden;
background: var(--color-checker-dark);
background-image: linear-gradient(45deg, var(--color-checker-light) 25%, transparent 25%),
linear-gradient(135deg, var(--color-checker-light) 25%, transparent 25%),
linear-gradient(45deg, transparent 75%, var(--color-checker-light) 75%),
linear-gradient(135deg, transparent 75%, var(--color-checker-light) 75%);
background-size: var(--checker-size) var(--checker-size);
background-position: 0 0, calc(var(--checker-size) / 2) 0, calc(var(--checker-size) / 2) calc(var(--checker-size) / 2), 0 calc(var(--checker-size) / 2);
cursor: url('assets/ui/cursor.png') 16 16, auto;
}
canvas {
position: absolute;
}
#tutorial {
position: absolute;
bottom: 0;
height: 64px;
vertical-align: center;
left: 64px;
color: white;
font-family: "Killig", serif;
font-size: 2rem;
}
#debug-menu-toggle {
all: unset;
cursor: pointer;
position: absolute;
bottom: 0;
right: 0;
width: 64px;
height: 64px;
}
#debug-menu-toggle::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('assets/icons/debug.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
pointer-events: none;
}
#debug-menu {
position: absolute;
background: rgba(255, 255, 255, 0.5);
border-radius: 16px;
border: 1px solid black;
backdrop-filter: saturate(180%) blur(10px);
bottom: 16px;
right: 64px;
padding: 16px;
}
.hidden {
display: none;
}