scaling-swarms / frontend /src /styles /_layout-adapter.css
tfrere's picture
tfrere HF Staff
Cursor
feat: port the template's new page layout to the editor and published articles
eab9566
Raw History Blame Contribute Delete
737 Bytes
/* ============================================================================ */
/* Editor additions to the mirrored template layout (template-layout/). */
/* Shared by the editor view and the published page; keep template-layout/ */
/* untouched so it can be re-synced. */
/* ============================================================================ */
/* The banner is an edge-to-edge iframe that cannot report its own height, so */
/* its box carries the banner ratio instead of the embed root. */
.hero-banner {
aspect-ratio: 5 / 2;
}
.hero-banner iframe {
background: transparent;
}
.paper-hero-banner .hero-banner {
width: 100%;
margin: 0;
}