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.

111 lines
2.5 KiB

14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
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 TOC (table of contents), the
  3. * sitemap (?do=index) and backlinks (?do=backlink).
  4. */
  5. /* toc
  6. ********************************************************************/
  7. /* toc container */
  8. .dokuwiki div.toc, /* old, until 2012-01-25 */
  9. #dw__toc /* new */ {
  10. float: right;
  11. margin: 0 0 1.4em 1.4em;
  12. width: 12em;
  13. background-color: __background_alt__;
  14. color: inherit;
  15. }
  16. [dir=rtl] .dokuwiki div.toc, /* old, until 2012-01-25 */
  17. [dir=rtl] #dw__toc /* new */ {
  18. float: left;
  19. margin: 0 1.4em 1.4em 0;
  20. }
  21. /*____________ toc header ____________*/
  22. .dokuwiki div.tocheader, /* old */
  23. #dw__toc h3 /* new */ {
  24. padding: .2em .5em;
  25. font-weight: bold;
  26. margin-bottom: 0;
  27. font-size: 1em;
  28. }
  29. .dokuwiki .toc span.toc_open, /* old */
  30. .dokuwiki .toc span.toc_close, /* old */
  31. #dw__toc h3 strong /* new */ {
  32. float: right;
  33. margin: 0 .2em;
  34. }
  35. [dir=rtl] .dokuwiki .toc span.toc_open, /* old */
  36. [dir=rtl] .dokuwiki .toc span.toc_close, /* old */
  37. [dir=rtl] #dw__toc h3 strong /* new */ {
  38. float: left;
  39. }
  40. /*____________ toc list ____________*/
  41. .dokuwiki #toc__inside,
  42. #dw__toc > div {
  43. padding: .2em .5em;
  44. }
  45. .dokuwiki #toc__inside ul, /* old */
  46. #dw__toc ul /* new */ {
  47. padding: 0;
  48. margin: 0;
  49. }
  50. .dokuwiki #toc__inside ul li, /* old */
  51. #dw__toc ul li /* new */ {
  52. list-style: none;
  53. padding: 0;
  54. margin: 0;
  55. line-height: 1.1;
  56. }
  57. .dokuwiki #toc__inside ul li div.li, /* old */
  58. #dw__toc ul li div.li /* new */ {
  59. padding: .15em 0;
  60. }
  61. .dokuwiki #toc__inside ul ul, /* old */
  62. #dw__toc ul ul /* new */ {
  63. padding-left: 1em;
  64. }
  65. [dir=rtl] .dokuwiki #toc__inside ul ul, /* old */
  66. [dir=rtl] #dw__toc ul ul /* new */ {
  67. padding-left: 0;
  68. padding-right: 1em;
  69. }
  70. .dokuwiki #toc__inside ul ul li, /* old */
  71. #dw__toc ul ul li /* new */ {
  72. }
  73. .dokuwiki #toc__inside ul li a, /* old */
  74. #dw__toc ul li a /* new */ {
  75. }
  76. /* in case of toc list jumping one level
  77. (e.g. if heading level 3 follows directly after heading level 1) */
  78. .dokuwiki #toc__inside ul li.clear, /* old */
  79. #dw__toc ul li.clear /* new */ {
  80. }
  81. /* sitemap (and backlinks)
  82. ********************************************************************/
  83. .dokuwiki ul.idx {
  84. padding-left: 0;
  85. }
  86. [dir=rtl] .dokuwiki ul.idx {
  87. padding-right: 0;
  88. }
  89. .dokuwiki ul.idx li {
  90. list-style-image: url(images/bullet.png);
  91. }
  92. .dokuwiki ul.idx li.open {
  93. list-style-image: url(images/open.png);
  94. }
  95. .dokuwiki ul.idx li.closed {
  96. list-style-image: url(images/closed.png);
  97. }
  98. [dir=rtl] .dokuwiki ul.idx li.closed {
  99. list-style-image: url(images/closed-rtl.png);
  100. }