-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (76 loc) · 1.35 KB
/
Copy pathstyle.css
File metadata and controls
89 lines (76 loc) · 1.35 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
81
82
83
84
85
86
87
88
89
* {
box-sizing: border-box;
margin: 0;
}
body {
background: #0d1117;
color: #e6edf3;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px 16px 40px;
}
header {
text-align: center;
margin-bottom: 16px;
}
h1 {
font-size: 1.6rem;
margin-bottom: 14px;
letter-spacing: 0.02em;
}
.controls {
display: flex;
flex-wrap: wrap;
gap: 8px;
justify-content: center;
margin-bottom: 10px;
}
select,
button {
background: #161b22;
color: #e6edf3;
border: 1px solid #30363d;
border-radius: 8px;
padding: 8px 14px;
font-size: 0.9rem;
cursor: pointer;
transition: border-color 0.15s, background 0.15s;
}
select:hover,
button:hover {
border-color: #58a6ff;
}
button:disabled {
opacity: 0.45;
cursor: not-allowed;
}
#run {
background: #1f6feb;
border-color: #1f6feb;
font-weight: 600;
}
#run:hover:not(:disabled) {
background: #388bfd;
}
.hint {
color: #8b949e;
font-size: 0.85rem;
}
.hint .start { color: #3fb950; font-weight: 600; }
.hint .end { color: #f85149; font-weight: 600; }
#stats {
min-height: 1.4em;
margin-top: 8px;
font-size: 0.9rem;
color: #f0c674;
}
canvas {
border: 1px solid #30363d;
border-radius: 8px;
cursor: crosshair;
touch-action: none;
max-width: 100%;
}