Print stylesheets for Fedora and wiki

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All,

I was poking through infra tickets and i ran into #1670 [1] (wiki:
"Printable version" not suitable for printing).
I decided to see if it can be done and this is what i came up with
these examples:

Fedora Wiki print - http://sijis.fedorapeople.org/fpo-print.html
Fedora regular page - http://sijis.fedorapeople.org/fpo-a.html

[1] https://fedorahosted.org/fedora-infrastructure/ticket/1670

In short, I've added the following code to the bottom of
commonPrint.css and print.css

--
#head, #sidebar, #nav, table#toc, h3#siteSub
{
	display: none;
}

#wrapper, #bottom, #footer
{
	padding: auto;
	background-color: #fff;
	background-image: none;
	border: 0;
}

#content
{
	margin: auto;
}
--

Note that commonPrint.css is for the wiki printable view. If needed,
we don't update that css file and just let print.css handle everything
when someone prints.

I've tested all this on:
Fedora 11 - FF 3.5.3
Windows XP - IE6, IE7, FF 3.5.2

Can someone review this and let me know what you think?

Sijis

-- 
Fedora-websites-list mailing list
Fedora-websites-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-websites-list

[Index of Archives]     [Fedora Users]     [Linux ARM]     [ARM Kernel]     [Older Fedora Users]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux