-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
75 lines (62 loc) · 975 Bytes
/
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
:root {
--clr-dark-800: #000000;
--clr-light-400: #b4b4b4;
--grid-cols: 1;
--grid-rows: 1;
}
html,
body {
height: 100%;
}
* {
margin: 0;
padding: 0;
font: inherit;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
button {
padding: 1rem;
}
.container {
border: 5px solid var(--clr-dark-800);
width: 75%;
height: 75%;
margin: auto;
}
.grid {
display: grid;
grid-template-rows: repeat(var(--grid-rows), 1fr);
grid-template-columns: repeat(var(--grid-cols), 1fr);
}
.cell {
background-color: aqua;
border-left: 1px solid gray;
border-bottom: 1px solid gray;
}
.hovering {
background-color: var(--clr-light-400);
}
.colored {
background-color: var(--clr-dark-800);
}
#contentContainer {
display: flex;
padding: 2rem;
gap: 1rem;
align-items: center;
}
#sliderContainer {
border: 1px solid black;
flex: 1;
text-align: center;
}
#dimensionDisplay {
font-size: 1.5rem;
}
#dimensionSlider {
width: 100%;
}