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