/
style.css
107 lines (89 loc) · 1.47 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
body {
font-family: "Helvetica", "Arial", sans-serif;
font-size: 20px;
}
.wrapper {
max-width: 720px;
width: 90%;
margin: 20px auto;
}
.controls {
float: left;
width: 200px;
}
h1 {
margin-top: 0;
margin-bottom: 1em;
}
a {
color: #000;
font-size: 0.7em;
font-style: italic;
}
a:hover {
text-decoration: none;
}
.desc {
font-style: italic;
line-height: 1.3;
font-size: 0.7em;
}
label span {
float: right;
}
input {
width: 100%;
margin: 0 0 3em;
}
input[type="range"]{
-webkit-appearance: none;
}
input[type=range]::-webkit-slider-runnable-track {
height: 4px;
background: #ddd;
border: none;
border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
border: none;
height: 16px;
width: 16px;
border-radius: 50%;
background: black;
margin-top: -6px;
}
input[type=range]:focus {
outline: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
background: #ccc;
}
input[type=range]::-moz-range-thumb {
border: none;
height: 16px;
width: 16px;
border-radius: 50%;
background: black;
}
svg {
width: 500px;
height: 500px;
float: right;
display: block;
}
@media all and (max-width: 800px){
body {
font-size: 16px;
}
.controls {
width: 100%;
}
.control-group {
max-width: 300px;
}
svg {
width: 100%;
height: auto;
}
}