-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (67 loc) · 1.34 KB
/
Copy pathstyle.css
File metadata and controls
78 lines (67 loc) · 1.34 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: #eee;
}
header {
font-size: 64px;
letter-spacing: 32px;
font-family: sans-serif;
border-bottom: 1px solid white;
margin-bottom: 64px;
}
main {
display: flex;
justify-content: center;
align-items: flex-start;
}
.palette, .controls {
display: flex;
flex-direction: column;
}
.palette button {
margin-right: 4px;
}
.palette button,
.controls button {
cursor: pointer;
flex: 0 0 64px;
width: 64px;
border: 1px solid black;
margin-bottom: 4px;
}
.palette button {
transition: all .3s ease;
}
.palette button.active {
border: 4px solid gold;
transform: scale(1.3) rotate(45deg);
}
.grid {
width: 514px;
height: 514px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: 0 48px;
border: 1px solid black;
background: #ccc;
}
.cell {
flex: 0 0 64px;
height: 64px;
border: 1px solid black;
}
.controls button {
background: white;
font-family: sans-serif;
font-weight: bold;
padding: 4px;
}