2 * $Id: phpwiki-printer.css,v 1.10 2002-02-08 07:52:23 carstenklapp Exp $
4 * PhpWiki style sheet for the printed page:
5 * Black on white only, with no toolbar commands and no link icons.
6 * Styles are kept to a minimum, so the printed page will otherwise
7 * appear according to your browser's default font settings.
20 * Render links with black text and no underlines for readability on b&w
21 * printers which try to render colors as greys. (Greyscale text is often
22 * difficult to read on older 300dpi lasers.)
26 text-decoration: none;
30 * Override the above to keep underlines for WikiLinks and generic urls,
31 * they are useful indicators on the printed page.
32 * (most browsers underline links by default anyway but this overrides
33 * any user-defined default style sheets.)
36 text-decoration: underline;
46 text-decoration: underline;
49 /* Some browsers don't understand visibility settings, so we use white text
50 * on white in addition to hidden.
74 * Hide wiki links in the toolbar for browsers which ignore visibility
75 * and don't honour the inheritance of the above .toolbar style.
83 /* Hide wikiaction links in the toolbar */
84 .toolbar .wikiaction {
90 /* Hide (diff) links and days buttons in RecentChanges */
95 * This hack works in Mozilla to reduce the extra white space
96 * which results from hiding (diff). Browsers which allow a minimum
97 * font size as a user preference will not honour it.
103 * Hide image borders for older browsers--newer broswers default to a zero
104 * border around images anyway.
107 vertical-align: baseline;
108 border: 0 none white;
111 /* Hide other non-essential page elements from the printer. */
114 * Some browsers ignore this completely: OmniWeb 4.1
115 * also shrink down the image to nothing so the text flows around it.
122 /* Hide the rss icon from the printed page (perhaps this should be left in? */
129 /* Hide the w3.org link image from the printed page */
136 /* Hide any debugging elements from the printed page */
144 * One last-ditch effort to hide the search field, if the browser still won't
145 * hide it then it's just going to have to show up on the printed page.