|
1 | | ---- |
| 1 | +--- |
2 | 2 | --- |
3 | 3 |
|
4 | 4 | /* Bingo Card Generator Styles */ |
|
32 | 32 | .bingo-card.full-bg { |
33 | 33 | background: url('/assets/bingo-assets/bingo-bg.svg') center/cover; |
34 | 34 | } |
| 35 | + |
35 | 36 | .hide-bg .bingo-card.full-bg { |
36 | 37 | background: white !important; |
37 | 38 | } |
|
70 | 71 | } |
71 | 72 |
|
72 | 73 | } |
| 74 | + |
73 | 75 | .blackWhite .bingo-letters-container { |
74 | 76 | #bingo-letters-bg-svg { |
75 | 77 | fill: white; |
|
82 | 84 | stroke: black; |
83 | 85 | stroke-width: 1px; |
84 | 86 | } |
| 87 | + |
85 | 88 | #bingo-letters-bg-svg { |
86 | 89 | fill: none; |
87 | 90 | } |
|
140 | 143 | body { |
141 | 144 | background: #fff !important; |
142 | 145 | } |
| 146 | + |
143 | 147 | .bingo-cards-container, |
144 | 148 | .bingo-card, |
145 | 149 | .print-cards-container, |
146 | 150 | .print-page, |
147 | 151 | .bingo-card { |
148 | 152 | page-break-inside: avoid; |
149 | 153 | } |
| 154 | + |
150 | 155 | .print-page { |
151 | 156 | page-break-after: always; |
152 | 157 | } |
|
158 | 163 | margin: 0; |
159 | 164 | padding: 0; |
160 | 165 | } |
| 166 | + |
161 | 167 | .print-cards-container { |
162 | 168 | width: 100vw; |
163 | 169 | min-height: 100vh; |
164 | 170 | } |
| 171 | + |
165 | 172 | .print-page { |
166 | 173 | display: flex; |
167 | 174 | flex-direction: column; |
|
170 | 177 | padding: 0; |
171 | 178 | page-break-after: always; |
172 | 179 | gap: 16pt; |
| 180 | + |
| 181 | + &:not(:first-child) { |
| 182 | + margin-top: 116pt; |
| 183 | + } |
173 | 184 | } |
| 185 | + |
174 | 186 | .print-card-rotator { |
175 | | - width: 468pt; /* 6.5in * 72pt/in */ |
176 | | - height: 324pt; /* 4.5in * 72pt/in */ |
| 187 | + width: 468pt; |
| 188 | + /* 6.5in * 72pt/in */ |
| 189 | + height: 324pt; |
| 190 | + /* 4.5in * 72pt/in */ |
177 | 191 | position: relative; |
178 | 192 | display: flex; |
179 | 193 | justify-content: center; |
|
182 | 196 | } |
183 | 197 |
|
184 | 198 | .bingo-card { |
185 | | - width: 324pt !important; /* 4.5in */ |
186 | | - height: 468pt !important; /* 6.5in */ |
| 199 | + width: 324pt !important; |
| 200 | + /* 4.5in */ |
| 201 | + height: 468pt !important; |
| 202 | + /* 6.5in */ |
187 | 203 | box-sizing: border-box; |
188 | 204 | border: 2pt solid #222; |
189 | 205 | border-radius: 0 !important; |
|
200 | 216 | transform: rotate(90deg) translateY(-468pt); |
201 | 217 | transform-origin: left top; |
202 | 218 | } |
| 219 | + |
203 | 220 | .print-card-rotator:nth-child(even) { |
204 | 221 | margin-top: -100pt; |
205 | 222 |
|
206 | 223 | .bingo-card { |
207 | | - transform: rotate(90deg) translateY(-468pt) translateX(100pt); |
| 224 | + transform: rotate(90deg) translateY(-468pt) translateX(100pt); |
208 | 225 | } |
209 | 226 | } |
| 227 | + |
210 | 228 | .bingo-title { |
211 | 229 | margin: 12pt 0 3pt 0 !important; |
212 | 230 | width: 95% !important; |
213 | 231 | font-size: 28pt !important; |
214 | 232 | text-align: center; |
215 | 233 | } |
| 234 | + |
216 | 235 | .bingo-letters-container { |
217 | 236 | width: 100% !important; |
218 | 237 | height: 48pt !important; |
219 | 238 | margin: 0 !important; |
220 | 239 | padding: 0 !important; |
221 | 240 | } |
| 241 | + |
222 | 242 | .bingo-letters-bg, |
223 | 243 | .bingo-letters-bg-color { |
224 | 244 | height: 48pt !important; |
225 | 245 | } |
| 246 | + |
226 | 247 | .bingo-footer { |
227 | 248 | width: 100% !important; |
228 | 249 | height: 18pt !important; |
|
231 | 252 | left: 0; |
232 | 253 | z-index: 6; |
233 | 254 | } |
| 255 | + |
234 | 256 | .bingo-grid { |
235 | 257 | margin: 8pt 8pt 0 !important; |
236 | 258 | } |
| 259 | + |
237 | 260 | .bingo-square { |
238 | 261 | width: 20% !important; |
239 | 262 | height: 68.6pt !important; |
|
246 | 269 | width: 110%; |
247 | 270 | margin: 0 0 0 -5%; |
248 | 271 | } |
| 272 | + |
249 | 273 | .bingo-card.full-bg { |
250 | 274 | background: url('/assets/bingo-assets/bingo-bg.svg') center/cover !important; |
251 | 275 | -webkit-print-color-adjust: exact; |
252 | 276 | print-color-adjust: exact; |
253 | 277 | } |
| 278 | + |
254 | 279 | .hide-bg .bingo-card.full-bg { |
255 | 280 | background: #fff !important; |
256 | 281 | } |
|
0 commit comments