Something went wrong. Try again.
Configurable leathercraft templates clt.pocka.jp
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109/* * Copyright 2026 Shota FUJI * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. * * SPDX-License-Identifier: MPL-2.0 */
:host { position: relative;}
.items { box-sizing: border-box; margin: auto; height: 100%; padding: min(5dvh, 5vw); aspect-ratio: 210 / 297; display: flex; justify-content: start; align-items: center; gap: min(3dvh, 5vw);
overflow: visible;}
::slotted(svg) { --_bow-bg: white; --_bow-fg: black; --_wob-bg: black; --_wob-fg: white;
--_print-bg: var(--_bow-bg); --_print-fg: var(--_bow-fg); --_preview-bg: var(--_print-bg); --_preview-fg: var(--_print-fg);
font-family: "Barlow", sans-serif; flex-basis: 100%; flex-shrink: 0; flex-grow: 0; border: 1px solid #0002; max-width: 100%; max-height: 100%;
background-color: var(--_preview-bg); border-radius: 2px; box-shadow: 1px 1px 5px #0003; color: var(--_preview-fg);}
:host([print-theme="white-on-black"]) ::slotted(svg) { --_print-bg: var(--_wob-bg); --_print-fg: var(--_wob-fg);
print-color-adjust: exact;}
:host([preview-theme="system"]) ::slotted(svg) { --_preview-bg: var(--_bow-bg); --_preview-fg: var(--_bow-fg);
@media (prefers-color-scheme: dark) { --_preview-bg: var(--_wob-bg); --_preview-fg: var(--_wob-fg);
print-color-adjust: exact; }}
.gesture-plane { position: absolute; inset: 0; z-index: 5;
touch-action: none;}
@media print { :host, .items { display: contents; }
.gesture-plane { display: none; }
::slotted(svg) { display: block; width: 210mm; height: 297mm; margin: 0; padding: 0; border: 0; outline: 0;
background-color: var(--_print-bg); border-radius: 0; box-shadow: none; color: var(--_print-fg); }
::slotted(svg:not(:first-child)) { break-before: page; }}