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.

163 lines
4.0 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 tr:hover td {
  63. background-color: __background_alt__;
  64. }
  65. .dokuwiki table.inline tr:hover th {
  66. background-color: __border__;
  67. }
  68. /*____________ code ____________*/
  69. /* fix if background-color hides underlining */
  70. .dokuwiki em.u code {
  71. text-decoration: underline;
  72. }
  73. /* filenames for downloadable file and code blocks */
  74. .dokuwiki dl.code,
  75. .dokuwiki dl.file {
  76. }
  77. .dokuwiki dl.code dt,
  78. .dokuwiki dl.file dt {
  79. background-color: __background_alt__;
  80. border: solid __border__;
  81. border-width: 1px 1px 0;
  82. color: inherit;
  83. display: inline;
  84. padding: .1em .5em .2em;
  85. margin-left: 1em;
  86. }
  87. [dir=rtl] .dokuwiki dl.code dt,
  88. [dir=rtl] .dokuwiki dl.file dt {
  89. margin-left: 0;
  90. margin-right: 1em;
  91. }
  92. .dokuwiki dl.code dt a,
  93. .dokuwiki dl.file dt a {
  94. }
  95. .dokuwiki dl.code dd,
  96. .dokuwiki dl.file dd {
  97. margin: 0;
  98. }
  99. /* for code in <file> */
  100. .dokuwiki pre.file,
  101. .dokuwiki dl.file pre,
  102. .dokuwiki dl.file dt {
  103. border-color: __text_neu__;
  104. }
  105. /*____________ media manager ____________*/
  106. /* some headings in the media manager should not look like headings */
  107. #mediamanager__page h2,
  108. #mediamanager__page h3 {
  109. font-family: Frutiger, Calibri, Myriad, "Nimbus Sans L", Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
  110. color: __text__;
  111. }
  112. /* to style button-like div in _fileuploader.css to look like other buttons,
  113. please add '.qq-upload-button' to the according styles (which don't really exist in this template) */
  114. .qq-upload-button {
  115. border: 1px solid __border__;
  116. background-color: __background_alt__;
  117. padding: 0.125em 0.4em;
  118. }
  119. /*____________ JS popup ____________*/
  120. .JSpopup {
  121. background-color: __background__;
  122. color: __text__;
  123. border: 1px solid __border__;
  124. line-height: 1.2;
  125. padding: 0 .2em;
  126. }
  127. .JSpopup ul,
  128. .JSpopup ol {
  129. padding-left: 0;
  130. }
  131. [dir=rtl] .JSpopup ul,
  132. [dir=rtl] .JSpopup ol {
  133. padding-right: 0;
  134. }