diff options
author | Lars Hjemli <hjemli@gmail.com> | 2009-02-01 01:45:48 (JST) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-02-01 01:45:48 (JST) |
commit | ae1d4d75b2a2eb3534ff4b3685cc5c0b80007ef7 (patch) | |
tree | 89b745555c6c47b63868bc6aa15d5e5d5d294b34 /cgit.css | |
parent | c495cf02bac16e459f7c9e1740798646f12c00c5 (diff) | |
download | cgit-ae1d4d75b2a2eb3534ff4b3685cc5c0b80007ef7.zip cgit-ae1d4d75b2a2eb3534ff4b3685cc5c0b80007ef7.tar.gz |
ui-tree: show hexdump of binary blobs
This teaches ui-tree to detect binary blobs and display them similar
to `hexdump -C` (only wider).
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css')
-rw-r--r-- | cgit.css | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -263,6 +263,25 @@ table.blob a.no a:hover { | |||
263 | color: black; | 263 | color: black; |
264 | } | 264 | } |
265 | 265 | ||
266 | table.bin-blob { | ||
267 | margin-top: 0.5em; | ||
268 | border: solid 1px black; | ||
269 | } | ||
270 | |||
271 | table.bin-blob th { | ||
272 | font-family: monospace; | ||
273 | white-space: pre; | ||
274 | border: solid 1px #777; | ||
275 | padding: 0.5em 1em; | ||
276 | } | ||
277 | |||
278 | table.bin-blob td { | ||
279 | font-family: monospace; | ||
280 | white-space: pre; | ||
281 | border-left: solid 1px #777; | ||
282 | padding: 0em 1em; | ||
283 | } | ||
284 | |||
266 | table.nowrap td { | 285 | table.nowrap td { |
267 | white-space: nowrap; | 286 | white-space: nowrap; |
268 | } | 287 | } |