-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.css
94 lines (78 loc) · 1.46 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
:root {
--bg-color: #f5f5f5;
--fg-color: #000000e0;
}
@media (prefers-color-scheme: dark) {
:root {
--bg-color: #1d1e20;
--fg-color: #ffffffd6;
}
}
body {
margin: 0;
background-color: var(--bg-color);
color: var(--fg-color);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
header {
width: 100%;
min-height: 4em;
padding: 1em;
box-sizing: border-box;
position: sticky;
top: 0;
left: 0;
z-index: 10;
background-color: var(--bg-color);
box-shadow: 0 0px 8px 0px darkgray;
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
align-items: center;
}
header > form {
text-align: right;
}
header > h2 {
margin: 0;
}
header > form label {
margin-left: 1em;
}
header > form > div {
display: inline-block;
margin: 1px;
}
header > form select {
background-color: var(--bg-color);
color: var(--fg-color);
border: 1px solid var(--fg-color);
padding: 2px;
}
header > form input[type="number"] {
background-color: var(--bg-color);
color: var(--fg-color);
border: 1px solid var(--fg-color);
padding: 2px 4px;
box-sizing: border-box;
}
.canvas-container {
min-width: 600px;
max-width: 1500px;
text-align: center;
padding: 25px;
position: relative;
margin: 0 auto;
}
canvas {
max-width: 100%;
}
#error-msg {
text-align: center;
margin-top: 40vh;
}
@media (prefers-color-scheme: dark) {
header {
box-shadow: 0 0px 8px 0px #040404;
}
}