You are here

diff.css in Diff 6

Same filename and directory in other branches
  1. 5.2 diff.css
  2. 5 diff.css
  3. 6.2 diff.css
  4. 7.3 diff.css
  5. 7.2 diff.css
table.diff {
  border-spacing: 4px;
  margin-bottom: 20px;
  table-layout: fixed;
  width: 100%;
}
table.diff tr.even, table.diff tr.odd {
  background-color: inherit;
  border: none;
}
td.diff-prevlink {
  text-align: left;
}
td.diff-nextlink {
  text-align: right;
}
td.diff-section-title, div.diff-section-title {
  background-color: #f0f0ff;
  font-size: 0.83em;
  font-weight: bold;
  padding: 0.1em 1em;
}
td.diff-deletedline {
  background-color: #ffa;
  width: 50%;
}
td.diff-addedline {
  background-color: #afa;
  width: 50%;
}
td.diff-context {
  background-color: #fafafa;
}
span.diffchange {
  color: #f00;
  font-weight: bold;
}

table.diff col.diff-marker {
  width: 1.4em;
}
table.diff col.diff-content {
  width: 50%;
}
table.diff th {
  padding-right: inherit;
}
table.diff td div {
  overflow: auto;
  padding: 0.1ex 0.5em;
  word-wrap: break-word;
}
table.diff td {
  padding: 0.1ex 0.4em;
}

File

diff.css
View source
  1. table.diff {
  2. border-spacing: 4px;
  3. margin-bottom: 20px;
  4. table-layout: fixed;
  5. width: 100%;
  6. }
  7. table.diff tr.even, table.diff tr.odd {
  8. background-color: inherit;
  9. border: none;
  10. }
  11. td.diff-prevlink {
  12. text-align: left;
  13. }
  14. td.diff-nextlink {
  15. text-align: right;
  16. }
  17. td.diff-section-title, div.diff-section-title {
  18. background-color: #f0f0ff;
  19. font-size: 0.83em;
  20. font-weight: bold;
  21. padding: 0.1em 1em;
  22. }
  23. td.diff-deletedline {
  24. background-color: #ffa;
  25. width: 50%;
  26. }
  27. td.diff-addedline {
  28. background-color: #afa;
  29. width: 50%;
  30. }
  31. td.diff-context {
  32. background-color: #fafafa;
  33. }
  34. span.diffchange {
  35. color: #f00;
  36. font-weight: bold;
  37. }
  38. table.diff col.diff-marker {
  39. width: 1.4em;
  40. }
  41. table.diff col.diff-content {
  42. width: 50%;
  43. }
  44. table.diff th {
  45. padding-right: inherit;
  46. }
  47. table.diff td div {
  48. overflow: auto;
  49. padding: 0.1ex 0.5em;
  50. word-wrap: break-word;
  51. }
  52. table.diff td {
  53. padding: 0.1ex 0.4em;
  54. }