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.

130 lines
2.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 {
  9. margin-left: 0;
  10. }
  11. .dokuwiki.page div.level1 {
  12. margin-left: 0;
  13. }
  14. .dokuwiki.page h2 {
  15. margin-left: .666em;
  16. }
  17. .dokuwiki.page div.level2 {
  18. margin-left: 1em;
  19. }
  20. .dokuwiki.page h3 {
  21. margin-left: 1.776em;
  22. }
  23. .dokuwiki.page div.level3 {
  24. margin-left: 2em;
  25. }
  26. .dokuwiki.page h4 {
  27. margin-left: 3em;
  28. }
  29. .dokuwiki.page div.level4 {
  30. margin-left: 3em;
  31. }
  32. .dokuwiki.page h5 {
  33. margin-left: 4.5712em;
  34. }
  35. .dokuwiki.page div.level5 {
  36. margin-left: 4em;
  37. }
  38. */
  39. /* hx margin-left = (1 / font-size) * .levelx-margin */
  40. /*____________ images ____________*/
  41. /* embedded images (styles are already partly set in DokuWiki's lib/styles/all.css) */
  42. .dokuwiki img.media {
  43. margin: .2em 0;
  44. }
  45. .dokuwiki img.medialeft {
  46. margin: .2em 1.5em .2em 0;
  47. }
  48. .dokuwiki img.mediaright {
  49. margin: .2em 0 .2em 1.5em;
  50. }
  51. .dokuwiki img.mediacenter {
  52. margin: .2em auto;
  53. }
  54. /*____________ tables ____________*/
  55. .dokuwiki table.inline {
  56. min-width: 50%;
  57. }
  58. .dokuwiki table.inline th,
  59. .dokuwiki table.inline td {
  60. border: 1px solid __text_alt__;
  61. }
  62. .dokuwiki table.inline th {
  63. color: inherit;
  64. background-color: __background_neu__;
  65. }
  66. .dokuwiki table.inline td {
  67. }
  68. .dokuwiki table.inline tr:hover td {
  69. background-color: __background_alt__;
  70. }
  71. .dokuwiki table.inline tr:hover th {
  72. background-color: __border__;
  73. }
  74. /*____________ code ____________*/
  75. .dokuwiki pre,
  76. .dokuwiki tt,
  77. .dokuwiki code,
  78. .dokuwiki samp,
  79. .dokuwiki kbd {
  80. background-color: __background_alt__;
  81. color: __text__;
  82. }
  83. /* fix if background-color hides underlining */
  84. .dokuwiki em.u code {
  85. text-decoration: underline;
  86. }
  87. .dokuwiki pre {
  88. border: 1px solid __border__;
  89. padding: 0 .2em;
  90. }
  91. /* for code in <file> */
  92. .dokuwiki pre.file {
  93. }
  94. /* filenames for downloadable file and code blocks */
  95. .dokuwiki dl.code,
  96. .dokuwiki dl.file {
  97. }
  98. .dokuwiki dl.code dt,
  99. .dokuwiki dl.file dt {
  100. background-color: __background_alt__;
  101. border: solid __border__;
  102. border-width: 1px 1px 0;
  103. color: inherit;
  104. display: inline;
  105. padding: 0 .5em;
  106. margin-left: 1em;
  107. }
  108. .dokuwiki dl.code dt a,
  109. .dokuwiki dl.file dt a {
  110. }
  111. .dokuwiki dl.code dd,
  112. .dokuwiki dl.file dd {
  113. margin: 0;
  114. }