]> Shamusworld >> Repos - ardour-manual/blobdiff - source/css/pdf.css
Moved a CSS property out of the building script
[ardour-manual] / source / css / pdf.css
index c5ae24e3001b5d96eb90925d1ab23137f0d6661d..5756d56290947e88dfbe281c864aa56940c9c73d 100644 (file)
@@ -17,6 +17,11 @@ div.frontcover {
        text-align: center;
 }
 
+.frontcover #generationdate {
+       font-size: .25em;
+       text-align: right;
+}
+
 /* styles for the right hand spread
        Bottom left we display the title of the book, bottom right the page using a CSS
   counter, top right the content of the current chapter
@@ -124,7 +129,7 @@ h6 { font-size: 1.1em; }
 h1,h2,h3,h4,h5 {
        font-weight: bold;
        page-break-after: avoid;
-       page-break-inside:avoid;
+       page-break-inside: avoid;
   line-height: 1.25em;
 }
 
@@ -141,6 +146,7 @@ td, th {
 }
 
 ul.toc {
+       white-space: nowrap;
        list-style: none;
        margin: 0;
        padding: 0;
@@ -169,6 +175,9 @@ a {
 }
 
 /* add page number to cross references */
-a.xref::after {
-  content: " (page " target-counter(attr(href, url), page) ")";
+a[href^="#"]::after {
+  content: " (p. " target-counter(attr(href, url), page) ")";
+}
+a[href^="http"]::after {
+       content: " (" attr(href) ")";
 }