syncova-folio/shared/publication.css
Jerrit Fritzsche 6255fc4845
All checks were successful
Docker-Image veröffentlichen / publish (push) Successful in 4m8s
Syncova. Folio mit Docker-Publishing einrichten
2026-11-26 03:51:13 +01:00

52 lines
5.4 KiB
CSS

.folio-page { box-sizing: border-box; height: 100%; width: 100%; overflow: hidden; container-type: inline-size; color: var(--ink, #20202b); background: var(--paper, #fffefa); font-family: Arial, sans-serif; text-align: left; }
.folio-page *, .folio-page *::before, .folio-page *::after { box-sizing: border-box; }
.folio-content { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 4cqw; padding: 8cqw; min-height: 100%; }
.folio-layout-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.folio-layout-cover { padding: 0; gap: 0; }
.folio-layout-cover > :not(:has(.folio-image)) { margin: 3cqw 8cqw; }
.folio-width-full { grid-column: 1 / -1; }
.folio-block { min-width: 0; }
.folio-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; font-size: 3.65cqw; line-height: 1.48; }
.folio-title, .folio-heading { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.05em; line-height: 1.08; }
.folio-title { font-size: 10cqw; }
.folio-heading { font-size: 6.5cqw; }
.folio-caption { font-size: 2.65cqw; text-transform: uppercase; letter-spacing: .15em; }
.folio-image { width: 100%; display: block; object-fit: cover; }
.folio-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3cqw; }
.folio-gallery img { display: block; object-fit: cover; width: 100%; height: var(--gallery-height, 29cqw); }
.folio-gallery img:only-child { grid-column: 1 / -1; }
.folio-button, .folio-social, .folio-placeholder { display: inline-block; font-size: 3.3cqw; overflow-wrap: anywhere; }
.folio-button { background: var(--ink, #20202b); color: var(--paper, #fffefa); border-radius: .8cqw; padding: 2.4cqw 3.2cqw; text-decoration: none; }
.folio-social { color: inherit; text-underline-offset: .4em; }
.folio-placeholder { background: #eae9f5; color: #555375; padding: 3cqw; border-radius: 1cqw; }
.folio-video, .folio-qr { margin: 0; font-size: 3cqw; }
.folio-video video, .folio-video-print { width: 100%; height: 48cqw; background: #191923; }
.folio-video video { display: block; object-fit: contain; }
.folio-video-print { display: grid; place-items: center; position: relative; isolation: isolate; padding: 3cqw; color: #fff; text-align: center; }
.folio-video-print img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.folio-video-print span { display: block; padding: 1.2cqw 2cqw; background: #191923d9; border-radius: .5cqw; }
.folio-qr img { width: 25cqw; display: block; }
.folio-video figcaption, .folio-qr figcaption { margin-top: 1.3cqw; }
.folio-item-content { color: var(--item-ink, inherit); background: var(--item-fill, transparent); border: var(--item-stroke, 0) solid var(--item-border, currentColor); border-radius: var(--item-radius, 0); }
.folio-layout-free { position: relative; height: 100%; padding: 0; display: block; overflow: hidden; }
.folio-layout-free > .folio-block { position: absolute; }
.folio-layout-free .folio-item-content { width: 100%; height: 100%; overflow: hidden; }
.folio-layout-free .folio-body { font-family: var(--item-font, Arial, sans-serif); font-size: var(--item-size, 3.65cqw); font-weight: var(--item-weight, 400); line-height: var(--item-leading, 1.48); letter-spacing: var(--item-tracking, normal); }
.folio-layout-free .folio-title, .folio-layout-free .folio-heading { font-family: var(--item-font, Georgia, serif); font-weight: var(--item-weight, 500); line-height: var(--item-leading, 1.08); letter-spacing: var(--item-tracking, -.05em); }
.folio-layout-free .folio-title { font-size: var(--item-size, 10cqw); }
.folio-layout-free .folio-heading { font-size: var(--item-size, 6.5cqw); }
.folio-layout-free .folio-caption { font-family: var(--item-font, Arial, sans-serif); font-size: var(--item-size, 2.65cqw); font-weight: var(--item-weight, 400); line-height: var(--item-leading, 1.48); letter-spacing: var(--item-tracking, .15em); }
.folio-layout-free .folio-image { height: 100% !important; object-fit: var(--item-fit, cover); object-position: var(--item-position, center); }
.folio-layout-free .folio-gallery { height: 100%; grid-auto-rows: minmax(0, 1fr); }
.folio-layout-free .folio-gallery img { height: 100%; object-fit: var(--item-fit, cover); object-position: var(--item-position, center); }
.folio-layout-free .folio-video, .folio-layout-free .folio-qr { display: flex; flex-direction: column; height: 100%; font-size: var(--item-size, 2.4cqw); }
.folio-layout-free .folio-video video, .folio-layout-free .folio-video-print { height: auto; flex: 1; min-height: 0; }
.folio-layout-free .folio-qr img { width: auto; max-width: 100%; flex: 1; min-height: 0; object-fit: contain; object-position: left center; }
.folio-layout-free .folio-button, .folio-layout-free .folio-social { font-family: var(--item-font, Arial, sans-serif); font-size: var(--item-size, 3.3cqw); font-weight: var(--item-weight, 500); }
.folio-layout-free .folio-button { display: grid; place-items: center; text-align: center; width: 100%; height: 100%; padding: .9cqw; background: var(--item-fill, var(--ink)); color: var(--item-ink, var(--paper)); }
.folio-shape, .folio-html { width: 100%; height: 100%; display: block; border: 0; }
.folio-shape-ellipse { border-radius: 100%; background: var(--item-fill, #ddd7ff); }
.folio-shape-line { position: relative; top: 37%; height: 26%; background: var(--item-fill, #ddd7ff); }
.folio-shape-rectangle { background: var(--item-fill, #ddd7ff); }
.folio-layout-free .folio-item-content:has(.folio-shape-ellipse, .folio-shape-line) { background: none; }