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.

144 lines
3.4 KiB

13 years ago
  1. /**
  2. * This file provides the main design styles for the page content.
  3. *
  4. * @author Anika Henke <anika@selfthinker.org>
  5. * @author Andreas Gohr <andi@splitbrain.org>
  6. */
  7. /*____________ section indenting ____________
  8. .dokuwiki.page h1 {margin-left: 0;}
  9. .dokuwiki.page h2 {margin-left: .666em;}
  10. .dokuwiki.page h3 {margin-left: 1.776em;}
  11. .dokuwiki.page h4 {margin-left: 3em;}
  12. .dokuwiki.page h5 {margin-left: 4.5712em;}
  13. .dokuwiki.page div.level1 {margin-left: 0;}
  14. .dokuwiki.page div.level2 {margin-left: 1em;}
  15. .dokuwiki.page div.level3 {margin-left: 2em;}
  16. .dokuwiki.page div.level4 {margin-left: 3em;}
  17. .dokuwiki.page div.level5 {margin-left: 4em;}
  18. [dir=rtl] .dokuwiki .page h1 {margin-left: 0; margin-right: 0;}
  19. [dir=rtl] .dokuwiki .page h2 {margin-left: 0; margin-right: .666em;}
  20. [dir=rtl] .dokuwiki .page h3 {margin-left: 0; margin-right: 1.776em;}
  21. [dir=rtl] .dokuwiki .page h4 {margin-left: 0; margin-right: 3em;}
  22. [dir=rtl] .dokuwiki .page h5 {margin-left: 0; margin-right: 4.5712em;}
  23. [dir=rtl] .dokuwiki .page div.level1 {margin-left: 0; margin-right: 0;}
  24. [dir=rtl] .dokuwiki .page div.level2 {margin-left: 0; margin-right: 1em;}
  25. [dir=rtl] .dokuwiki .page div.level3 {margin-left: 0; margin-right: 2em;}
  26. [dir=rtl] .dokuwiki .page div.level4 {margin-left: 0; margin-right: 3em;}
  27. [dir=rtl] .dokuwiki .page div.level5 {margin-left: 0; margin-right: 4em;}
  28. */
  29. /* hx margin-left = (1 / font-size) * .levelx-margin */
  30. /*____________ links to wiki pages (addition to _links) ____________*/
  31. /* existing wikipage */
  32. .dokuwiki a.wikilink1 {
  33. color: __existing__;
  34. background-color: inherit;
  35. }
  36. /* not existing wikipage */
  37. .dokuwiki a.wikilink2 {
  38. color: __missing__;
  39. background-color: inherit;
  40. }
  41. /*____________ images ____________*/
  42. /* embedded images (styles are already partly set in DokuWiki's lib/styles/all.css) */
  43. .dokuwiki img.media {
  44. margin: .2em 0;
  45. }
  46. .dokuwiki img.medialeft {
  47. margin: .2em 1.5em .2em 0;
  48. }
  49. .dokuwiki img.mediaright {
  50. margin: .2em 0 .2em 1.5em;
  51. }
  52. .dokuwiki img.mediacenter {
  53. margin: .2em auto;
  54. }
  55. /*____________ tables ____________*/
  56. /* div before each table */
  57. .dokuwiki div.table {
  58. }
  59. .dokuwiki table.inline {
  60. min-width: 50%;
  61. }
  62. .dokuwiki table.inline th,
  63. .dokuwiki table.inline td {
  64. border: 1px solid __text_alt__;
  65. }
  66. .dokuwiki table.inline th {
  67. color: inherit;
  68. background-color: __background_neu__;
  69. }
  70. .dokuwiki table.inline td {
  71. }
  72. .dokuwiki table.inline tr:hover td {
  73. background-color: __background_alt__;
  74. }
  75. .dokuwiki table.inline tr:hover th {
  76. background-color: __border__;
  77. }
  78. /*____________ code ____________*/
  79. .dokuwiki pre,
  80. .dokuwiki tt,
  81. .dokuwiki code,
  82. .dokuwiki samp,
  83. .dokuwiki kbd {
  84. background-color: __background_alt__;
  85. color: __text__;
  86. }
  87. /* fix if background-color hides underlining */
  88. .dokuwiki em.u code {
  89. text-decoration: underline;
  90. }
  91. .dokuwiki pre {
  92. border: 1px solid __border__;
  93. padding: 0 .2em;
  94. }
  95. /* for code in <file> */
  96. .dokuwiki pre.file {
  97. }
  98. /* filenames for downloadable file and code blocks */
  99. .dokuwiki dl.code,
  100. .dokuwiki dl.file {
  101. }
  102. .dokuwiki dl.code dt,
  103. .dokuwiki dl.file dt {
  104. background-color: __background_alt__;
  105. border: solid __border__;
  106. border-width: 1px 1px 0;
  107. color: inherit;
  108. display: inline;
  109. padding: 0 .5em;
  110. margin-left: 1em;
  111. }
  112. [dir=rtl] .dokuwiki dl.code dt,
  113. [dir=rtl] .dokuwiki dl.file dt {
  114. margin-left: 0;
  115. margin-right: 1em;
  116. }
  117. .dokuwiki dl.code dt a,
  118. .dokuwiki dl.file dt a {
  119. }
  120. .dokuwiki dl.code dd,
  121. .dokuwiki dl.file dd {
  122. margin: 0;
  123. }