-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
105 lines (90 loc) · 1.79 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
body {
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 14px;
}
/* Styling for h2 */
h2 {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
}
/* Styling for select */
select {
padding: 6px;
border-radius: 4px;
border: 1px solid #ccc;
}
/* Styling for input */
input {
padding: 6px;
border-radius: 4px;
border: 1px solid #ccc;
}
div.hidden {
display: none;
}
div.wrapper {
position: relative;
display: flex;
flex-direction: row;
justify-content: space-evenly;
height: 70vh; /* vh refers to viewport height */
align-items: center;
padding-top: 40px;
padding-bottom: 40px;
}
.controls {
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
}
.sliders {
padding-top: 20px;
}
/* Range slider container */
.range {
display: flex;
flex-direction: row;
justify-content: left;
align-items: center;
}
/* Slider field container */
.field {
display: flex;
align-items: center;
padding-left: 10px;
}
/* Slider value on left side */
.value.left {
margin-right: 20px;
}
/* Slider value on right side */
.value.right {
margin-left: 20px;
}
/* Range slider track */
input[type="range"] {
width: 100%;
height: 10px;
background-color: #ddd;
border-radius: 5px;
outline: none;
}
/* Range slider thumb */
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 20px;
height: 20px;
background-color: #4caf50;
border-radius: 50%;
cursor: pointer;
}
/* Range slider thumb on hover */
input[type="range"]::-webkit-slider-thumb:hover {
background-color: #3e8e41;
}
/* Range slider thumb on active state */
input[type="range"]::-webkit-slider-thumb:active {
transform: scale(1.2);
}