Skip to content

Commit a0e7798

Browse files
committed
Prevent the French title from getting a bookmark in the PDTS PDF.
1 parent e96e1db commit a0e7798

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

base.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ cxx-toc::shadow h1 { bookmark-level: 2; }
6666
cxx-clause h1 { bookmark-level: 2; }
6767
cxx-clause cxx-section h1 { bookmark-level: 3; }
6868
cxx-clause cxx-section cxx-section h1 { bookmark-level: 4; }
69+
/* The <h2> is a subtitle, which shouldn't get a PDF bookmark. */
70+
cxx-titlepage::shadow h2 { bookmark-level: none; }
6971

7072
*::shadow .section-number { string-set: current-section "§ " content(); }
7173

0 commit comments

Comments
 (0)