-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
97 lines (97 loc) · 1.83 KB
/
index.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
* {
margin: 0;
padding: 0;
font-family: Helvetica, Arial, Sans-Serif;
}
html, body {
width: 100%;
height: 100%;
}
.input-field {
margin-top: 0;
margin-bottom: 0;
}
#controls {
position: absolute;
top: 1vw;
right: 1vw;
width: 500px;
border-radius: 4px;
background-color: white;
padding: 1vw;
box-sizing: border-box;
-webkit-transition: width 0.5s, height 0.5s;
transition: width 0.5s, height 0.5s;
}
#header {
display: inline-block;
}
#options {
display: block;
margin-top: 20px;
margin-bottom: 10px;
}
#name {
display: block;
font-size: 1.4vw;
font-family: 'Courier New', Courier, monospace;
font-weight: bold;
user-select: none;
}
#author {
font-size: 0.8vw;
user-select: none;
}
@media only screen and (max-width: 768px) {
/* For mobile phones: */
#controls {
width: calc(100% - 2vw);
}
#name {
font-size: 5vw;
}
}
@media only screen and (max-width: 1024px) {
/* For laptops with smaller screens: */
#name {
font-size: 2.6vw;
}
}
#hide-controls {
float: right;
}
.label {
display: inline-block;
font-size: 20px;
vertical-align: middle;
margin-right: 10px;
user-select: none;
}
.charge-selection {
vertical-align: middle;
}
.charge-selection-options {
display: inline-block;
vertical-align: middle;
height: 45px;
}
.charge-selection-option {
border-width: 5px;
border-style: solid;
border-color: white;
box-sizing: initial;
display: inline-block;
height: calc(100% - 10px);
margin-right: 6px;
border-radius: 100%;
user-select: none;
}
.charge-selection-current-option {
box-shadow: 0 0 5px;
}
#k-selector, #stride-selector, #charge-unit-selector, #charge-selector {
display: inline-block;
}
#reset-btn {
float: right;
}