diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-11 20:50:17 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-11 20:50:17 +0800 |
commit | 7491c424a00f0824f1d45b33d3b3f55fb0a7c4d8 (patch) | |
tree | 7a97d02446ebe590b0ae06d6435be8e8297eba0b /static | |
parent | repo_index.html, style.css: CSS state machines (diff) | |
download | forge-7491c424a00f0824f1d45b33d3b3f55fb0a7c4d8.tar.gz forge-7491c424a00f0824f1d45b33d3b3f55fb0a7c4d8.tar.zst forge-7491c424a00f0824f1d45b33d3b3f55fb0a7c4d8.zip |
repo_commit: Show chunks
Diffstat (limited to '')
-rw-r--r-- | static/style.css | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/static/style.css b/static/style.css index af5a9b3..e37ad0d 100644 --- a/static/style.css +++ b/static/style.css @@ -88,7 +88,7 @@ td#readme > *:first-child { .commit-id { font-family: monospace; } -pre, .scroll { +.scroll { overflow-x: auto; } .toggle-table-off, .toggle-table-on { @@ -112,3 +112,15 @@ pre, .scroll { .toggle-table-on:checked + table > tbody { display: table-row-group; } +.chunk-unchanged { + color: grey; +} +.chunk-addition { + color: green; +} +.chunk-deletion { + color: red; +} +.chunk-unknown { + color: yellow; +} |