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.

187 lines
2.6 KiB

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