Re: Print Stylesheets

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

 



2008/10/3 Ricky Zhou <ricky@xxxxxxxxxxxxxxxxx>:
> On 2008-10-03 01:40:18 PM, Ricky Zhou wrote:
>> (it would probably be easiest to get a design down and start the
>> stylesheet from scratch).
> I take that part back.  Ian Weller says that MW might already come with
> one, so sombody just needs to find it, enable it, and brand it :-)

Seems to be:

http://fedoraproject.org/static/css/print.css

In which case, the attached patch is a fair start to my eye as tested
on some random Wiki pages..

--
Craig
--- print.css.original	2008-10-03 20:02:16.000000000 -0400
+++ print.css	2008-10-03 21:44:48.000000000 -0400
@@ -1,5 +1,32 @@
-#wrapper
-{
-  overflow: visible;
+body {
+    background: white;
+    font-size: 12pt;
+}
+	
+#head, #sidebar, #siteNotice, #bottom {
+    display: none;
+}
+
+#wrapper{
+    overflow: visible;
+}
+
+#content{
+    width: auto; 
+    margin: 0 5%;
+    padding: 4px; 
+    border: 0;
+    float: none !important;
+    color: black; 
+    background: transparent;
+}
+
+
+#printfooter{
+    display: visible;
+}
+	
+#content a[href^="/"]:after, #printfooter a[href^="/"]:after {
+    content: " ( http://www.fedoraproject.org"; attr(href) " ) ";
 }
 
-- 
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