diff options
| author | Elizabeth Hunt <me@liz.coffee> | 2025-10-04 18:36:10 -0700 |
|---|---|---|
| committer | Elizabeth Hunt <me@liz.coffee> | 2025-10-04 18:36:10 -0700 |
| commit | 35add63ec4dce39710095f17abd86777de9e5b49 (patch) | |
| tree | 1afdf952f310e09a663e85541474efdc95155a73 /src/styles/styles.css | |
| parent | 507c972ecafeceaf4f8962ad881f8fb50c9b86c1 (diff) | |
| download | ansicolor-35add63ec4dce39710095f17abd86777de9e5b49.tar.gz ansicolor-35add63ec4dce39710095f17abd86777de9e5b49.zip | |
Working history state
Diffstat (limited to 'src/styles/styles.css')
| -rw-r--r-- | src/styles/styles.css | 52 |
1 files changed, 46 insertions, 6 deletions
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 @@ /* <global> */ * { - 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] { } /* </buttons> */ + +/* <grid> */ +.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); +} +/* </grid> */ |
