system.diff.css 710 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /**
  2. * Traditional split diff theming
  3. */
  4. table.diff {
  5. border-spacing: 4px;
  6. margin-bottom: 20px;
  7. table-layout: fixed;
  8. width: 100%;
  9. }
  10. table.diff .diff-context {
  11. background-color: #fafafa;
  12. }
  13. table.diff .diff-deletedline {
  14. background-color: #ffa;
  15. width: 50%;
  16. }
  17. table.diff .diff-addedline {
  18. background-color: #afa;
  19. width: 50%;
  20. }
  21. table.diff .diffchange {
  22. color: #f00;
  23. font-weight: bold;
  24. }
  25. table.diff .diff-marker {
  26. width: 1.4em;
  27. }
  28. table.diff th {
  29. padding-right: inherit; /* LTR */
  30. }
  31. [dir="rtl"] table.diff th {
  32. padding-right: 0;
  33. padding-left: inherit;
  34. }
  35. table.diff td div {
  36. overflow: auto;
  37. padding: 0.1ex 0.5em;
  38. word-wrap: break-word;
  39. }
  40. table.diff td {
  41. padding: 0.1ex 0.4em;
  42. }