-
Notifications
You must be signed in to change notification settings - Fork 10
/
style.css
51 lines (49 loc) · 867 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body{
height: 100%;
}
body{
background-color: blueviolet;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.navbar, .container{
background-color: rgb(28, 28, 29);
width: 800px;
border-radius: 3px;
}
.navbar{
padding: 1em;
margin-bottom: 1em;
display: flex;
justify-content: center;
align-items: center;
}
.btn, input{
height: 35px;
padding: 0 1em;
}
.color{
padding: 0 .25em;
width: 100px;
margin: 0 1em;
}
.container{
--size: 4;
height: 800px;
display: grid;
grid-template-columns: repeat(var(--size), 1fr);
grid-template-rows: repeat(var(--size), 1fr);
gap: 3px;
padding: 3px;
}
.pixel{
background-color: rgb(61, 61, 61);
border-radius: 2px;
}