-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
64 lines (55 loc) · 901 Bytes
/
styles.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
.App {
font-family: monospace;
font-size: 1.3rem;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.grid {
display: grid;
border-style: solid;
border-width: 2px;
border-color: black;
}
.row {
display: flex;
flex-direction: row;
}
.cell {
width: 1.25em;
height: 1.25em;
display: flex;
justify-content: center;
align-items: center;
}
/* even cells */
.cell:nth-child(even) {
background: aliceblue;
}
.head,
.body {
display: inline-block;
}
.head::before {
content: '🧑🍳';
}
.body::before {
content: '🥧';
}
.apple::before {
content: '🍎';
}
.head[data-dir='Right'],
.body[data-dir='Right'] {
transform: rotate(-90deg);
}
.head[data-dir='Left'],
.body[data-dir='Left'] {
transform: rotate(90deg);
}
.head[data-dir='Up'],
.body[data-dir='Up'] {
transform: rotate(180deg);
}