@@ -51,29 +51,19 @@ cxx-clause { page-break-before: always; }
51
51
cxx-clause , cxx-toc { margin-top : 3em ; }
52
52
}
53
53
54
- /* Rule pairs where the first has a '^' and the second doesn't, are intended
55
- * to work both with and without the Shadow DOM polyfill. TODO(jyasskin):
56
- * Figure out what the Polymer folks recommend instead of this. */
57
-
58
54
cxx-clause ^ header { font-size : 150% ; }
59
- cxx-clause header { font-size : 150% ; }
60
55
cxx-toc ^ h1 { font-size : 150% ; }
61
- cxx-toc h1 { font-size : 150% ; }
62
56
cxx-clause cxx-section ^ header { font-size : 117% ; }
63
- cxx-clause cxx-section header { font-size : 117% ; }
64
57
cxx-clause cxx-section cxx-section ^ header { font-size : 100% ; }
65
- cxx-clause cxx-section cxx-section header { font-size : 100% ; }
66
58
67
59
[data-bookmark-label ] { bookmark-label : attr (data-bookmark-label); }
68
60
h1 { bookmark-level : 1 ; }
69
61
cxx-toc ^ h1 { bookmark-level : 2 ; }
70
- cxx-toc h1 { bookmark-level : 2 ; }
71
62
cxx-clause h1 { bookmark-level : 2 ; }
72
63
cxx-clause cxx-section h1 { bookmark-level : 3 ; }
73
64
cxx-clause cxx-section cxx-section h1 { bookmark-level : 4 ; }
74
65
75
66
* ^ .section-number { string-set : current-section "§ " content (); }
76
- * .section-number { string-set : current-section "§ " content (); }
77
67
78
68
p {margin-top : .5em ; margin-bottom : .5em }
79
69
p : first-child , ul , ol {margin-top : 0 }
@@ -93,8 +83,6 @@ pre > code { display: inline-block; }
93
83
@media print {
94
84
/* Generate page numbers in the table of contents. */
95
85
cxx-toc ^ a[href ]::after { content : leader (" . " ) target-counter (attr (href), page); }
96
- cxx-toc a [href ]::after { content : leader (" . " ) target-counter (attr (href), page); }
97
86
98
87
cxx-footnote ^ aside { float : footnote; footnote-policy : line; }
99
- cxx-footnote aside { float : footnote; footnote-policy : line; }
100
88
}
0 commit comments