]> Shamusworld >> Repos - ardour-manual/blobdiff - source/css/pdf.css
Added anchors pages and links addresses to the PDF
[ardour-manual] / source / css / pdf.css
index 458944df7232556368db4ad403514f06e6ab9edf..927b38656b5aa6a8a8952ac3eff114f8fed5d3dd 100644 (file)
@@ -129,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;
 }
 
@@ -174,6 +174,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) ")";
 }