Show nicely formatted diff

This steals the idea and markup from Gitnub. Thanks! :)
This commit is contained in:
Pieter de Bie
2008-06-15 18:22:00 +02:00
parent 62e739bfc0
commit 3432e514b8
7 changed files with 74 additions and 9 deletions
+25
View File
@@ -0,0 +1,25 @@
code .delline {
background-color: #FEE;
color: #B00;
}
code .addline {
background-color: #DFD;
color: #080;
}
code .meta {
background-color: #f7f7f7;
color: #bbb;
}
pre {
overflow-y: auto;
width: 100%;
}
pre code {
display: table-cell;
padding: 9px;
width: 100%;
}