]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/fusionforge/fusionforge-print.css
Use HTML 5
[SourceForge/phpwiki.git] / themes / fusionforge / fusionforge-print.css
1 /**
2  * Copyright (C) 2008 Alcatel-Lucent
3  *
4  * This file is part of PhpWiki.
5  *
6  * PhpWiki is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * PhpWiki is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with PhpWiki; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
21 /*
22  * Standard Alcatel-Lucent disclaimer for contributing to open source
23  *
24  * "The Style Sheet ("Contribution") has not been tested and/or
25  * validated for release as or in products, combinations with products or
26  * other commercial use. Any use of the Contribution is entirely made at
27  * the user's own responsibility and the user can not rely on any features,
28  * functionalities or performances Alcatel-Lucent has attributed to the
29  * Contribution.
30  *
31  * THE CONTRIBUTION BY ALCATEL-LUCENT IS PROVIDED AS IS, WITHOUT WARRANTY
32  * OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
33  * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, COMPLIANCE,
34  * NON-INTERFERENCE AND/OR INTERWORKING WITH THE SOFTWARE TO WHICH THE
35  * CONTRIBUTION HAS BEEN MADE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL
36  * ALCATEL-LUCENT BE LIABLE FOR ANY DAMAGES OR OTHER LIABLITY, WHETHER IN
37  * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
38  * CONTRIBUTION OR THE USE OR OTHER DEALINGS IN THE CONTRIBUTION, WHETHER
39  * TOGETHER WITH THE SOFTWARE TO WHICH THE CONTRIBUTION RELATES OR ON A STAND
40  * ALONE BASIS."
41  */
42
43 /* Do not display the header and the navigation */
44 header {
45     display: none;
46 }
47
48 nav {
49     display: none;
50 }
51
52 menu {
53     display: none;
54 }
55
56 /* Do not print debug */
57 .debug {
58     display: none;
59 }
60
61 /* Do not print Page Trail line */
62 .pagetrail {
63     display: none;
64 }
65
66 /* Do not print main wiki browse banner */
67 .browsebanner {
68     display: none;
69 }
70
71 /* Do not print rateit widget */
72 #rateit-widget-top {
73     display: none;
74 }
75
76 /* Do not print date of last edition */
77 .editdate {
78     display: none;
79 }
80
81 /* Print links in black */
82 a {
83     color: black;
84 }
85
86 /* Do not print icons in front of hyperlinks */
87 a.interwiki img {
88     display: none;
89 }
90
91 a.named-interwiki img {
92     display: none;
93 }
94
95 a.namedurl img {
96     display: none;
97 }
98
99 /* Do not print "none" sorting icon */
100 img[src="/wiki/themes/fusionforge/buttons/no_order.png"] {
101     display: none;
102 }
103
104 /**
105  * Table of content
106  */
107 div.toc {
108     border: 1px solid black;
109 }
110
111 /* Do not print TOC toggle image */
112 #toctoggle {
113     display: none;
114 }
115
116 div.toc p.toctitle, h1, h2, h3, h4, h5, h6 {
117     border-bottom: 1px solid black;
118 }
119
120 h1 {
121     font-weight: bold;
122     background: white;
123     color: black;
124 }
125
126 /*
127 div.toclist a::after {
128     content: leader('.') target-counter(attr(href), page);
129 }
130 */
131
132 table.boxed, table.bordered, table.bordered th, table.bordered td {
133     border-color: black;
134 }
135
136 #content {
137     background: white;
138     border: none;
139 }
140
141 /* Do not cut tables with class "nobreak" */
142
143 table.nobreak {
144     page-break-inside: avoid !important;
145 }