# HG changeset patch # User Andrew Shadura # Date 2015-04-22 14:20:29 # Node ID a06804c28d744fb153c3e083277429094a134495 # Parent 539f3da5d965459d2221d10b6724585e60104f7d css: add text +/- markers to the diff to improve readability for colour blind (fixes #77) diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css --- a/kallithea/public/css/style.css +++ b/kallithea/public/css/style.css @@ -4964,6 +4964,20 @@ table.code-difftable .code pre { white-space: pre-wrap; } +table.code-difftable .del .code pre:before { + content: "-"; + color: #550000; +} + +table.code-difftable .add .code pre:before { + content: "+"; + color: #005500; +} + +table.code-difftable .unmod .code pre:before { + content: " "; +} + .add-bubble { position: relative; display: none;