-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
122 lines (102 loc) · 2.52 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
@font-face {
font-family: "Ra-Mono";
src: url( "Ra-Mono.otf" );
}
:root {
--border-color: #3D4B62;
--button-background: #2A313A80;
--magic-color: #000000B0;
--placeholder-color: #404C56;
--text-color: #ECF0F3;
}
body {
background: repeating-conic-gradient( black 0% 25%, #101214 25% 50% ) center / 30px 30px;
margin: 0; overflow: hidden;
}
#cover {
position: fixed; width: 100vw; height: 100vh;
z-index: 10; pointer-events: none;
transition: all 0.5s ease-in;
background: black;
}
#canvas {
width: 100vw; height: 100vh;
object-fit: scale-down;
}
input {
outline: none; border: none;
color: var(--text-color);
font: bold 14px Ra-Mono;
text-align: center;
background: none;
margin: 0 6px;
}
input::placeholder {
color: var(--placeholder-color);
}
input[short] {
width: 50px;
}
input[long] {
width: 80px;
}
.text {
color: var(--text-color); margin: 0 10px;
white-space: nowrap; user-select: none;
font: bold 14px Ra-Mono;
}
.divider {
border-left: 1px solid var(--border-color);
align-self: stretch;
}
.button {
user-select: none; cursor: pointer;
color: var(--text-color); font: bold 14px Ra-Mono;
height: 22px; line-height: 24px;
background: var(--button-background);
padding: 0 5px; margin: 0 4px;
}
.button:hover {
filter: brightness(1.2);
}
.button:active {
filter: none;
}
#panel {
position: fixed; bottom: 20px; left: 50vw;
transform: translateX(-50%);
display: flex; flex-direction: row;
background: var(--magic-color);
padding: 10px; gap: 10px;
}
#panel > * {
height: 30px; display: flex; align-items: center;
border: 1px solid var(--border-color);
}
#board {
position: fixed; top: 50vh; right: 20px;
transform: translateY(-50%);
display: flex; padding: 10px;
gap: 10px; flex-direction: column;
background: var(--magic-color);
}
.controller {
display: grid; place-items: center;
grid-template: "x ." 31px "x ." 29px / auto auto;
border: 1px solid var(--border-color);
}
.controller > *:nth-child(1) {
grid-area: x; user-select: none; cursor: pointer;
border-right: 1px solid var(--border-color);
}
.controller > *:nth-child(2) {
width: 32px; height: 30px; text-align: center;
border-bottom: 1px solid var(--border-color);
color: var(--text-color); font: bold 14px Ra-Mono;
user-select: none; line-height: 30px;
}
.controller > *:nth-child(3) {
color: var(--text-color);
font: bold 14px Ra-Mono;
user-select: none;
}