-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
75 lines (60 loc) · 1.21 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
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-size: inherit;
}
html {
font-size: 1.2rem;
}
@media (max-width: 60rem) {
body {
width: 96vw;
height: 100vh;
margin: 0 auto;
padding: 1rem;
display: grid;
grid-template-rows: min-content 1fr;
row-gap: 1rem;
}
}
@media (min-width: 60rem) {
body {
width: 100%;
height: 100vh;
padding: 1rem;
display: grid;
grid-template-columns: 24rem 1fr;
column-gap: 1rem;
}
}
div#controls {
font-family: serif;
height: min-content;
display: flex;
flex-direction: column;
}
div#controls > input[type=text], div#controls > select, div#controls > button {
background-color: white;
border: 1px solid black;
border-radius: 2px;
padding: 2px;
}
div#controls > select {
box-shadow: -1px -1px rgb(210, 210, 210) inset;
}
div#controls > button {
margin-top: 2px;
box-shadow: -2px -2px rgb(210, 210, 210) inset;
}
div#controls > :focus {
outline: #ff920d solid 1px;
}
div#display {
width: 100%;
max-height: 100%;
}
div#display > canvas {
max-width: 100%;
max-height: 100%;
}