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.

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