You are here

diff.css in Diff 5

Same filename and directory in other branches
  1. 5.2 diff.css
  2. 6.2 diff.css
  3. 6 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%;
}
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: 1em;
}
table.diff col.diff-content {
  width: 48%;
}
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. td.diff-prevlink {
  8. text-align: left;
  9. }
  10. td.diff-nextlink {
  11. text-align: right;
  12. }
  13. td.diff-section-title, div.diff-section-title {
  14. background-color: #f0f0ff;
  15. font-size: 0.83em;
  16. font-weight: bold;
  17. padding: 0.1em 1em;
  18. }
  19. td.diff-deletedline {
  20. background-color: #ffa;
  21. width: 50%;
  22. }
  23. td.diff-addedline {
  24. background-color: #afa;
  25. width: 50%;
  26. }
  27. td.diff-context {
  28. background-color: #fafafa;
  29. }
  30. span.diffchange {
  31. color: #f00;
  32. font-weight: bold;
  33. }
  34. table.diff col.diff-marker {
  35. width: 1em;
  36. }
  37. table.diff col.diff-content {
  38. width: 48%;
  39. }
  40. table.diff th {
  41. padding-right: inherit;
  42. }
  43. table.diff td div {
  44. overflow: auto;
  45. padding: 0.1ex 0.5em;
  46. word-wrap: break-word;
  47. }
  48. table.diff td {
  49. padding: 0.1ex 0.4em;
  50. }