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.

174 lines
2.9 KiB

14 years ago
  1. /**
  2. * This file provides the styles for printing.
  3. *
  4. * @todo: improve and finish
  5. */
  6. body {
  7. /*
  8. font: normal 12pt/1.2 serif;
  9. color: #000;
  10. background-color: #fff;
  11. */
  12. }
  13. /* hide certain sections */
  14. .a11y,
  15. div.notify, div.info, div.success, div.error,
  16. #dokuwiki__header .tools, #dokuwiki__aside,
  17. .dokuwiki .breadcrumbs, .dokuwiki .toc, #dw__toc, .dokuwiki .secedit,
  18. #dokuwiki__pagetools, #dokuwiki__footer {
  19. display: none;
  20. }
  21. .dokuwiki h1,
  22. .dokuwiki h2,
  23. .dokuwiki h3,
  24. .dokuwiki h4,
  25. .dokuwiki h5,
  26. .dokuwiki caption,
  27. .dokuwiki legend {
  28. clear: both;
  29. }
  30. .dokuwiki ul {
  31. list-style: disc outside;
  32. }
  33. .dokuwiki ol {
  34. list-style: decimal outside;
  35. }
  36. .dokuwiki ol ol {
  37. list-style-type: lower-alpha;
  38. }
  39. .dokuwiki ol ol ol {
  40. list-style-type: upper-roman;
  41. }
  42. .dokuwiki ol ol ol ol {
  43. list-style-type: upper-alpha;
  44. }
  45. .dokuwiki ol ol ol ol ol {
  46. list-style-type: lower-roman;
  47. }
  48. /* undo icons */
  49. .dokuwiki a:link,
  50. .dokuwiki a:visited {
  51. text-decoration: underline;
  52. color: #333;
  53. background-color: inherit;
  54. background-image: none;
  55. padding: 0;
  56. }
  57. /* display href after link */
  58. a.urlextern:after,
  59. a.interwiki:after,
  60. a.mail:after {
  61. content: " [" attr(href) "]";
  62. font-size: 90%;
  63. }
  64. /* code blocks */
  65. .dokuwiki pre {
  66. font-family: monospace;
  67. }
  68. .dokuwiki dl.code dt,
  69. .dokuwiki dl.file dt {
  70. font-weight: bold;
  71. }
  72. /* images */
  73. .dokuwiki img {
  74. border-width: 0;
  75. vertical-align: middle;
  76. }
  77. .dokuwiki img.media {
  78. margin: .2em 0;
  79. }
  80. .dokuwiki img.medialeft {
  81. margin: .2em 1.5em .2em 0;
  82. }
  83. .dokuwiki img.mediaright {
  84. margin: .2em 0 .2em 1.5em;
  85. }
  86. .dokuwiki img.mediacenter {
  87. margin: .2em auto;
  88. }
  89. /* align table cells */
  90. .dokuwiki .leftalign {
  91. text-align: left;
  92. }
  93. .dokuwiki .centeralign {
  94. text-align: center;
  95. }
  96. .dokuwiki .rightalign {
  97. text-align: right;
  98. }
  99. /* underline */
  100. .dokuwiki em.u {
  101. font-style: normal;
  102. text-decoration: underline;
  103. }
  104. .dokuwiki em em.u {
  105. font-style: italic;
  106. }
  107. div.clearer {
  108. clear: both;
  109. line-height: 0;
  110. height: 0;
  111. overflow: hidden;
  112. }
  113. .dokuwiki blockquote {
  114. padding: 0 10pt;
  115. margin: 0;
  116. border: solid #ccc;
  117. border-width: 0 0 0 2pt;
  118. }
  119. [dir=rtl] .dokuwiki blockquote {
  120. border-width: 0 2pt 0 0;
  121. }
  122. /* tables */
  123. .dokuwiki table {
  124. border-collapse: collapse;
  125. empty-cells: show;
  126. border-spacing: 0;
  127. border: 1pt solid #ccc;
  128. }
  129. .dokuwiki th,
  130. .dokuwiki td {
  131. padding: 3pt 5pt;
  132. margin: 0;
  133. vertical-align: top;
  134. border: 1pt solid #666;
  135. text-align: left;
  136. }
  137. [dir=rtl] .dokuwiki th,
  138. [dir=rtl] .dokuwiki td {
  139. text-align: right;
  140. }
  141. .dokuwiki th {
  142. font-weight: bold;
  143. }
  144. /*____________ a bit of layout ____________*/
  145. #dokuwiki__header {
  146. border-bottom: 2pt solid #ccc;
  147. }
  148. #dokuwiki__header h1 {
  149. font-size: 1.5em;
  150. }
  151. #dokuwiki__header h1 a {
  152. text-decoration: none;
  153. }
  154. .dokuwiki div.footnotes {
  155. clear: both;
  156. border-top: 1pt solid #000;
  157. margin-top: 10pt;
  158. }