You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.5 KiB

14 years ago
14 years ago
14 years ago
14 years ago
  1. /**
  2. * This file provides styles for the diff view, which shows you
  3. * differences between two versions of a page (?do=diff).
  4. */
  5. .dokuwiki table.diff {
  6. width: 100%;
  7. border-width: 0;
  8. }
  9. .dokuwiki table.diff th,
  10. .dokuwiki table.diff td {
  11. vertical-align: top;
  12. padding: 0;
  13. border-width: 0;
  14. /* no style.ini colours because deleted and added lines have a fixed background colour */
  15. background-color: #fff;
  16. color: #333;
  17. }
  18. /* table header */
  19. .dokuwiki table.diff th {
  20. border-bottom: 1px solid __border__;
  21. font-size: 110%;
  22. width: 50%;
  23. font-weight: normal;
  24. }
  25. .dokuwiki table.diff th a {
  26. font-weight: bold;
  27. }
  28. .dokuwiki table.diff th span.user {
  29. font-size: .9em;
  30. }
  31. .dokuwiki table.diff th span.sum {
  32. font-size: .9em;
  33. font-weight: bold;
  34. }
  35. .dokuwiki table.diff th.minor {
  36. color: #999;
  37. }
  38. /* table body */
  39. .dokuwiki table.diff td {
  40. font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
  41. }
  42. .dokuwiki table.diff td.diff-blockheader {
  43. font-weight: bold;
  44. }
  45. .dokuwiki table.diff .diff-addedline {
  46. background-color: #cfc;
  47. color: inherit;
  48. }
  49. .dokuwiki table.diff .diff-deletedline {
  50. background-color: #fdd;
  51. color: inherit;
  52. }
  53. .dokuwiki table.diff td.diff-context {
  54. background-color: #eee;
  55. color: inherit;
  56. }
  57. .dokuwiki table.diff td.diff-addedline strong,
  58. .dokuwiki table.diff td.diff-deletedline strong {
  59. color: #f00;
  60. background-color: inherit;
  61. font-weight: bold;
  62. }