@@ -20,14 +20,15 @@ limitations under the License.
20
20
@bottom-left { content : string (current-section, last); font-size : 10pt ; }
21
21
@bottom-right { content : counter (page); font-size : 10pt ; }
22
22
}
23
- cxx-titlepage { page : title; page-break-after : always; }
24
- @page title {
23
+ @page : first {
25
24
@top-left { content : "© ISO 2014 — All rights reserved" ; }
26
25
@top-right { content : normal; }
27
26
@bottom-left { content : normal; }
28
27
@bottom-right { content : normal; }
29
28
}
30
29
30
+ body { margin : 0 ; }
31
+
31
32
@media screen {
32
33
body { max-width : 7in ;
33
34
/* Make room for paragraph numbers. */
@@ -65,6 +66,8 @@ cxx-toc::shadow h1 { bookmark-level: 2; }
65
66
cxx-clause h1 { bookmark-level : 2 ; }
66
67
cxx-clause cxx-section h1 { bookmark-level : 3 ; }
67
68
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; }
68
71
69
72
* ::shadow .section-number { string-set : current-section "§ " content (); }
70
73
83
86
margin-bottom : .5em ;
84
87
}
85
88
89
+ * / deep/ wbr::after {
90
+ white-space : normal;
91
+ content : '\200B' ;
92
+ }
93
+ * / deep/ code {
94
+ /* Make inline code avoid line wraps unless we override it with <wbr>. */
95
+ white-space : nowrap;
96
+ }
97
+ * / deep/ pre code {
98
+ /* Keep block-code wrapping according to its context. */
99
+ white-space : inherit;
100
+ }
101
+
102
+ * / deep/ table {
103
+ border-collapse : collapse;
104
+ }
105
+ * / deep/ td, th {
106
+ padding-left : .2em ;
107
+ padding-right : .2em ;
108
+ border : thin solid black;
109
+ }
110
+
86
111
/* Use an em-dash for the list bullet.
87
112
'print' is a proxy for supporting ::marker. */
88
113
@media screen {
@@ -101,6 +126,9 @@ pre {
101
126
ul li ::marker {
102
127
content : "\2014" ;
103
128
}
129
+ [is = cxx-table ].list ul li ::marker {
130
+ content : none;
131
+ }
104
132
}
105
133
106
134
/* This is here rather than inside elements/toc.html because browsers
0 commit comments