system.diff.css 687 B

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