mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
46 lines
763 B
CSS
46 lines
763 B
CSS
table.diff{
|
|
border: 1px solid #8f8f8f;
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
}
|
|
table.diff tr td{
|
|
font-family: Menlo, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;
|
|
font-size: 11px;
|
|
white-space: pre;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
table.diff td.code{
|
|
width: 100%;
|
|
border-left: 2px solid #d0d0d0;
|
|
}
|
|
|
|
table.diff tr.header td{
|
|
border: 1px solid #8f8f8f;
|
|
padding: 5px;
|
|
}
|
|
|
|
table.diff tr td.r{
|
|
border-left: 1px solid #909090;
|
|
}
|
|
|
|
table.diff tr.r{
|
|
background-color: rgba(0,255,0,0.1);
|
|
}
|
|
|
|
table.diff tr.l{
|
|
background-color: rgba(255,0,0,0.1);
|
|
}
|
|
|
|
table.diff tr.r td.code{
|
|
border-left-color: rgba(0,255,0,0.2);
|
|
}
|
|
|
|
table.diff tr.l td.code{
|
|
border-left-color: rgba(255,0,0,0.2);
|
|
}
|
|
|