Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Mark changed lines in forced colours
Forced colours drop the side-by-side diff's backgrounds, so an added,
deleted or changed line looked like context. A thicker left border on
each side that holds the line marks it, and its column still tells old
from new.
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/cgit.css | 6 |
1 file changed, 6 insertions, 0 deletions
diff --git a/assets/cgit.css b/assets/cgit.css index 57658c8..fed60f5 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -1432,6 +1432,12 @@ div#cgit form.login input[type="password"] { outline: solid 2px Highlight; outline-offset: -2px; } + + div#cgit table.ssdiff td.add, + div#cgit table.ssdiff td.del, + div#cgit table.ssdiff td.changed { + border-left-width: 4px; + } } @media (prefers-color-scheme: dark) { |
