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.

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