/* MSC Tracker — CSS comun a todas las paginas */ :root { --bg: #0d0e10; --bg-card: #16181c; --fg: #d6d6d6; --fg-dim: #8a8d92; --accent: #7fdbca; --accent2: #ff9d4d; --fail: #ff5d5d; --win: #5dd39e; --code-bg: #0a0b0d; --border: #23262b; } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace; font-size: 14px; line-height: 1.55; } a { color: var(--accent); text-decoration: none; } a:hover { color: #fff; } code { background: var(--code-bg); padding: 1px 6px; border-radius: 3px; border: 1px solid var(--border); font-size: 0.92em; color: var(--accent); } pre { background: var(--code-bg); border: 1px solid var(--border); border-radius: 6px; padding: 14px 16px; overflow-x: auto; font-size: 0.88em; line-height: 1.45; color: #cfcfcf; margin: 10px 0; } button, .btn { background: var(--bg-card); color: var(--fg); border: 1px solid var(--border); padding: 6px 12px; border-radius: 4px; cursor: pointer; font: inherit; } button:hover { border-color: var(--accent); } button.primary, .btn-primary { background: var(--accent); color: #000; border-color: var(--accent); } button.primary:hover { background: #fff; } button.danger { color: var(--fail); border-color: var(--fail); } button.danger:hover { background: var(--fail); color: #000; } input, select { background: var(--code-bg); color: var(--fg); border: 1px solid var(--border); padding: 6px 10px; border-radius: 4px; font: inherit; } input:focus, select:focus { outline: none; border-color: var(--accent); } /* --- Top nav (sticky) --- */ .topnav { position: sticky; top: 0; z-index: 999; background: rgba(13, 14, 16, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; } .topnav-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 18px; height: 52px; } .topnav-brand { font-size: 1.0em; font-weight: 700; color: var(--accent); letter-spacing: 0.01em; text-decoration: none; margin-right: 4px; transition: color 0.15s ease; } .topnav-brand:hover { color: #fff; } .topnav-links { display: flex; gap: 2px; flex: 1; align-items: center; } .topnav-links > .topnav-item, .topnav-links > a { display: inline-flex; align-items: center; height: 32px; color: var(--fg-dim); padding: 0 14px; border-radius: 5px; text-decoration: none; font-size: 0.93em; font-weight: 500; line-height: 1; transition: background 0.15s ease, color 0.15s ease; } .topnav-links > .topnav-item:hover, .topnav-links > a:hover { color: var(--fg); background: rgba(127,219,202,0.08); } .topnav-links > .topnav-item.active > a, .topnav-links > a.active { color: var(--accent); background: rgba(127,219,202,0.13); } .nav-user { display: flex; align-items: center; gap: 8px; padding-left: 14px; border-left: 1px solid var(--border); margin-left: 4px; } .nav-user-name { color: var(--fg); font-size: 0.9em; font-weight: 500; } .nav-user-role { display: inline-block; padding: 2px 7px; border-radius: 3px; font-size: 0.65em; font-weight: 700; background: var(--code-bg); color: var(--accent2); border: 1px solid var(--accent2); text-transform: uppercase; letter-spacing: 0.04em; } .nav-btn-primary, .nav-btn-secondary { font-size: 0.83em; padding: 5px 11px; font-weight: 500; border-radius: 4px; cursor: pointer; font-family: inherit; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; } .nav-btn-primary { background: var(--accent); color: #000; border: 1px solid var(--accent); } .nav-btn-primary:hover { background: #7fe0c3; } .nav-btn-secondary { background: transparent; color: var(--fg-dim); border: 1px solid var(--border); } .nav-btn-secondary:hover { color: var(--fg); border-color: var(--fg-dim); background: rgba(255,255,255,0.03); } /* --- Page container --- */ .page { max-width: 1100px; margin: 0 auto; padding: 32px 24px 60px; } h1 { font-size: 1.8em; margin: 0 0 8px; color: var(--fg); } h2 { font-size: 1.3em; margin: 36px 0 12px; padding-bottom: 4px; border-bottom: 1px solid var(--border); } h3 { font-size: 1.1em; margin: 20px 0 8px; color: var(--accent); } h4 { font-size: 1em; margin: 16px 0 6px; color: var(--fg); } .lead { color: var(--fg-dim); font-size: 1.05em; margin: 0 0 24px; } .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 16px 20px; margin: 14px 0; } .card-header { display: flex; justify-content: space-between; align-items: center; margin: -16px -20px 12px; padding: 12px 20px; border-bottom: 1px solid var(--border); } .card-header h3 { margin: 0; color: var(--accent); } .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } @media (max-width: 720px) { .grid { grid-template-columns: 1fr; } } .doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 20px 0; } .doc-card { background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 6px; padding: 16px 20px; text-decoration: none; display: block; color: var(--fg); } .doc-card:hover { border-left-color: #fff; border-color: var(--accent); } .doc-card h3 { margin: 0 0 8px; color: var(--accent); } .doc-card p { margin: 0; color: var(--fg-dim); font-size: 0.92em; } table.data, table.ref { width: 100%; border-collapse: collapse; font-size: 0.9em; margin: 14px 0; } table.data th, table.data td, table.ref th, table.ref td { padding: 8px 12px; border: 1px solid var(--border); text-align: left; vertical-align: top; } table.data th, table.ref th { background: var(--code-bg); color: var(--accent); } table.data code, table.ref code { font-size: 0.95em; } .badge { display: inline-block; padding: 1px 6px; border-radius: 3px; font-size: 0.75em; background: var(--code-bg); color: var(--fg-dim); border: 1px solid var(--border); } .badge.ok { color: var(--win); border-color: var(--win); } .badge.bad { color: var(--fail); border-color: var(--fail); } .badge.warn { color: var(--accent2); border-color: var(--accent2); } .toast { position: fixed; bottom: 24px; right: 24px; background: var(--bg-card); border: 1px solid var(--accent); border-radius: 6px; padding: 10px 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.5); z-index: 1000; max-width: 400px; } .toast.error { border-color: var(--fail); } .toast.hidden { display: none; } .modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,0.72); display: flex; align-items: flex-start; justify-content: center; z-index: 999; padding: 32px 16px; overflow-y: auto; } .modal-bg.hidden { display: none; } .modal { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0; max-width: min(980px, calc(100vw - 32px)); width: 92%; max-height: calc(100vh - 64px); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 18px 60px rgba(0,0,0,0.65); } .modal-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: rgba(13,14,16,0.96); } .modal h3 { margin: 0; } .modal .close { cursor: pointer; color: var(--fg-dim); white-space: nowrap; } .modal .close:hover { color: var(--accent); } .modal > div:not(.modal-header), #modal-body { padding: 18px 22px; overflow-y: auto; } .modal label { display: block; margin: 10px 0 4px; font-size: 0.9em; } .modal input { width: 100%; } .modal button { margin-top: 14px; width: 100%; } .modal #pw-err { color: var(--fail); margin-top: 8px; font-size: 0.9em; } .detail-grid { display: grid; grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr); gap: 16px; } @media (max-width: 800px) { .detail-grid { grid-template-columns: 1fr; } } .kv-list { display: grid; gap: 8px; margin-top: 10px; } .kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px; padding: 8px 10px; background: rgba(255,255,255,0.025); border: 1px solid var(--border); border-radius: 5px; } .kv .k { color: var(--fg-dim); } .kv .v { color: var(--fg); overflow-wrap: anywhere; } .events-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; max-height: 360px; overflow-y: auto; } .events-list li { padding: 9px 10px; background: rgba(127,219,202,0.045); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 5px; } .event-date { color: var(--accent); font-weight: 700; } .event-meta { color: var(--fg-dim); font-size: 0.88em; margin-top: 2px; } .json-details { margin-top: 16px; border: 1px solid var(--border); border-radius: 6px; background: rgba(255,255,255,0.02); } .json-details summary { cursor: pointer; padding: 10px 12px; color: var(--accent); } .json-details pre { margin: 0; border: 0; border-top: 1px solid var(--border); border-radius: 0 0 6px 6px; max-height: 320px; overflow: auto; } .code-block { position: relative; } .code-block .copy-btn { position: absolute; top: 6px; right: 6px; background: var(--code-bg); color: var(--fg-dim); border: 1px solid var(--border); padding: 3px 8px; font-size: 0.75em; cursor: pointer; border-radius: 3px; z-index: 1; } .code-block .copy-btn:hover { color: var(--accent); border-color: var(--accent); } .code-block .copy-btn.copied { color: var(--win); border-color: var(--win); } ol.steps { padding-left: 22px; } ol.steps li { margin: 6px 0; } .note { background: rgba(127,219,202,0.08); border-left: 3px solid var(--accent); padding: 10px 14px; margin: 14px 0; border-radius: 0 4px 4px 0; } .warn { background: rgba(255,157,77,0.08); border-left: 3px solid var(--accent2); padding: 10px 14px; margin: 14px 0; border-radius: 0 4px 4px 0; } .danger { background: rgba(255,93,93,0.08); border-left: 3px solid var(--fail); padding: 10px 14px; margin: 14px 0; border-radius: 0 4px 4px 0; } .hidden { display: none; } /* --- Dropdowns --- */ .topnav-item { position: relative; display: inline-flex; } .topnav-item.has-dropdown::before { content: ""; position: absolute; left: -8px; right: -8px; top: 100%; height: 12px; pointer-events: auto; } .topnav-item.has-dropdown > a::after { content: "▾"; font-size: 0.65em; opacity: 0.55; margin-left: 5px; display: inline-block; transition: transform 0.2s ease, opacity 0.15s ease; } .topnav-item.has-dropdown:hover > a::after { opacity: 0.9; transform: rotate(180deg); } .dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; max-width: min(420px, calc(100vw - 24px)); background-color: #0d0e10; background-image: linear-gradient(180deg, #141519 0%, #0d0e10 100%); border: 1px solid #2a2d33; border-radius: 6px; padding: 5px 0; z-index: 9999; display: none; box-shadow: 0 12px 32px rgba(0,0,0,0.7), 0 2px 8px rgba(0,0,0,0.4); isolation: isolate; } /* Si el topnav-item está cerca del borde derecho, alineamos el dropdown al borde derecho */ .topnav-item.has-dropdown.align-right .dropdown { left: auto; right: 0; } /* En mobile/estrecho, los dropdowns se alinean al borde derecho del topnav */ @media (max-width: 600px) { .topnav-item.has-dropdown .dropdown { left: auto; right: 0; } } .dropdown.hidden-by-default { display: none; } .topnav-item.has-dropdown:hover .dropdown, .topnav-item.has-dropdown:focus-within .dropdown { display: block; animation: dropdown-in 0.12s ease-out; } @keyframes dropdown-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } } .dropdown a { display: block; padding: 9px 16px; color: var(--fg-dim); font-size: 0.9em; border-bottom: 1px solid rgba(255,255,255,0.04); text-decoration: none; transition: background 0.12s ease, color 0.12s ease; line-height: 1.3; } .dropdown a:last-child { border-bottom: 0; } .dropdown a:hover { background: rgba(127,219,202,0.10); color: var(--fg); } .dropdown a.active { color: var(--accent); background: rgba(127,219,202,0.12); } .dropdown-sep { height: 1px; background: var(--border); margin: 5px 0; border: 0; } /* --- Glass theme inspired by modern liquid/glass web UI --- */ :root { --bg: #070812; --bg-card: rgba(255, 255, 255, 0.075); --fg: rgba(255, 255, 255, 0.92); --fg-dim: rgba(226, 232, 255, 0.62); --accent: #9bf7e6; --accent2: #b79cff; --fail: #ff6b8a; --win: #67f5b5; --code-bg: rgba(5, 7, 18, 0.56); --border: rgba(255, 255, 255, 0.14); --glass-border: rgba(255,255,255,0.18); --glass-highlight: rgba(255,255,255,0.34); --shadow-glass: 0 24px 80px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.16); } html { min-height: 100%; background: radial-gradient(circle at 12% 8%, rgba(105, 255, 221, 0.22), transparent 34%), radial-gradient(circle at 84% 4%, rgba(154, 120, 255, 0.28), transparent 32%), radial-gradient(circle at 65% 88%, rgba(67, 124, 255, 0.20), transparent 38%), linear-gradient(135deg, #070812 0%, #0b1024 42%, #090913 100%); } body { min-height: 100%; background: transparent; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -0.01em; } body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -2; background: linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 50% 15%, black, transparent 72%); } body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.09), transparent 42%); } a { color: var(--accent); } a:hover { color: #fff; text-shadow: 0 0 18px rgba(155,247,230,0.42); } .topnav { background: rgba(10, 12, 28, 0.56); border-bottom: 1px solid rgba(255,255,255,0.13); backdrop-filter: blur(22px) saturate(1.35); -webkit-backdrop-filter: blur(22px) saturate(1.35); box-shadow: 0 12px 40px rgba(0,0,0,0.22); } .topnav-inner { height: 58px; } .topnav-brand { color: #fff; font-weight: 800; letter-spacing: -0.03em; text-shadow: 0 0 24px rgba(155,247,230,0.35); } .topnav-brand::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 0 20px rgba(155,247,230,0.75); vertical-align: 1px; } .topnav-links > .topnav-item, .topnav-links > a, .nav-btn-secondary, .nav-btn-primary { border-radius: 999px; } .topnav-links > .topnav-item:hover, .topnav-links > a:hover, .topnav-links > .topnav-item.active > a, .topnav-links > a.active { background: rgba(255,255,255,0.10); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); } .nav-user { border-left-color: rgba(255,255,255,0.12); } .nav-user-role, .badge { border-radius: 999px; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); color: var(--accent2); } .nav-btn-primary, button.primary, .btn-primary { background: linear-gradient(135deg, rgba(155,247,230,0.95), rgba(183,156,255,0.92)); color: #061018; border-color: rgba(255,255,255,0.35); box-shadow: 0 12px 30px rgba(85, 207, 220, 0.22), inset 0 1px 0 rgba(255,255,255,0.55); } .nav-btn-secondary, button, .btn { background: rgba(255,255,255,0.075); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.86); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); } button:hover, .btn:hover, .nav-btn-secondary:hover { transform: translateY(-1px); border-color: rgba(155,247,230,0.45); background: rgba(255,255,255,0.12); box-shadow: 0 10px 28px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.14); } button, .btn, input, select { transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease; } button.danger { color: #ffd6de; border-color: rgba(255,107,138,0.45); background: rgba(255,107,138,0.08); } button.danger:hover { background: rgba(255,107,138,0.18); color: #fff; } .page, .wrap { position: relative; } h1 { font-size: clamp(2rem, 4vw, 4.1rem); line-height: 0.94; letter-spacing: -0.07em; color: #fff; text-wrap: balance; text-shadow: 0 24px 90px rgba(155,247,230,0.22); } h2 { border-bottom-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.92); letter-spacing: -0.035em; } h3 { color: #fff; letter-spacing: -0.03em; } .lead { color: rgba(226,232,255,0.68); } .card, .container-card, .modal, .note, .warn, table.data, .doc-card, .dropdown { background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.055)), rgba(13, 16, 34, 0.46); border: 1px solid var(--glass-border); box-shadow: var(--shadow-glass); backdrop-filter: blur(24px) saturate(1.35); -webkit-backdrop-filter: blur(24px) saturate(1.35); } .card, .container-card, .note, .warn, .doc-card { border-radius: 24px; } .card, .container-card { position: relative; overflow: hidden; } .card::before, .container-card::before, .modal::before, .doc-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent); opacity: .75; pointer-events: none; } .card-header { border-bottom-color: rgba(255,255,255,0.10); background: rgba(255,255,255,0.035); } .container-card:hover, .doc-card:hover, .card:hover { border-color: rgba(155,247,230,0.30); } input, select, textarea { background: rgba(5, 7, 18, 0.42); border-color: rgba(255,255,255,0.16); border-radius: 14px; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); } input:focus, select:focus, textarea:focus { border-color: rgba(155,247,230,0.65); box-shadow: 0 0 0 4px rgba(155,247,230,0.10), inset 0 1px 0 rgba(255,255,255,0.10); } code, pre, .code, .code-block pre { background: rgba(3, 5, 14, 0.58); border-color: rgba(255,255,255,0.12); border-radius: 16px; } code { color: #bffdf0; } .dropdown { border-radius: 18px; padding: 8px; background: rgba(12, 15, 32, 0.82); } .dropdown a { border-radius: 12px; border-bottom: 0; margin: 2px 0; } .dropdown a:hover, .dropdown a.active { background: rgba(255,255,255,0.10); color: #fff; } .dropdown-sep { background: rgba(255,255,255,0.12); } .modal-bg { background: rgba(3,5,14,0.60); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } .modal { border-radius: 28px; } .toast { border-radius: 999px; background: rgba(16, 20, 42, 0.82); border: 1px solid rgba(255,255,255,0.18); box-shadow: var(--shadow-glass); backdrop-filter: blur(18px) saturate(1.25); } .badge.ok { color: #b6ffd9; border-color: rgba(103,245,181,.45); background: rgba(103,245,181,.10); } .badge.bad { color: #ffd3dc; border-color: rgba(255,107,138,.5); background: rgba(255,107,138,.10); } .badge.warn { color: #ffe0b0; border-color: rgba(255,198,109,.45); background: rgba(255,198,109,.10); } .data th, .data td, table.ref th, table.ref td { border-color: rgba(255,255,255,0.10); } .data th, table.ref th { background: rgba(255,255,255,0.055); color: rgba(255,255,255,.78); } tr:hover td { background: rgba(255,255,255,0.035); } @media (prefers-reduced-motion: no-preference) { .card, .container-card, .doc-card { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; } .container-card:hover, .doc-card:hover { transform: translateY(-2px); } } /* --- Glass readability fixes --- */ .dropdown { background: rgba(7, 10, 24, 0.94) !important; border-color: rgba(255,255,255,0.24) !important; box-shadow: 0 24px 80px rgba(0,0,0,0.62), inset 0 1px 0 rgba(255,255,255,0.18) !important; backdrop-filter: blur(28px) saturate(1.25) !important; -webkit-backdrop-filter: blur(28px) saturate(1.25) !important; } .dropdown a { color: rgba(255,255,255,0.86) !important; font-weight: 650; text-shadow: 0 1px 1px rgba(0,0,0,0.45); } .dropdown a:hover, .dropdown a.active { color: #ffffff !important; background: linear-gradient(135deg, rgba(155,247,230,0.18), rgba(183,156,255,0.15)) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16); } .dropdown a:focus-visible { outline: 2px solid rgba(155,247,230,0.8); outline-offset: 2px; } /* The VPS index uses .wrap instead of .page; give it the same breathing room. */ .wrap { max-width: 1120px; margin: 0 auto; padding: 32px 24px 72px; } .wrap main { width: 100%; } @media (max-width: 720px) { .wrap, .page { padding-left: 16px; padding-right: 16px; } } /* --- Unified glass nav pill with active slider --- */ .topnav-links.nav-pill { position: relative; flex: 0 0 auto; display: grid; gap: 0; align-items: center; height: 40px; padding: 4px; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.055)), rgba(6, 9, 22, 0.46); border: 1px solid rgba(255,255,255,0.18); box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), inset 0 -1px 0 rgba(0,0,0,0.35), 0 14px 42px rgba(0,0,0,0.25); backdrop-filter: blur(22px) saturate(1.25); -webkit-backdrop-filter: blur(22px) saturate(1.25); overflow: visible; } .topnav-links.nav-pill.has-admin { grid-template-columns: repeat(3, minmax(104px, 1fr)); } .topnav-links.nav-pill.no-admin { grid-template-columns: repeat(2, minmax(104px, 1fr)); } .topnav-links.nav-pill::before { content: ""; position: absolute; z-index: 0; top: 4px; left: 4px; width: calc((100% - 8px) / 3); height: calc(100% - 8px); border-radius: 999px; background: radial-gradient(circle at 30% 16%, rgba(255,255,255,0.55), transparent 26%), linear-gradient(135deg, rgba(155,247,230,0.24), rgba(183,156,255,0.22)), rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.26); box-shadow: 0 10px 28px rgba(91, 207, 218, 0.18), inset 0 1px 0 rgba(255,255,255,0.42), inset 0 -1px 0 rgba(0,0,0,0.22); transform: translateX(0%); transition: transform .32s cubic-bezier(.2,.8,.2,1), width .22s ease; pointer-events: none; } .topnav-links.nav-pill.no-admin::before { width: calc((100% - 8px) / 2); } .topnav-links.nav-pill.current-docs::before { transform: translateX(100%); } .topnav-links.nav-pill.current-users::before { transform: translateX(200%); } .topnav-links.nav-pill.no-admin.current-docs::before { transform: translateX(100%); } .topnav-links.nav-pill.no-admin.current-users::before { transform: translateX(100%); } .topnav-links.nav-pill > .topnav-item, .topnav-links.nav-pill > a { position: relative; z-index: 1; justify-content: center; height: 32px; padding: 0 16px; border-radius: 999px; background: transparent !important; box-shadow: none !important; } .topnav-links.nav-pill > .topnav-item > a, .topnav-links.nav-pill > a { width: 100%; justify-content: center; color: rgba(255,255,255,0.72); } .topnav-links.nav-pill > .topnav-item:hover, .topnav-links.nav-pill > a:hover { background: rgba(255,255,255,0.055) !important; } .topnav-links.nav-pill > .topnav-item:hover > a, .topnav-links.nav-pill > a:hover, .topnav-links.nav-pill > .topnav-item:focus-within > a, .topnav-links.nav-pill > a.active, .topnav-links.nav-pill > .topnav-item > a.active { color: #fff !important; text-shadow: 0 1px 1px rgba(0,0,0,0.28); } .topnav-links.nav-pill .dropdown { top: calc(100% + 10px); } .topnav-links.nav-pill .topnav-item.has-dropdown::before { height: 18px; } @media (max-width: 820px) { .topnav-inner { gap: 10px; padding: 0 12px; } .topnav-links.nav-pill.has-admin { grid-template-columns: repeat(3, minmax(82px, 1fr)); } .topnav-links.nav-pill.no-admin { grid-template-columns: repeat(2, minmax(82px, 1fr)); } .topnav-links.nav-pill > .topnav-item, .topnav-links.nav-pill > a { padding: 0 10px; font-size: .86em; } } /* --- Softer full-page navigation feel --- */ @media (prefers-reduced-motion: no-preference) { body { opacity: 1; transition: opacity .14s ease, filter .14s ease; } html.page-leaving body { opacity: .72; filter: blur(2px); } @view-transition { navigation: auto; } }