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.

146 lines
2.6 KiB

14 years ago
  1. /* TODO */
  2. /**
  3. * This file provides layout and design corrections for right-to-left
  4. * languages.
  5. *
  6. * @author Andreas Gohr <andi@splitbrain.org>
  7. * @author Dotan Kamber <kamberd@yahoo.com>
  8. */
  9. /*..... new code ........................................................................*/
  10. body,
  11. caption,
  12. td,
  13. th {
  14. text-align: right;
  15. }
  16. ul, ol {
  17. padding: 0 1.5em 0 0;
  18. }
  19. li, dd {
  20. margin: 0 1.5em 0 0;
  21. }
  22. blockquote {
  23. border-width: 0 .25em 0 0;
  24. }
  25. /*..... @todo: old code ........................................................................*/
  26. .bar-left {
  27. float: right;
  28. text-align: right;
  29. }
  30. .bar-right {
  31. float: left;
  32. text-align: left;
  33. }
  34. .pagename {
  35. float: right;
  36. text-align: right;
  37. }
  38. .logo {
  39. float: left;
  40. text-align: left;
  41. }
  42. label {
  43. text-align: left;
  44. }
  45. label.simple {
  46. text-align: right;
  47. }
  48. div.meta div.user {
  49. float: right
  50. }
  51. div.meta div.doc {
  52. text-align: left;
  53. }
  54. /* ------------------ Design corrections --------------------------------- */
  55. div.dokuwiki ul,
  56. div.dokuwiki ol {
  57. margin: 0.5em 1.5em 0.5em 0;
  58. }
  59. div.dokuwiki a.urlextern,
  60. div.dokuwiki a.interwiki,
  61. div.dokuwiki a.windows,
  62. div.dokuwiki a.mail,
  63. div.dokuwiki a.mail.JSnocheck {
  64. /* should work but doesn't - so we just disable icons here*/
  65. /*
  66. background-position: right 1px;
  67. padding-right: 16px;
  68. */
  69. background-image: none !important;
  70. padding: 0px 0px 0px 0px;
  71. }
  72. div.dokuwiki div.secedit input.button {
  73. float: left;
  74. }
  75. /* headlines */
  76. div.dokuwiki h1, div.dokuwiki h2, div.dokuwiki h3, div.dokuwiki h4, div.dokuwiki h5 {
  77. clear: right;
  78. }
  79. /* special headlines */
  80. div.dokuwiki h1 {margin-left: 0px; margin-right: 0px;}
  81. div.dokuwiki h2 {margin-left: 0px; margin-right: 20px;}
  82. div.dokuwiki h3 {margin-left: 0px; margin-right: 40px;}
  83. div.dokuwiki h4 {margin-left: 0px; margin-right: 60px;}
  84. div.dokuwiki h5 {margin-left: 0px; margin-right: 80px;}
  85. /* indent different sections */
  86. div.dokuwiki div.level1 {margin-left: 0px; margin-right: 3px;}
  87. div.dokuwiki div.level2 {margin-left: 0px; margin-right: 23px;}
  88. div.dokuwiki div.level3 {margin-left: 0px; margin-right: 43px;}
  89. div.dokuwiki div.level4 {margin-left: 0px; margin-right: 63px;}
  90. div.dokuwiki div.level5 {margin-left: 0px; margin-right: 83px;}
  91. /* TOC control */
  92. div.dokuwiki div.toc {
  93. float: left;
  94. }
  95. div.dokuwiki div.tocheader {
  96. text-align: right;
  97. }
  98. div.dokuwiki #toc__inside {
  99. text-align: right;
  100. }
  101. div.dokuwiki ul.toc {
  102. padding: 0;
  103. padding-right: 1em;
  104. }
  105. div.dokuwiki ul.toc li {
  106. background-position: right 0.6em;
  107. padding-right:0.4em;
  108. direction: rtl;
  109. }
  110. div.dokuwiki ul.toc li.clear {
  111. padding-right:0.4em;
  112. }
  113. div.dokuwiki pre {
  114. text-align: left;
  115. }