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.

123 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, .dokuwiki .secedit,
  18. #dokuwiki__pagetools, #dokuwiki__footer {
  19. display: none;
  20. }
  21. .dokuwiki h1, .dokuwiki h2, .dokuwiki h3, .dokuwiki h4, .dokuwiki h5,
  22. .dokuwiki caption, .dokuwiki legend {
  23. clear: both;
  24. }
  25. .dokuwiki ul { list-style: disc outside; }
  26. .dokuwiki ol { list-style: decimal outside; }
  27. .dokuwiki ol ol { list-style-type: lower-alpha; }
  28. .dokuwiki ol ol ol { list-style-type: upper-roman; }
  29. .dokuwiki ol ol ol ol { list-style-type: upper-alpha; }
  30. .dokuwiki ol ol ol ol ol { list-style-type: lower-roman; }
  31. /* undo icons */
  32. .dokuwiki a:link, .dokuwiki a:visited {
  33. text-decoration: underline;
  34. color: #333;
  35. background-color: inherit;
  36. background-image: none;
  37. padding: 0;
  38. }
  39. /* display href after link */
  40. a.urlextern:after,
  41. a.interwiki:after,
  42. a.mail:after {
  43. content: " [" attr(href) "]";
  44. font-size: 90%;
  45. }
  46. /* code blocks */
  47. .dokuwiki pre {
  48. font-family: monospace;
  49. }
  50. .dokuwiki dl.code dt, .dokuwiki dl.file dt {
  51. font-weight: bold;
  52. }
  53. /* images */
  54. .dokuwiki img { border-width: 0; vertical-align: middle; }
  55. .dokuwiki img.medialeft { margin: .5em 1.5em .5em 0; float: left; }
  56. .dokuwiki img.mediaright { margin: .5em 0 .5em 1.5em; float: right; }
  57. .dokuwiki img.mediacenter { margin: .5em auto; display: block; }
  58. /* align table cells */
  59. .dokuwiki .leftalign { text-align: left; }
  60. .dokuwiki .centeralign { text-align: center; }
  61. .dokuwiki .rightalign { text-align: right; }
  62. /* underline */
  63. .dokuwiki em.u { font-style: normal; text-decoration: underline; }
  64. .dokuwiki em em.u { font-style: italic; }
  65. div.clearer {
  66. clear: both;
  67. line-height: 0;
  68. height: 0;
  69. overflow: hidden;
  70. }
  71. .dokuwiki blockquote {
  72. padding: 0 10pt;
  73. margin: 0;
  74. border: solid #ccc;
  75. border-width: 0 0 0 2pt;
  76. }
  77. /* tables */
  78. .dokuwiki table {
  79. border-collapse: collapse;
  80. empty-cells: show;
  81. border-spacing: 0;
  82. border: 1pt solid #ccc;
  83. }
  84. .dokuwiki th, .dokuwiki td {
  85. padding: 3pt 5pt;
  86. margin: 0;
  87. vertical-align: top;
  88. border: 1pt solid #666;
  89. text-align: left;
  90. }
  91. .dokuwiki th {
  92. font-weight: bold;
  93. }
  94. /*____________ a bit of layout ____________*/
  95. #dokuwiki__header {
  96. border-bottom: 2pt solid #ccc;
  97. }
  98. #dokuwiki__header h1 {
  99. font-size: 1.5em;
  100. }
  101. #dokuwiki__header h1 a {
  102. text-decoration: none;
  103. }
  104. .dokuwiki div.footnotes {
  105. clear: both;
  106. border-top: 1pt solid #000;
  107. margin-top: 10pt;
  108. }