-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
97 lines (84 loc) · 1.59 KB
/
styles.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
body {
padding: 0%;
margin: 0%;
background-color: bisque;
height: 100vh;
width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family: "Courier New", monospace;
}
main {
display: flex;
align-items: center;
justify-content: center;
}
button {
height: 6rem;
width: 6rem;
border-radius: 50%;
font-size: 1rem;
font-weight: 600;
border-style: none;
margin: 0.5rem;
}
input[type="range"] {
appearance: slider-vertical;
width: 8px;
height: 175px;
padding: 0 5px;
background-color: firebrick;
/* removing default appearance */
-webkit-appearance: none;
appearance: none;
/* creating a custom design */
width: 100%;
cursor: pointer;
outline: none;
/* styling the track */
height: 15px;
background: #ccc;
border-radius: 16px;
}
/* Thumb: webkit */
input[type="range"]::-webkit-slider-thumb {
/* removing default appearance */
-webkit-appearance: none;
appearance: none;
/* creating a custom design */
height: 15px;
width: 15px;
background-color: #fff;
border-radius: 50%;
border: 2px solid rgb(240, 80, 0);
}
.mode-container,
.selection-container,
.grid-size-slider {
display: flex;
flex-direction: column;
align-items: center;
padding: 2rem;
}
.grid-parent {
display: flex;
flex-wrap: wrap;
border: 48px solid red;
border-radius: 2%;
background-color: lightgray;
width: 500px;
height: 500px;
}
.mode-default, .btn-reset:active {
background-color: yellow;
}
/* Footer section */
footer {
padding-top: 1rem;
}
.github-logo{
height: auto;
width: 1.2rem;
}