-
Notifications
You must be signed in to change notification settings - Fork 2
/
styles.js
63 lines (52 loc) · 939 Bytes
/
styles.js
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
const sf = require('sheetify')
const grid = sf`
:host {
width: 1000px;
box-sizing: border-box;
font-family: sans-serif;
}
.grid {
display: flex;
flex-direction: column;
justify-content: flex-start;
}
.row-container {
display: flex;
flex-direction: column;
justify-content: space-around;
}
.cell {
flex: 1;
border: 1px solid #888;
overflow: hidden;
}
:host:focus {
outline-width: 0;
}
.cell-content {
display: inline-block;
width: 100%;
min-height: 100%;
margin: 2px;
}
.header {
text-align: center;
font-weight: bold;
background-color: #39f;
padding: 2px;
}
.active {
border: 2px solid #00FFFF;
margin: 0px;
}
.row {
display: flex;
justify-content: space-around;
flex-direction: row;
flex-wrap: nowrap;
}
.row:nth-child(2n) {
background-color: #eee;
}
`
module.exports = grid