]> 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 2327f46b10c7e8fd1460f66d1bd6c3323aa119ee..927b38656b5aa6a8a8952ac3eff114f8fed5d3dd 100644 (file)
@@ -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) ")";
 }