-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
123 lines (110 loc) · 1.67 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
123
* {
box-sizing: border-box;
margin: 0;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
width: 800px;
margin: auto;
}
h1 {
margin-top: 10px;
}
h1.subhead {
font-style: italic;
color: grey;
font-size: 18px;
font-weight: normal;
}
p {
margin: 10px 0;
}
main {
margin-bottom: 20px;
}
svg#main {
display: inline-block;
position: absolute;
top: 10px;
left: 0;
}
svg#main path {
fill: none;
}
svg#main #robot1 {
fill: #e94040;
}
svg#main #robot2 {
fill: #FF8049;
}
svg#main #robot3 {
fill: #7560E0;
}
.svg-container {
display: inline-block;
position: relative;
width: 100%;
padding-bottom: 100%;
vertical-align: top;
overflow: hidden;
}
form#weights {
margin-bottom: 20px;
display: flex;
flex-direction: row;
}
form#weights > div {
flex-grow: 1;
min-width: 150px;
display: flex;
flex-direction: column;
}
form#weights input {
display: block;
width: 75px;
font-size: 20px;
font-family: monospace;
border-radius: 4px;
border: 2px solid;
padding: 5px;
}
form#weights div.robot1 input {
border-color: #e94040;
}
form#weights div.robot2 input {
border-color: #FF8049;
}
form#weights div.robot3 input {
border-color: #7560E0;
}
@media (max-width: 450px) {
form#weights {
flex-direction: column;
}
form#weights > div {
flex-direction: row;
}
form#weights > div > div {
flex-grow: 1;
}
}
@media (max-width: 800px) {
h1, h1.subhead {
padding: 0 15px;
width: 100vw;
}
main {
width: 100vw;
padding: 0 15px;
}
p {
font-size: 16px;
}
svg#main {
width: 100%;
}
svg#main text {
font-size: 50px;
}
}
/*# sourceMappingURL=style.css.map */