2 * $Id: phpwiki-printer.css,v 1.8 2002-02-03 21:32:41 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.
16 * Render links with black text and no underlines for readability on b&w
17 * printers which try to render colors as greys. (Greyscale text is often
18 * difficult to read on older 300dpi lasers.)
22 text-decoration : none;
26 * Override the above to keep underlines for WikiLinks and generic urls,
27 * they are useful indicators on the printed page.
28 * (most browsers underline links by default anyway but this overrides
29 * any user-defined default style sheets.)
32 text-decoration : underline;
36 p.editdate { font-size: smaller; margin-top: -1ex; }
39 text-decoration : underline;
42 /* Some browsers don't understand visibility settings, so we use white text
43 * on white in addition to hidden.
46 /* hide the toolbars */
66 * Hide wiki links in the toolbar for browsers which ignore visibility
67 * and don't honour the inheritance of the above .toolbar style.
75 /* Hide wikiaction links in the toolbar */
76 .toolbar .wikiaction {
82 /* Hide (diff) links and days buttons in RecentChanges */
87 * This hack works in Mozilla to reduce the extra white space
88 * which results from hiding (diff). Browsers which allow a minimum
89 * font size as a user preference will not honour it.
95 * Hide image borders for older browsers--newer broswers default to a zero
96 * border around images anyway.
98 img { vertical-align: baseline;
102 /* Hide other non-essential page elements from the printer. */
105 * Some browsers ignore this completely: OmniWeb 4.1
106 * also shrink down the image to nothing so the text flows around it.
113 /* Hide the rss icon from the printed page (perhaps this should be left in? */
120 /* Hide the w3.org link image from the printed page */
128 * One last-ditch effort to hide the search field, if the browser still won't
129 * hide it then it's just going to have to show up on the printed page.