camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r568626 - /activemq/camel/trunk/tooling/camel-manual/src/styles/print.css
Date Wed, 22 Aug 2007 14:29:59 GMT
Author: chirino
Date: Wed Aug 22 07:29:59 2007
New Revision: 568626

URL: http://svn.apache.org/viewvc?rev=568626&view=rev
Log:
Better css for print and screen

Modified:
    activemq/camel/trunk/tooling/camel-manual/src/styles/print.css

Modified: activemq/camel/trunk/tooling/camel-manual/src/styles/print.css
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/tooling/camel-manual/src/styles/print.css?rev=568626&r1=568625&r2=568626&view=diff
==============================================================================
--- activemq/camel/trunk/tooling/camel-manual/src/styles/print.css (original)
+++ activemq/camel/trunk/tooling/camel-manual/src/styles/print.css Wed Aug 22 07:29:59 2007
@@ -35,6 +35,12 @@
 @media screen, handheld {
 h1 { 
   margin-top:1cm;
+  background-image: url("chapter-rounded-bottom.png");
+  background-repeat: no-repeat;
+  background-position: bottom right;
+}
+div.page-reset > h1 {
+  margin-top:0cm;
 }
 }
 
@@ -68,8 +74,6 @@
   text-align: right;
 }
 
-pre {  margin: 1em 1.3em; }
-
 a { text-decoration: none; color: black }
 
 /* cross-references */
@@ -147,9 +151,16 @@
 table th, table td {
   text-align: left;
   padding-right: 1em;
+  page-break-inside: avoid;
 }
 
-table td, table th {
+table th {
+  border-top: thin solid;
+  border-bottom: thin solid;
+  padding-top: 0.2em;
+  padding-bottom: 0.2em;
+}
+table td {
   border-top: none;
   border-bottom: thin dotted;
   padding-top: 0.2em;
@@ -513,11 +524,15 @@
 
 
 @media screen, handheld {
-  html { margin: 1em; font: 14px "Gill Sans", sans-serif; }
+  html {font: 14px "Gill Sans", sans-serif; }
   h1 { margin-bottom: 0.5em }
   div.frontcover, div.halftitlepage, div.titlepage, div.imprint, 
   div.dedication, div.foreword, div.toc, div.index { display: none }
-  body { margin: 2cm; }
+  body { 
+      margin: 0cm; 
+      margin-left: 2cm; 
+      margin-right: 2cm; 
+  }
 }
 
 /*
@@ -535,14 +550,15 @@
 }
 
 table td {
-  font-size: 80%;
+  font-size: 10pt;
 }
 
-pre {  margin: 0.5em; }
+pre {  
+   white-space: pre-wrap;
+}
 
 .codeContent {
-  font-size: 70%; 
-  margin: .5em;
+  font-size: 80%;
 }
 .code {
 }



Mime
View raw message