print.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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. #dokuwiki__header .tools,
  16. #dokuwiki__aside,
  17. .dokuwiki .breadcrumbs,
  18. .dokuwiki .pageId,
  19. #dw__toc,
  20. h3.toggle,
  21. #dokuwiki__pagetools,
  22. #dokuwiki__footer {
  23. display: none;
  24. }
  25. h1,
  26. h2,
  27. h3,
  28. h4,
  29. h5,
  30. caption,
  31. legend {
  32. clear: both;
  33. }
  34. ul {
  35. list-style: disc outside;
  36. }
  37. ol {
  38. list-style: decimal outside;
  39. }
  40. ol ol {
  41. list-style-type: lower-alpha;
  42. }
  43. ol ol ol {
  44. list-style-type: upper-roman;
  45. }
  46. ol ol ol ol {
  47. list-style-type: upper-alpha;
  48. }
  49. ol ol ol ol ol {
  50. list-style-type: lower-roman;
  51. }
  52. a:link,
  53. a:visited {
  54. text-decoration: none;
  55. border-bottom: 1pt dotted;
  56. color: #333;
  57. background-color: inherit;
  58. }
  59. /* display href after link */
  60. a.urlextern:after,
  61. a.interwiki:after,
  62. a.mail:after {
  63. content: " [" attr(href) "]";
  64. font-size: 90%;
  65. }
  66. /* code blocks */
  67. pre {
  68. font-family: monospace;
  69. }
  70. dl.code dt,
  71. dl.file dt {
  72. font-weight: bold;
  73. }
  74. mark {
  75. font-weight: bold;
  76. }
  77. /* images */
  78. img {
  79. border-width: 0;
  80. vertical-align: middle;
  81. }
  82. img.media {
  83. margin: .2em 0;
  84. }
  85. img.medialeft {
  86. margin: .2em 1em .2em 0;
  87. }
  88. img.mediaright {
  89. margin: .2em 0 .2em 1em;
  90. }
  91. img.mediacenter {
  92. margin: .2em auto;
  93. }
  94. blockquote {
  95. padding: 0 10pt;
  96. margin: 0;
  97. border: solid #ccc;
  98. border-width: 0 0 0 2pt;
  99. }
  100. [dir=rtl] blockquote {
  101. border-width: 0 2pt 0 0;
  102. }
  103. /* tables */
  104. .dokuwiki div.table {
  105. margin-bottom: 1.4em;
  106. }
  107. table {
  108. border-collapse: collapse;
  109. empty-cells: show;
  110. border-spacing: 0;
  111. border: 1pt solid #ccc;
  112. }
  113. th,
  114. td {
  115. padding: 3pt 5pt;
  116. margin: 0;
  117. vertical-align: top;
  118. border: 1pt solid #666;
  119. }
  120. th {
  121. font-weight: bold;
  122. text-align: left;
  123. }
  124. [dir=rtl] th {
  125. text-align: right;
  126. }
  127. /*____________ a bit of layout ____________*/
  128. #dokuwiki__header {
  129. border-bottom: 2pt solid #ccc;
  130. }
  131. #dokuwiki__header .logo {
  132. font-size: 1.5em;
  133. font-weight: bold;
  134. }
  135. #dokuwiki__header .logo a {
  136. text-decoration: none;
  137. border-width: 0;
  138. }
  139. #dokuwiki__header .logo img {
  140. float: left;
  141. margin-right: .5em;
  142. }
  143. [dir=rtl] #dokuwiki__header .logo img {
  144. float: right;
  145. margin-right: 0;
  146. margin-left: .5em;
  147. }
  148. .dokuwiki div.footnotes {
  149. clear: both;
  150. border-top: 1pt dotted #999;
  151. margin-top: 10pt;
  152. }
  153. .dokuwiki div.docInfo {
  154. font-size: 90%;
  155. text-align: right;
  156. clear: both;
  157. padding-top: 2pt;
  158. border-top: 1pt solid #999;
  159. margin-top: 10pt;
  160. }
  161. [dir=rtl] .dokuwiki div.docInfo {
  162. text-align: left;
  163. }