spb/anomaly-atlas Public License
Systematic discovery & rigorous validation of statistical anomalies in open HF market data (hfmarketdata.io) — pre-registered, artifact-null-driven, fully reproducible. Live atlas: www.anomaly-atlas.io
Python 61.4%
JavaScript 28.7%
CSS 8.6%
Shell 0.7%
Makefile 0.5%
1/* ============================================================================2 * Project : anomaly-atlas3 * File : web/public/style.css4 * Purpose : Editorial light theme, mobile-first responsive, CSS-only menu5 * Author : Simon-Pierre Boucher6 * Contact : contact@spboucher.ai7 * Data src : hfmarketdata.io (sole data source)8 * Created : 2026-08-129 * Modified : 2026-08-1210 * Platform : Web (deployed from macOS / Apple Silicon)11 * License : All rights reserved (research code)12 * ==========================================================================*/1314:root {15 color-scheme: light;16 --paper: #faf8f4;17 --card: #fffdf9;18 --ink: #1a1c20;19 --muted: #5d6167;20 --faint: #8b8f96;21 --hairline: #e5e1d6;22 --hairline-2: #d8d3c4;23 --accent: #2456c4;24 --accent-ink: #173a85;25 --accent-soft: #e8eefb;26 --warn-bg: #fdf4e3;27 --warn-border: #ecd9b0;28 --warn-ink: #6b5322;29 --ok: #1e7a4d;30 --ok-soft: #e7f4ec;31 --pending: #8b8f96;32 --pending-soft: #efede6;33 --code-bg: #f3f1ea;34 --shadow: 0 1px 2px rgba(26, 28, 32, .04), 0 8px 24px -12px rgba(26, 28, 32, .10);35 --radius: 14px;36 --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;37 --font-text: "Inter", -apple-system, "SF Pro Text", "Segoe UI", sans-serif;38 --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;39}4041* { box-sizing: border-box; }42html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }43body {44 margin: 0;45 background:46 radial-gradient(1200px 500px at 85% -100px, #f2ede1 0%, transparent 60%),47 var(--paper);48 color: var(--ink);49 font-family: var(--font-text);50 font-size: 16px;51 line-height: 1.6;52 min-height: 100vh;53 display: flex;54 flex-direction: column;55}56main { flex: 1; width: 100%; }57.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }58a { color: var(--accent); text-decoration: none; }59a:hover { text-decoration: underline; text-underline-offset: 3px; }60::selection { background: var(--accent-soft); }6162/* ---------------------------------------------------------------- header */63.site-header {64 position: sticky; top: 0; z-index: 50;65 background: var(--paper);66 border-bottom: 1px solid var(--hairline);67}68.header-row {69 position: relative;70 display: flex; align-items: center; justify-content: space-between;71 gap: 16px; min-height: 60px;72}73.brand {74 display: flex; align-items: center; gap: 10px;75 font-family: var(--font-display);76 font-weight: 640; font-size: 1.35rem; letter-spacing: -.01em;77 color: var(--ink);78}79.brand-mark { width: 30px; height: 30px; border-radius: 8px; flex: none; }80.brand:hover { text-decoration: none; }81.brand-dim { color: var(--faint); font-weight: 420; font-style: italic; }8283.site-nav { display: flex; gap: 2px; flex-wrap: wrap; }84.site-nav a {85 color: var(--muted); font-size: .92rem; font-weight: 520;86 padding: 7px 12px; border-radius: 999px;87}88.site-nav a:hover { color: var(--ink); background: var(--pending-soft); text-decoration: none; }89.site-nav a.active { color: var(--accent-ink); background: var(--accent-soft); }9091/* CSS-only mobile menu: opaque dropdown panel, no backdrop-filter anywhere */92.nav-toggle { display: none; }93.nav-burger { display: none; cursor: pointer; padding: 10px; margin: -10px; }94.nav-burger span {95 display: block; width: 22px; height: 2px; background: var(--ink);96 margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .2s;97}98@media (max-width: 820px) {99 .nav-burger { display: block; }100 .site-nav {101 display: none;102 position: absolute; left: -20px; right: -20px; top: 100%;103 flex-direction: column; gap: 0;104 background: var(--paper);105 border-bottom: 1px solid var(--hairline-2);106 box-shadow: 0 18px 30px -18px rgba(26, 28, 32, .25);107 padding: 6px 12px 14px;108 }109 .nav-toggle:checked ~ .site-nav { display: flex; }110 .site-nav a {111 font-size: 1.05rem; padding: 13px 12px; border-radius: 10px;112 border-bottom: 1px solid var(--hairline);113 }114 .site-nav a:last-child { border-bottom: 0; }115 .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }116 .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }117 .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }118}119120/* ------------------------------------------------------------ honesty bar */121.honesty-banner {122 background: var(--warn-bg);123 border-bottom: 1px solid var(--warn-border);124 color: var(--warn-ink);125 font-size: .8rem; line-height: 1.5;126 padding: 9px 0;127}128.honesty-banner strong { color: #4a3a14; }129130/* ------------------------------------------------------------------ hero */131.hero { padding: 56px 0 8px; max-width: 60rem; }132.kicker {133 font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em;134 text-transform: uppercase; color: var(--accent-ink); margin: 0 0 14px;135}136.hero h1 {137 font-family: var(--font-display);138 font-size: clamp(1.9rem, 5.4vw, 3.3rem);139 line-height: 1.08; letter-spacing: -.02em; font-weight: 620;140 margin: 0 0 18px;141}142.lede { font-size: 1.08rem; color: var(--muted); max-width: 46rem; margin: 0 0 14px; }143.lede em { color: var(--ink); }144.lede-eq { margin: 18px 0 0; }145.lede-eq code {146 display: inline-block; font-family: var(--font-mono); font-size: .8rem;147 background: var(--code-bg); border: 1px solid var(--hairline);148 border-radius: 10px; padding: 9px 14px; color: var(--ink);149 overflow-x: auto; max-width: 100%;150}151.lede-small { color: var(--muted); max-width: 46rem; }152.page-title {153 font-family: var(--font-display); font-weight: 620; letter-spacing: -.015em;154 font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 42px 0 10px;155}156.section-title {157 font-family: var(--font-display); font-weight: 600;158 font-size: 1.35rem; margin: 40px 0 6px;159}160161/* ----------------------------------------------------------------- tiles */162.tiles {163 display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));164 gap: 12px; margin: 34px 0;165}166.tile {167 background: var(--card); border: 1px solid var(--hairline);168 border-radius: var(--radius); box-shadow: var(--shadow);169 padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 2px;170}171.tile-value {172 font-family: var(--font-display); font-size: 2.1rem; font-weight: 620;173 line-height: 1; letter-spacing: -.02em;174}175.tile-denom { font-size: 1.15rem; color: var(--faint); font-weight: 480; }176.tile-label { font-size: .8rem; color: var(--muted); }177178/* ----------------------------------------------------------------- cards */179.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin: 8px 0 16px; }180@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }181.card {182 background: var(--card); border: 1px solid var(--hairline);183 border-radius: var(--radius); box-shadow: var(--shadow);184 padding: 24px; margin: 16px 0; min-width: 0;185}186.card h2 {187 font-family: var(--font-display); font-weight: 620; letter-spacing: -.01em;188 font-size: 1.3rem; margin: 0 0 12px;189}190.card-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }191.more { font-weight: 560; font-size: .92rem; white-space: nowrap; }192193/* ---------------------------------------------------------------- phases */194.phases { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }195.phase {196 display: flex; align-items: flex-start; gap: 12px;197 padding: 10px 4px; border-bottom: 1px dashed var(--hairline);198}199.phase:last-child { border-bottom: 0; }200.phase > div { flex: 1; min-width: 0; }201.phase strong { display: block; font-size: .92rem; font-weight: 600; }202.phase-detail { font-size: .8rem; color: var(--muted); }203.phase-dot {204 width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; flex: none;205 background: var(--pending);206}207.phase.done .phase-dot { background: var(--ok); }208.phase.in-progress .phase-dot { background: var(--accent); }209210/* ---------------------------------------------------------------- badges */211.badge {212 display: inline-block; font-size: .7rem; font-weight: 640;213 letter-spacing: .04em; text-transform: uppercase;214 padding: 3px 10px; border-radius: 999px; white-space: nowrap;215 background: var(--pending-soft); color: var(--muted);216}217.badge-done { background: var(--ok-soft); color: var(--ok); }218.badge-in-progress { background: var(--accent-soft); color: var(--accent-ink); }219.badge-pending { background: var(--pending-soft); color: var(--pending); }220.badge-level-0 { background: var(--pending-soft); color: var(--muted); }221.badge-level-1 { background: var(--accent-soft); color: var(--accent-ink); }222.badge-level-2 { background: var(--ok-soft); color: var(--ok); }223.badge-level-3 { background: #14331f; color: #d9f5e3; }224225/* --------------------------------------------------------------- doc grid */226.doc-grid {227 display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));228 gap: 12px; margin: 18px 0;229}230.doc-card {231 display: flex; flex-direction: column; gap: 6px; align-items: flex-start;232 background: var(--card); border: 1px solid var(--hairline);233 border-radius: var(--radius); box-shadow: var(--shadow);234 padding: 18px; color: var(--ink); min-width: 0;235 transition: transform .12s ease, border-color .12s ease;236}237.doc-card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--hairline-2); }238.doc-card h3 { margin: 0; font-size: 1.02rem; font-weight: 640; letter-spacing: -.01em; }239.doc-card p { margin: 0; font-size: .85rem; color: var(--muted); }240.doc-card.disabled { opacity: .55; pointer-events: none; }241.runs { font-size: .75rem; color: var(--faint); }242243/* --------------------------------------------------------------- markdown */244.crumb { font-size: .82rem; color: var(--faint); margin: 26px 0 4px; font-family: var(--font-mono); }245.doc-head { margin: 8px 0 14px; }246.doc-head-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }247.doc-head-row h1 {248 font-family: var(--font-display); font-weight: 620; letter-spacing: -.015em;249 font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 0; text-transform: capitalize;250}251.doc-head-meta { font-family: var(--font-mono); font-size: .74rem; color: var(--faint); margin: 6px 0 0; }252.doc-layout { display: block; }253.doc-layout.has-toc { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; }254@media (max-width: 1000px) { .doc-layout.has-toc { display: block; } .toc { display: none; } }255.toc {256 position: sticky; top: 76px;257 border: 1px solid var(--hairline); border-radius: var(--radius);258 background: var(--card); padding: 14px 16px; font-size: .82rem;259 max-height: calc(100vh - 100px); overflow-y: auto;260}261.toc-title { font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }262.toc ul { list-style: none; margin: 8px 0 0; padding: 0; }263.toc li { margin: 5px 0; }264.toc-d3 { padding-left: 14px; }265.toc a { color: var(--muted); }266.doc { min-width: 0; }267268.md { font-size: .96rem; }269.md h1, .md h2, .md h3 {270 font-family: var(--font-display); font-weight: 620; letter-spacing: -.01em;271 margin: 1.6em 0 .5em; line-height: 1.2;272}273.md h1 { font-size: 1.7rem; } .md h2 { font-size: 1.35rem; } .md h3 { font-size: 1.1rem; }274.md p { margin: .7em 0; }275.md li { margin: .3em 0; }276.md code {277 font-family: var(--font-mono); font-size: .82em;278 background: var(--code-bg); border: 1px solid var(--hairline);279 border-radius: 6px; padding: .1em .4em;280 overflow-wrap: break-word;281}282.md pre code, .codeblock code { background: none; border: 0; padding: 0; }283.md blockquote {284 margin: 1em 0; padding: 2px 18px; border-left: 3px solid var(--accent);285 background: var(--accent-soft); border-radius: 0 10px 10px 0; color: var(--accent-ink);286}287.md table { border-collapse: collapse; display: block; overflow-x: auto; max-width: 100%; margin: 1em 0; }288.md th, .md td { border: 1px solid var(--hairline-2); padding: 7px 12px; font-size: .86rem; text-align: left; white-space: nowrap; }289.md th { background: var(--code-bg); font-weight: 640; }290.md hr { border: 0; border-top: 1px solid var(--hairline); margin: 2em 0; }291.md-compact { font-size: .87rem; }292.md-compact p { margin: .4em 0; }293.hanchor { opacity: 0; margin-left: 8px; font-size: .8em; color: var(--faint); }294.md h1:hover .hanchor, .md h2:hover .hanchor, .md h3:hover .hanchor { opacity: 1; }295296.codeblock {297 background: var(--code-bg); border: 1px solid var(--hairline);298 border-radius: 12px; padding: 16px 18px;299 overflow-x: auto; -webkit-overflow-scrolling: touch;300 font-family: var(--font-mono); font-size: .8rem; line-height: 1.55;301 max-width: 100%;302}303.note-line { color: var(--muted); font-size: .9rem; margin: 26px 0 40px; }304305/* highlight.js — quiet light theme */306.hljs { color: var(--ink); }307.hljs-comment, .hljs-quote { color: #8a8f7c; font-style: italic; }308.hljs-keyword, .hljs-selector-tag, .hljs-meta { color: #9d3b8f; }309.hljs-string, .hljs-attr, .hljs-regexp { color: #1e7a4d; }310.hljs-number, .hljs-literal { color: #b25710; }311.hljs-title, .hljs-name, .hljs-section { color: var(--accent-ink); font-weight: 600; }312.hljs-built_in, .hljs-type { color: #0f6f74; }313.hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: 700; }314315/* --------------------------------------------------------------- log/time */316.log-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }317.log-entry { min-width: 0; }318.log-entry h3 { font-size: 1rem; margin: 4px 0 6px; font-weight: 640; }319.tl-time { font-family: var(--font-mono); font-size: .72rem; color: var(--faint); letter-spacing: .05em; }320.timeline { display: flex; flex-direction: column; margin: 22px 0 40px; }321.tl-entry { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }322.tl-rail { position: relative; }323.tl-rail::before {324 content: ""; position: absolute; left: 12px; top: 4px; bottom: -4px;325 width: 2px; background: var(--hairline-2);326}327.tl-entry:last-child .tl-rail::before { bottom: auto; height: 30px; }328.tl-dot {329 position: absolute; left: 7px; top: 8px; width: 12px; height: 12px;330 border-radius: 50%; background: var(--accent); border: 3px solid var(--paper);331}332.tl-card {333 background: var(--card); border: 1px solid var(--hairline);334 border-radius: var(--radius); box-shadow: var(--shadow);335 padding: 18px 20px; margin: 0 0 18px; min-width: 0;336}337.tl-card h3 { margin: 4px 0 8px; font-size: 1.05rem; font-weight: 660; }338@media (max-width: 640px) {339 .tl-entry { grid-template-columns: 1fr; }340 .tl-rail { display: none; }341}342343/* ---------------------------------------------------------------- tables */344.results-table, .kv-table {345 width: 100%; border-collapse: collapse; margin: 18px 0 40px;346 background: var(--card); border: 1px solid var(--hairline);347 border-radius: var(--radius); box-shadow: var(--shadow);348 overflow: hidden; font-size: .88rem;349 display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;350}351.results-table thead tr { background: var(--code-bg); }352.results-table th, .kv-table th {353 text-align: left; font-weight: 640; padding: 10px 16px; white-space: nowrap;354}355.results-table td, .kv-table td { padding: 9px 16px; border-top: 1px solid var(--hairline); }356.kv-table th { width: 180px; vertical-align: top; color: var(--muted); }357.mono-small { font-family: var(--font-mono); font-size: .74rem; color: var(--faint); }358359.file-list { list-style: none; padding: 0; margin: 0; }360.file-list li { padding: 7px 0; border-bottom: 1px dashed var(--hairline); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }361.file-list li:last-child { border-bottom: 0; }362363.tree { list-style: none; padding: 0; margin: 18px 0 40px; }364.tree-root { margin: 14px 0; background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 14px 18px; }365.tree-root > strong { font-family: var(--font-mono); font-size: .85rem; }366.tree-root ul { list-style: none; padding: 6px 0 0 10px; margin: 0; columns: 2; column-gap: 30px; }367.tree-root li { font-family: var(--font-mono); font-size: .8rem; padding: 2px 0; break-inside: avoid; }368@media (max-width: 700px) { .tree-root ul { columns: 1; } }369370.file-card { padding: 0; overflow: hidden; }371.file-head {372 display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;373 padding: 10px 18px; border-bottom: 1px solid var(--hairline); background: var(--code-bg);374}375.file-card .codeblock { border: 0; border-radius: 0; margin: 0; }376377.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }378.chip {379 font-family: var(--font-mono); font-size: .68rem; color: var(--muted);380 background: var(--code-bg); border: 1px solid var(--hairline);381 border-radius: 999px; padding: 2px 10px;382}383.chip-k { color: var(--faint); margin-right: 5px; text-transform: uppercase; letter-spacing: .06em; }384385/* --------------------------------------------------------------- figures */386.chart-fig { margin: 18px 0 6px; }387.chart-fig svg { width: 100%; height: auto; display: block; font-family: var(--font-text); }388.chart-fig figcaption {389 font-size: .78rem; color: var(--faint); margin-top: 8px; line-height: 1.5;390 border-top: 1px solid var(--hairline); padding-top: 8px;391}392393/* ----------------------------------------------------------- publications */394.pub-card { gap: 8px; }395.pub-id {396 font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em;397 text-transform: uppercase; color: var(--faint);398}399.pub-sub { color: var(--accent-ink) !important; font-style: italic; }400.pub-head { margin: 40px 0 10px; max-width: 56rem; }401.pub-head h1 {402 font-family: var(--font-display); font-weight: 640; letter-spacing: -.02em;403 font-size: clamp(1.7rem, 4.5vw, 2.7rem); line-height: 1.12; margin: 10px 0 8px;404}405.pub-subtitle {406 font-family: var(--font-display); font-style: italic; font-weight: 460;407 font-size: 1.15rem; color: var(--muted); margin: 0 0 14px;408}409.pub-meta { font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }410.abstract {411 background: var(--card); border: 1px solid var(--hairline);412 border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;413 box-shadow: var(--shadow); padding: 18px 22px; margin: 20px 0 6px;414}415.abstract-k {416 font-family: var(--font-mono); font-size: .68rem; font-weight: 700;417 letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink);418}419.abstract p { margin: 8px 0 0; font-size: .95rem; line-height: 1.65; }420.pub-body { font-size: 1.01rem; line-height: 1.7; }421.pub-body h2 { margin-top: 2em; padding-top: .8em; border-top: 1px solid var(--hairline); }422.pub-body .chart-fig {423 background: var(--card); border: 1px solid var(--hairline);424 border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 12px;425}426.pub-footer {427 margin: 36px 0 20px; padding-top: 14px; border-top: 1px solid var(--hairline);428 font-size: .8rem; color: var(--faint); max-width: 56rem;429}430431/* -------------------------------------------------------------- comments */432.comment-form {433 display: grid; gap: 12px; margin: 6px 0 10px;434}435.comment-form label { font-size: .82rem; font-weight: 640; color: var(--muted); display: block; margin-bottom: 4px; }436.comment-form input[type="text"], .comment-form textarea {437 width: 100%; font-family: var(--font-text); font-size: .95rem; color: var(--ink);438 background: var(--paper); border: 1px solid var(--hairline-2);439 border-radius: 10px; padding: 10px 14px;440}441.comment-form input:focus, .comment-form textarea:focus {442 outline: 2px solid var(--accent-soft); border-color: var(--accent);443}444.comment-form textarea { min-height: 120px; resize: vertical; }445.comment-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }446.btn {447 display: inline-block; cursor: pointer; border: 0;448 background: var(--ink); color: var(--paper);449 font-family: var(--font-text); font-weight: 640; font-size: .95rem;450 padding: 11px 22px; border-radius: 999px; justify-self: start;451}452.btn:hover { background: var(--accent-ink); }453.form-note { font-size: .78rem; color: var(--faint); margin: 0; }454.form-error {455 background: #fbecec; border: 1px solid #eac3c3; color: #8a2a2a;456 border-radius: 10px; padding: 10px 14px; font-size: .88rem;457}458.form-ok {459 background: var(--ok-soft); border: 1px solid #bfe3cd; color: var(--ok);460 border-radius: 10px; padding: 10px 14px; font-size: .88rem;461}462.comment-list { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 40px; }463.comment {464 background: var(--card); border: 1px solid var(--hairline);465 border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px;466}467.comment-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }468.comment-head strong { font-size: .95rem; }469.comment-body { font-size: .92rem; color: var(--ink); white-space: pre-wrap; overflow-wrap: break-word; }470.comment-page { font-family: var(--font-mono); font-size: .7rem; color: var(--faint); }471472/* ---------------------------------------------------------------- footer */473.site-footer {474 border-top: 1px solid var(--hairline); background: var(--card);475 margin-top: 48px; padding: 20px 0; font-size: .8rem; color: var(--muted);476}477.site-footer .wrap { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }478.footer-meta { font-family: var(--font-mono); font-size: .72rem; color: var(--faint); }479480@media (max-width: 640px) {481 body { font-size: 15px; }482 .hero { padding-top: 34px; }483 .card { padding: 18px; }484 .tiles { grid-template-columns: repeat(2, 1fr); }485 .site-footer .wrap { flex-direction: column; }486}487