aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.css
diff options
context:
space:
mode:
authorGravatar Lars Hjemli <hjemli@gmail.com>2009-02-01 01:45:48 (JST)
committerGravatar Lars Hjemli <hjemli@gmail.com>2009-02-01 01:45:48 (JST)
commitae1d4d75b2a2eb3534ff4b3685cc5c0b80007ef7 (patch)
tree89b745555c6c47b63868bc6aa15d5e5d5d294b34 /cgit.css
parentc495cf02bac16e459f7c9e1740798646f12c00c5 (diff)
downloadcgit-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.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index 957d5aa..adfc8ae 100644
--- a/cgit.css
+++ b/cgit.css
@@ -263,6 +263,25 @@ table.blob a.no a:hover {
263 color: black; 263 color: black;
264} 264}
265 265
266table.bin-blob {
267 margin-top: 0.5em;
268 border: solid 1px black;
269}
270
271table.bin-blob th {
272 font-family: monospace;
273 white-space: pre;
274 border: solid 1px #777;
275 padding: 0.5em 1em;
276}
277
278table.bin-blob td {
279 font-family: monospace;
280 white-space: pre;
281 border-left: solid 1px #777;
282 padding: 0em 1em;
283}
284
266table.nowrap td { 285table.nowrap td {
267 white-space: nowrap; 286 white-space: nowrap;
268} 287}