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.

75 lines
1.7 KiB

14 years ago
14 years ago
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. font-weight: normal;
  23. }
  24. .dokuwiki table.diff th a {
  25. font-weight: bold;
  26. }
  27. .dokuwiki table.diff th span.user {
  28. font-size: .9em;
  29. }
  30. .dokuwiki table.diff th span.sum {
  31. font-size: .9em;
  32. font-weight: bold;
  33. }
  34. .dokuwiki table.diff th.minor {
  35. color: #999;
  36. }
  37. .dokuwiki table.diff_sidebyside th {
  38. width: 50%;
  39. }
  40. /* table body */
  41. .dokuwiki table.diff .diff-lineheader {
  42. width: .7em;
  43. text-align: right;
  44. }
  45. [dir=rtl] .dokuwiki table.diff .diff-lineheader {
  46. text-align: left;
  47. }
  48. .dokuwiki table.diff .diff-lineheader,
  49. .dokuwiki table.diff td {
  50. font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
  51. }
  52. .dokuwiki table.diff td.diff-blockheader {
  53. font-weight: bold;
  54. }
  55. .dokuwiki table.diff .diff-addedline {
  56. background-color: #cfc;
  57. color: inherit;
  58. }
  59. .dokuwiki table.diff .diff-deletedline {
  60. background-color: #fdd;
  61. color: inherit;
  62. }
  63. .dokuwiki table.diff td.diff-context {
  64. background-color: #eee;
  65. color: inherit;
  66. }
  67. .dokuwiki table.diff td.diff-addedline strong,
  68. .dokuwiki table.diff td.diff-deletedline strong {
  69. color: #f00;
  70. background-color: inherit;
  71. font-weight: bold;
  72. }