I just wanted to share a quick Stylesheet tweak for printing out Instiki pages.
I noticed that when I printed a page out, the text was gray, not
black. This is fine for on screen, since it's easier to read than
black-on-white, but it's not suitable for printing.
CSS has a media type for print, which can be added to your stylesheet
tweaks by wrapping the relevant CSS in @media print{}.
For example, to get black text, a white background, uncolored and only
subtly underlined links:
@media print {
body {
color: black;
background-color: white;
font-size: 10pt;
}
h1, h2, h3, h4, h5, h6 {
color: black;
}
a, a:link, a:active, a:visited {
color: black;
border-bottom: thin dotted;
text-decoration: none;
}
h1#pageName, .newWikiWord a, a.existingWikiWord, .newWikiWord
a:hover, #TextileHelp h3 {
color: black;
}
}
This won't change the look of the page when you go to "Views: Print"
for a particular page, but it should take effect when you actually
print the page.
--
mark larios
<http://raysend.com/mark/>
_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users