fix(phase10): harden responsive layouts and release validation
This commit is contained in:
7 files changed
+407
-2
No files matched your search
@@ -32,7 +32,7 @@ const { title, subtitle, image, eyebrow, constrain = false } = Astro.props;
|
||||
.page-hero__copy { max-width: 600px; }
|
||||
.page-hero--constrained { background-image: var(--hero-image), linear-gradient(var(--color-tint), var(--color-tint)); background-clip: content-box, border-box; background-origin: content-box, border-box; background-position: center, center; background-repeat: no-repeat, repeat; background-size: cover, auto; padding-inline: max(0px, calc((100% - var(--container-w)) / 2)); }
|
||||
@media (max-width: 760px) {
|
||||
.page-hero__heading { background: #fffb; padding: 2rem; }
|
||||
.page-hero__heading { background: #fffb; box-sizing: border-box; max-width: 100%; padding: 2rem; width: 100%; }
|
||||
.page-hero--image > .container { padding-block: 6.25rem; }
|
||||
.page-hero--image { text-align: center; }
|
||||
.page-hero--image h1, .page-hero--image h2, .page-hero__copy { margin-inline: auto; }
|
||||
|
||||
@@ -28,7 +28,7 @@ const { entry } = await getPublication(Astro.url.pathname);
|
||||
<style>
|
||||
:global(.library-intro) { background: var(--color-primary); color: white; padding-block: 3rem; }
|
||||
:global(.library-intro h2) { color: white; }
|
||||
:global(.library-layout) { align-items: start; display: grid; gap: 3rem; grid-template-columns: 1fr 240px; }
|
||||
:global(.library-layout) { align-items: start; display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr) 240px; }
|
||||
:global(.library-sidebar) { position: sticky; top: 1rem; }
|
||||
:global(.library-sidebar h2) { font-size: 1.1rem; margin-top: 2rem; }
|
||||
:global(.library-sidebar ul) { list-style: none; padding: 0; }
|
||||
|
||||
Reference in new issue
Block a user