Repository navigation
Expand file tree
/
Copy pathprintout.css
More file actions
111 lines (94 loc) · 1.89 KB
/
Copy pathprintout.css
File metadata and controls
111 lines (94 loc) · 1.89 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
:root {
font-family: "Nunito", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
}
body {
color: white;
display: flex;
flex-wrap: wrap;
gap: 0.25in;
align-content: center;
justify-content: space-around;
}
.card-spacer {
break-inside: avoid;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: space-around;
}
.card-container {
background: white;
background-position: center;
background-repeat: no-repeat;
background-size: 80%;
border: 0.125in solid rgba(255,255,255, 0.75);
border-radius: 0.25in;
display: flex;
flex-direction: column;
flex-shrink: 0;
height: 3.375in;
padding: 0.125in;
width: 2.375in;
}
@media print {
body {
margin: 0;
gap: 0;
}
.card-spacer {
height: calc(50dvh);
}
.card-container {
height: calc(50dvh - 1in);
width: calc(50dvw - 1in);
}
}
.card-container.rule {
background-color: #fb3946;
background-image: url(assets/Rule.svg);
}
.card-container.action {
background-color: #511a48;
background-image: url(assets/Action.svg);
}
.card-container.goal {
background-color: #029ab0;
background-image: url(assets/Goal.svg);
}
.card-container.keeper {
background-color: #02b077;
background-image: url(assets/Keeper.svg);
}
.card-container.blank {
outline: 1px solid black;
outline-offset: -1px;
}
.card-title {
font-size: 20px;
font-weight: 600;
}
.vertical-text {
flex-grow: 1;
}
:is(.rule, .action) .card-description {
border-radius: 12px;
background: rgba(0,0,0,0.4);
padding: 2pt 8pt;
}
.card-description ul {
display: inline-flex;
flex-wrap: wrap;
gap: 6pt;
list-style-type: none;
padding: 0;
}
.card-description li {
border-radius: 12px;
background: rgba(0,0,0,0.4);
display: inline;
padding: 2pt 8pt;
}