Skip to content

Commit 20ce958

Browse files
Update styles.css
1 parent 6fd2c86 commit 20ce958

1 file changed

Lines changed: 7 additions & 15 deletions

File tree

styles.css

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -351,18 +351,10 @@ figure.screen{margin:0 auto !important; max-width:840px !important; width:100% !
351351
.mdx-lb-close:focus, .mdx-lb-prev:focus, .mdx-lb-next:focus{outline:none}
352352
.mdx-lightbox *{outline:none !important}
353353

354-
355-
/* === AURUM-DELTA v2 — smaller screens & stable lightbox === */
356-
.screens-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(380px,1fr)) !important; gap:16px !important; }
357-
figure.screen{ margin:0 auto; max-width:800px !important; width:100% !important; }
358-
.mdx-frame{ max-width:800px !important; width:100% !important; border-radius:12px !important; }
359-
360-
/* Lightbox stabilization */
361-
.mdx-lightbox{ will-change: opacity; }
362-
body.mdx-locked{ overflow:hidden !important; }
363-
364-
/* Close button should not change size on focus/active */
365-
.mdx-lightbox .mdx-close{ outline:none; border:1px solid rgba(255,255,255,.20); }
366-
.mdx-lightbox .mdx-close:focus,
367-
.mdx-lightbox .mdx-close:active{ outline:none; border:1px solid rgba(255,255,255,.20); }
368-
354+
/* === AURUM-DELTA MIN: smaller screen windows === */
355+
.screens-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr)) !important;gap:16px !important}
356+
figure.screen{max-width:780px !important;margin:0 auto !important}
357+
.mdx-frame{max-width:780px !important;width:100% !important;border-radius:12px}
358+
/* keep images fluid */
359+
.mdx-frame .mdx-stage{display:block !important;line-height:0}
360+
.mdx-frame .mdx-stage img{display:block !important;width:100% !important;height:auto !important}

0 commit comments

Comments
 (0)