-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.scss
78 lines (63 loc) · 1.03 KB
/
index.scss
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
body,
html {
height: 100%;
margin: 0;
}
body {
align-content: center;
background: #fff;
display: grid;
font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
justify-items: center;
}
hstack,
vstack {
display: grid;
&[spacing] {
grid-gap: 10px;
}
&[spacing=condensed] {
grid-gap: 5px;
}
&[spacing=relaxed] {
grid-gap: 20px;
}
}
hstack {
align-items: center;
grid-auto-flow: column;
justify-content: center;
&[alignment=leading] {
justify-content: left;
}
divider {
border-left: solid 1px #eee;
align-self: stretch;
}
}
vstack {
align-content: center;
justify-items: center;
&[alignment=leading] {
justify-items: left;
}
divider {
border-top: solid 1px #eee;
justify-self: stretch;
}
}
text {
line-height: 1;
&[font=title] {
font-size: 25px;
}
&[font=caption] {
color: #888;
font-size: 15px;
}
}
img {
&[rounding=full] {
border-radius: 50%;
}
}