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.

167 lines
2.7 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. /* tables */
  120. .dokuwiki table {
  121. border-collapse: collapse;
  122. empty-cells: show;
  123. border-spacing: 0;
  124. border: 1pt solid #ccc;
  125. }
  126. .dokuwiki th,
  127. .dokuwiki td {
  128. padding: 3pt 5pt;
  129. margin: 0;
  130. vertical-align: top;
  131. border: 1pt solid #666;
  132. text-align: left;
  133. }
  134. .dokuwiki th {
  135. font-weight: bold;
  136. }
  137. /*____________ a bit of layout ____________*/
  138. #dokuwiki__header {
  139. border-bottom: 2pt solid #ccc;
  140. }
  141. #dokuwiki__header h1 {
  142. font-size: 1.5em;
  143. }
  144. #dokuwiki__header h1 a {
  145. text-decoration: none;
  146. }
  147. .dokuwiki div.footnotes {
  148. clear: both;
  149. border-top: 1pt solid #000;
  150. margin-top: 10pt;
  151. }