-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
85 lines (70 loc) · 1.22 KB
/
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
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
:root {
background: hsl(247deg 12% 62%);
margin: 0;
font-family: sans-serif;
}
body {
min-height: calc(100vh - 2rem);
margin: 1rem;
display: grid;
gap: 1rem;
grid-template-rows: max-content auto max-content;
grid-template-areas: "header"
"main"
"footer";
}
[inert] {
pointer-events: none;
cursor: default;
}
[inert], [inert] * {
user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
body[inert] {
filter: brightness(80%) grayscale(50%);
}
header,
main,
footer {
background: white;
}
header {
display: grid;
place-items: center;
}
footer {
display: flex;
gap: 0.5em;
padding: 0.5em;
flex-wrap: wrap;
}
main {
display: grid;
place-items: center;
}
canvas {
outline: 1px solid rebeccapurple;
}
.event-indicator {
color: forestgreen;
background: lime;
filter: grayscale(100%);
border: 1px solid;
border-radius: 1ex;
padding: 0.5ex 1ex;
font-size: x-small;
font-weight: 700;
}
span#current-frame-nr,
span#cursor-position,
span#tilemap-progress {
min-width: 14ch;
display: inline-block;
font-variant-numeric: slashed-zero tabular-nums;
font-size: small;
}
span#cursor-position {
min-width: 45ch;
}