@kolkrabbi/kol-theme 0.195.0 → 0.196.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -391,3 +391,43 @@
391
391
  border-radius: 3px;
392
392
  opacity: 1;
393
393
  }
394
+
395
+
396
+ /* ═════════════════════════════════════════════════════════════════
397
+ A4 SHEETS — kol-styleguide's A4Pages (kol-website apps/record's A4Page and its kit CSS, carried 2026-10-28): a true A4
398
+ portrait sheet (ISO 216, 1:√2) at 794 × 1123 with print-style 48px margins; the clip is one page's slice of the content;
399
+ the measurer lays the content out off-screen at the page's content width. In print each sheet is one A4 page.
400
+ ═════════════════════════════════════════════════════════════════ */
401
+ .kol-a4-sheet {
402
+ width: 794px;
403
+ max-width: 100%;
404
+ height: 1123px;
405
+ padding: 48px;
406
+ background: #fff;
407
+ box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
408
+ overflow: hidden;
409
+ }
410
+ .kol-a4-clip {
411
+ width: 100%;
412
+ overflow: hidden;
413
+ }
414
+ .kol-a4-measure {
415
+ position: absolute;
416
+ left: -99999px;
417
+ top: 0;
418
+ width: 698px; /* A4 content width = 794 − 2×48 margin */
419
+ visibility: hidden;
420
+ pointer-events: none;
421
+ }
422
+ @media print {
423
+ @page { size: A4 portrait; margin: 0; }
424
+ .kol-a4-measure { display: none !important; }
425
+ .kol-a4-sheet {
426
+ width: 210mm !important;
427
+ height: auto !important;
428
+ margin: 0 auto !important;
429
+ box-shadow: none !important;
430
+ break-inside: avoid;
431
+ }
432
+ .kol-a4-sheet:not(:last-child) { break-after: page; }
433
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.195.0",
3
+ "version": "0.196.0",
4
4
  "description": "Tokens and base CSS",
5
5
  "license": "MIT",
6
6
  "type": "module",