blob: c9a361614aae1b570c2c5aeb2992082f8fedaa2c (
plain)
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
|
body {
background: black;
color: aliceblue;
padding-left: 50px;
padding-right: 50px;
}
.container {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-areas:
"header header"
"paint liveFeed";
grid-gap: 5px;
}
@media (max-width: 760px) {
.container {
display: grid;
grid-template-columns: 1fr;
grid-template-areas:
"header"
"paint"
"liveFeed";
}
}
.header {
grid-area: header;
}
.paint {
grid-area: paint;
}
.liveFeed {
grid-area: liveFeed;
}
.paintContainer {
display: grid;
grid-template-columns: 1fr 1fr 1frpx;
grid-template-areas:
"paint paint tools"
"paintCol palette tools";
}
.paint {
grid-area: paint;
}
.tools {
grid-area: tools;
display: flex;
flex-direction: column;
width: 45px;
}
.palette {
grid-area: palette;
display: flex;
flex-direction: row;
}
.paintCol {
grid-area: paintCol;
}
.paintAreaCell {
width: "20px";
height: "20px";
min-width: "20px";
min-height: "20px";
max-width: "20px";
max-height: "20px";
border: "1px solid grey";
}
|