Finally get printed CSS working entirely properly
authorclinton <clinton@unknownlamer.org>
Fri, 30 Jan 2009 03:52:28 +0000 (03:52 +0000)
committerclinton <clinton@unknownlamer.org>
Fri, 30 Jan 2009 03:52:28 +0000 (03:52 +0000)
It turns out @page can't go inside of an @media {} block. I should
have expected this, but such is life. Fixed a few typos and made the
box borders in the printed output 0.5mm (again). Printed output of
various pages looks tolerable from Konqueror 4 and Midori, but good
old Mozilla is still lame. Time for Mozilla to go the way of Internet
Explorer I guess... except Mozilla was always a bloated piece of shit.

Metaobject Protocols.muse
Sourdough Rye.muse
default.css

index ebed29f..2af221c 100644 (file)
@@ -445,7 +445,7 @@ Elephant uses the CLOS MOP to transparantly store any class to disk
 and handle paging between the disk store and memory efficiently
 without user intervention.
 
 and handle paging between the disk store and memory efficiently
 without user intervention.
 
-* Sources & Further Reading
+* Sources and Further Reading
 
 ** Sources
 
 
 ** Sources
 
index dc996c6..37af630 100644 (file)
@@ -35,7 +35,7 @@ get bubbly again.
 
 ** Dough
 
 
 ** Dough
 
- 1. Mix sponge, molasses, salt, oil, and water throughly
+ 1. Mix sponge, molasses, salt, oil, and water thoroughly
  2. Gradually mix in 3 cups of flour (after about half of it has been
     mixed in you will have to knead the rest in by hand)
  3. Knead for a good ten or twenty minutes
  2. Gradually mix in 3 cups of flour (after about half of it has been
     mixed in you will have to knead the rest in by hand)
  3. Knead for a good ten or twenty minutes
index 630159e..f24c6a7 100644 (file)
@@ -47,9 +47,6 @@ h1,h2,h3,h4,h5
     page-break-before: avoid;
     page-break-after: auto;
   }
     page-break-before: avoid;
     page-break-after: auto;
   }
-
-  @page
-  { padding: 0.1in; margin: 1in 1.25in; }
 }
 
 .verse
 }
 
 .verse
@@ -195,7 +192,7 @@ div.contents dd
   div.contents
   {
     background-color: #DFDFDF;
   div.contents
   {
     background-color: #DFDFDF;
-    border-width: 1mm;
+    border-width: 0.5mm;
     float: left;
     margin-right: 2em;
   }
     float: left;
     margin-right: 2em;
   }
@@ -270,7 +267,7 @@ table.image tr td.image-caption
   .image
   {
     background-color: #CCCCCC;
   .image
   {
     background-color: #CCCCCC;
-    border-width: 1mm;
+    border-width: 0.5mm;
     page-break-inside: avoid;
     page-break-after: auto;
     page-break-before: auto;
     page-break-inside: avoid;
     page-break-after: auto;
     page-break-before: auto;
@@ -384,7 +381,7 @@ p.cke-buttons img
   {
     color: #000000;
     background-color: #F5F5F5;
   {
     color: #000000;
     background-color: #F5F5F5;
-    border-width: 1mm;
+    border-width: 0.5mm;
     font-size: 8pt;
   }
 }
     font-size: 8pt;
   }
 }