-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
style.scss
56 lines (45 loc) · 807 Bytes
/
style.scss
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
* {
box-sizing: border-box;
}
body {
font-size: 12px;
font-family: monospace;
}
#controls {
display: flex;
flex-wrap: wrap;
> fieldset {
border: 1px solid #aaa;
border-radius: 3px;
display: flex;
flex-direction: column;
align-self: flex-start;
input[type="number"], input[type="checkbox"], select {
box-shadow: inset 0 0 0 2px rgb(204 204 204 / 50%);
outline: none;
border: 1px solid #ccc;
border-radius: 3px;
font-size: 1.2em;
padding: 3px;
}
input[type="checkbox"] {
width: 20px;
height: 20px;
float: right;
}
label {
> input[type="number"], input[type="range"], > select {
display: block;
}
}
button {
margin: 1px 0;
width: 100%;
}
output {
float: right;
margin-left: 10px;
font-style: italic;
}
}
}