LIGO

by Chantal Roth

HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>LIGO Polarization Demo</title>
<style>
  :root{
    --bg:#0d0f16;
    --panel:#151823;
    --panel2:#10131c;
    --line:#2c3447;
    --ink:#edf1fb;
    --muted:#a5b0c8;
    --good:#8de38c;
    --warn:#ffd27a;
    --blue:#61a8ff;
    --red:#ff6e7c;
    --gold:#ffd76d;
  }
  html,body{margin:0;height:100%;background:var(--bg);color:var(--ink);font:14px/1.45 system-ui,Segoe UI,Roboto,Arial,sans-serif;}
  #wrap{display:grid;grid-template-columns:1.38fr 430px;height:100%;}
  #stage{position:relative;min-width:0;}
  #cv{width:100%;height:100%;display:block;background:radial-gradient(1200px 760px at 58% 36%, #1a1f32 0%, #101421 42%, #0d0f16 74%);}
  #ui{background:var(--panel);border-left:1px solid #232838;display:flex;flex-direction:column;overflow:auto;}
  .title{position:absolute;right:12px;top:10px;padding:6px 10px;background:#171b27;border:1px solid #2c3347;border-radius:6px;color:#cad5ef;font-size:13px;pointer-events:none}
  #infoBtn{position:absolute;right:12px;top:50px;width:24px;height:24px;border-radius:50%;border:1px solid #6175a4;background:#171b27;color:#dce7ff;cursor:pointer;font-weight:700;display:grid;place-items:center;transition:.2s}
  #infoBtn:hover{background:#dce7ff;color:#0d0f16;border-color:#dce7ff}
  details{border-top:1px solid #232838}
  details:first-of-type{border-top:none}
  summary{list-style:none;cursor:pointer;padding:10px 14px;color:#e5ecff;font-weight:600;user-select:none;display:flex;justify-content:space-between;align-items:center}
  summary::-webkit-details-marker{display:none}
  summary::after{content:'›';font-size:18px;transform:rotate(90deg);transition:transform .2s;color:#6f83b4}
  details[open] summary::after{transform:rotate(-90deg);color:#edf1fb}
  details[open] summary{background:#121622}
  .section{padding:8px 14px 12px}
 ...