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.

126 lines
3.1 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. /*____________ images ____________*/
  31. /* embedded images (styles are already partly set in DokuWiki's lib/styles/all.css) */
  32. .dokuwiki img.media {
  33. margin: .2em 0;
  34. }
  35. .dokuwiki img.medialeft {
  36. margin: .2em 1.5em .2em 0;
  37. }
  38. .dokuwiki img.mediaright {
  39. margin: .2em 0 .2em 1.5em;
  40. }
  41. .dokuwiki img.mediacenter {
  42. margin: .2em auto;
  43. }
  44. /*____________ tables ____________*/
  45. .dokuwiki table.inline {
  46. min-width: 50%;
  47. }
  48. .dokuwiki table.inline th,
  49. .dokuwiki table.inline td {
  50. border: 1px solid __text_alt__;
  51. }
  52. .dokuwiki table.inline th {
  53. color: inherit;
  54. background-color: __background_neu__;
  55. }
  56. .dokuwiki table.inline td {
  57. }
  58. .dokuwiki table.inline tr:hover td {
  59. background-color: __background_alt__;
  60. }
  61. .dokuwiki table.inline tr:hover th {
  62. background-color: __border__;
  63. }
  64. /*____________ code ____________*/
  65. .dokuwiki pre,
  66. .dokuwiki tt,
  67. .dokuwiki code,
  68. .dokuwiki samp,
  69. .dokuwiki kbd {
  70. background-color: __background_alt__;
  71. color: __text__;
  72. }
  73. /* fix if background-color hides underlining */
  74. .dokuwiki em.u code {
  75. text-decoration: underline;
  76. }
  77. .dokuwiki pre {
  78. border: 1px solid __border__;
  79. padding: 0 .2em;
  80. }
  81. /* for code in <file> */
  82. .dokuwiki pre.file {
  83. }
  84. /* filenames for downloadable file and code blocks */
  85. .dokuwiki dl.code,
  86. .dokuwiki dl.file {
  87. }
  88. .dokuwiki dl.code dt,
  89. .dokuwiki dl.file dt {
  90. background-color: __background_alt__;
  91. border: solid __border__;
  92. border-width: 1px 1px 0;
  93. color: inherit;
  94. display: inline;
  95. padding: 0 .5em;
  96. margin-left: 1em;
  97. }
  98. [dir=rtl] .dokuwiki dl.code dt,
  99. [dir=rtl] .dokuwiki dl.file dt {
  100. margin-left: 0;
  101. margin-right: 1em;
  102. }
  103. .dokuwiki dl.code dt a,
  104. .dokuwiki dl.file dt a {
  105. }
  106. .dokuwiki dl.code dd,
  107. .dokuwiki dl.file dd {
  108. margin: 0;
  109. }