-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (68 loc) · 1.07 KB
/
style.css
File metadata and controls
78 lines (68 loc) · 1.07 KB
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
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
}
.array-container {
display: flex;
align-items: flex-end;
height: 40vh;
overflow-x: auto;
padding: 10px;
}
.bar {
width: 20px;
margin: 0 1px;
background-color: dodgerblue;
position: relative;
}
button {
margin-top: 20px;
}
.height {
/* Define styling for the value display */
display: block;
text-align: center;
font-size: 10px;
color: black;
position: absolute;
top: -15px;
left: 50%;
transform: translateX(-50%);
}
#inputArr {
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 20px;
}
input[type="text"],
select,
input[type="range"],
button {
width: 100%;
max-width: 300px;
margin: 5px;
padding: 5px;
}
h1 {
font-size: 24px;
margin-top: 10px;
}
#rangeValue {
display: block;
text-align: center;
margin-top: -10px;
}
@media screen and (max-width: 600px) {
.array-container {
height: 20vh;
}
.bar {
width: 6px;
}
}