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