diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 11:40:11 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 12:41:36 -0300 |
| commit | 3f1533813b6692a736251e4d467a7f108229ddee (patch) | |
| tree | 37a32c5ebbf9d3af08923856fd6fa516f3b33a39 /src/web/pardes.css | |
| parent | cfd2b993feda1b3f7474225bb32db8cac8edc5ae (diff) | |
| download | pardes-3f1533813b6692a736251e4d467a7f108229ddee.tar.gz pardes-3f1533813b6692a736251e4d467a7f108229ddee.zip | |
targets: the DOM web shell goes (src/web.zig and src/web/, its harnesses web_harness, web_snapshot, web_driver_test and web-snapshots/, tools/web_fixture.py, -Dplatform=web, -Ddump, and the web, web-harness, web-snap, web-e2e and web-driver-test steps), and with it what only a freestanding build needed: `hosted` and every guard on it (every build has a host now), memory's stack-fallback arenas and reduced_target sizes, the emscripten main, the tree-sitter libc shim and the stb stub, lsp's has_client, the web arms of the platform switches (-Dplatform is tui, gui or macos); the macOS files pass zig ast-check; docs/web.md is a paragraph on what it was
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/web/pardes.css')
| -rw-r--r-- | src/web/pardes.css | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/src/web/pardes.css b/src/web/pardes.css deleted file mode 100644 index 5cb44f88..00000000 --- a/src/web/pardes.css +++ /dev/null @@ -1,99 +0,0 @@ -@font-face { - font-family: "Pardes Mono"; - src: url("./AdwaitaMono-Regular.ttf") format("truetype"); - font-display: swap; -} - -:root { - color-scheme: dark; - --pardes-bg: #121212; - --pardes-fg: #cccccc; - --pardes-font-size: 18px; - --pardes-cell-width: 9.333333px; - --pardes-cell-height: 19.459459px; -} - -html, -body { - width: 100%; - height: 100%; - margin: 0; - overflow: hidden; - background: var(--pardes-bg); -} - -.pardes { - box-sizing: border-box; - width: 100vw; - height: 100vh; - overflow: hidden; - color: var(--pardes-fg); - background: var(--pardes-bg); - font-family: "Pardes Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; - font-size: var(--pardes-font-size); - font-variant-ligatures: none; - line-height: 1; - outline: none; - touch-action: none; - user-select: text; - cursor: text; -} - -.pardes-row { - display: flex; - width: max-content; - height: var(--pardes-cell-height); - line-height: var(--pardes-cell-height); - white-space: pre; -} - -.pardes-cell { - box-sizing: border-box; - display: inline-block; - flex: 0 0 var(--pardes-cell-width); - width: var(--pardes-cell-width); - height: var(--pardes-cell-height); - overflow: hidden; - text-align: left; - white-space: pre; -} - -/* The browser keeps the canonical DOM grid body-sized for native text - selection. The inherited fixed line-height centers the smaller face, and - each glyph remains centered in its original DOM column. */ -.pardes-cell.is-tagline { - font-size: var(--pardes-tagline-font-size, 100%); - text-align: center; -} - -.pardes-cell.is-cursor { - color: var(--cell-bg) !important; - background: var(--cell-fg) !important; -} - -.pardes-cell.is-cursor.is-bar { - color: var(--cell-fg) !important; - background: var(--cell-bg) !important; - box-shadow: inset 2px 0 var(--cell-fg); -} - -.pardes-cell.is-blinking { - animation: pardes-blink 1s step-end infinite; -} - -.pardes-probe { - position: fixed; - left: -10000px; - top: -10000px; - width: var(--pardes-cell-width); - height: var(--pardes-cell-height); - visibility: hidden; -} - -@keyframes pardes-blink { - 50% { opacity: 0; } -} - -@media (prefers-reduced-motion: reduce) { - .pardes-cell.is-blinking { animation: none; } -} |
