-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (86 loc) · 1.44 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
body {
background-image: url('background.gif');
background-size: cover;
}
#h1-title {
color: azure;
text-align: center;
margin: 10px auto auto;
}
#title {
text-align: center;
margin: 10px auto auto;
color: black;
}
#color-palette {
display: flex;
flex-direction: row;
justify-content: center;
margin: 10px auto auto;
}
#div-buttons {
display: flex;
flex-direction: row;
justify-content: center;
margin-top: 20px;
}
#button-random-color {
width: 100px;
height: 50px;
text-align: center;
}
#clear-board {
width: 100px;
height: 50px;
text-align: center;
}
#board-size {
width: 100px;
height: 50px;
text-align: center;
}
#color-selected {
width: 40px;
height: 40px;
padding: 5px;
border-radius: 20%;
margin: 5px;
background-color: black;
}
#pixel-board {
background-color: rgb(21, 1, 66);
box-shadow: 0 0 20px 0 black;
display: grid;
grid-template-columns: repeat(5, 5fr);
justify-content: center;
align-items: center;
width: 560px;
height: 560px;
margin: 20px auto 20px;
padding: 0;
}
.color {
box-shadow: 0 0 10px 0 black;
width: 40px;
height: 40px;
padding: 5px;
border-radius: 20%;
margin: 5px;
}
.pixel {
border: 1px solid black;
width: 110px;
height: 110px;
background-color: white;
}
#div-container-footer {
position: absolute;
bottom: -10;
color: #FFF;
width: 99%;
height: 100px;
text-align: center;
}
#p-footer {
color: azure;
}