From 35add63ec4dce39710095f17abd86777de9e5b49 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sat, 4 Oct 2025 18:36:10 -0700 Subject: Working history state --- src/styles/styles.css | 52 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 46 insertions(+), 6 deletions(-) (limited to 'src/styles') diff --git a/src/styles/styles.css b/src/styles/styles.css index 1bf4663..96b39ec 100644 --- a/src/styles/styles.css +++ b/src/styles/styles.css @@ -13,7 +13,6 @@ /* */ * { - cursor: url('/img/cursor/regular.png'), auto !important; color: var(--foreground); font-family: var(--font), var(--font-fallback); @@ -99,9 +98,6 @@ textarea { background: none; resize: vertical; } -textarea:hover { - cursor: url('/img/cursor/hover.png'), auto !important; -} *:focus { border-color: var(--regular6); outline: none; @@ -133,8 +129,52 @@ button { padding: 8px; } button:hover { - cursor: url('/img/cursor/hover.png'), auto !important; border: 3px solid var(--regular6); - transition: border-color 0.2s; + transition: border-color 0.2s ease-in-out; +} +button:disabled, +button[disabled] { } /* */ + +/* */ +.grid { + border: 3px solid var(--regular4); + padding: 1rem; + + font-size: 1.5rem; + cursor: pointer; + display: flex; + flex-direction: column; + align-items: center; + line-height: 1; + white-space: pre; + border-radius: 4px; + overflow-x: auto; + font-feature-settings: + 'tnum', + 'kern' 0; + font-variant-numeric: tabular-nums; +} + +.grid-row { + display: flex; +} + +.grid-cell { + display: inline-block; + min-width: 1ch; + width: 1ch; + max-width: 1ch; + text-align: center; + overflow: hidden; + vertical-align: top; + transition: background-color 0.1s ease-in-out; + box-sizing: border-box; + white-space: nowrap; +} + +.grid-cell:hover { + background-color: var(--background-body); +} +/* */ -- cgit v1.2.3-70-g09d2