]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.css
ui-blame: Allow syntax highlighting
[ps-cgit] / cgit.css
index 20b7e869cca4c7087e36e3a010039566fc9a5286..217a05a557d7d806006946810efbdb47437d37bb 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -353,6 +353,16 @@ div#cgit table.blame div.alt:nth-child(odd) {
        background: white;
 }
 
+div#cgit table.blame td.lines > div {
+       position: relative;
+}
+
+div#cgit table.blame td.lines > div > pre {
+       padding: 0 0 0 0.5em;
+       position: absolute;
+       top: 0;
+}
+
 div#cgit table.bin-blob {
        margin-top: 0.5em;
        border: solid 1px black;