@@ -36,13 +36,16 @@ cxx-titlepage { page: title; page-break-after: always; }
36
36
37
37
@media print {
38
38
html { font-size : 10pt ; }
39
- * / deep/ pre , * / deep / code { font-size : 8 pt ; }
39
+ * / deep/ code { font-size : 80 % ; }
40
40
/* Note that only Prince generates clickable links. */
41
41
* / deep/ a[href ] { text-decoration : none; }
42
42
}
43
43
44
- /* Needed to make the <cxx-titlepage>'s vertical spacing work. */
45
- html , body {height : 100% }
44
+ @media screen {
45
+ /* Needed to make the <cxx-titlepage>'s vertical spacing work.
46
+ For print see the <cxx-titlepage> definition. */
47
+ html , body {height : 100% }
48
+ }
46
49
47
50
cxx-docnum { string-set : docnum content (); }
48
51
@@ -74,29 +77,30 @@ p:first-child, ul, ol {margin-top: 0}
74
77
del {text-decoration : line-through; color : # 8B0040 ;}
75
78
ins {text-decoration : underline; color : # 005100 ;}
76
79
77
- del2 {text-decoration : line-through; color : # FF0040 ; font-size : 100% ;}
78
- ins2 {text-decoration : underline; color : # FF0040 ; font-size : 100% ;}
79
- /* inserted in TS and then deleted for LWG */
80
- insdel {text-decoration : line-through; color : # FF4440 ; font-size : 100% ;}
81
-
82
80
pre {
83
81
margin-left : 1em ;
84
82
margin-top : .5em ;
85
83
margin-bottom : .5em ;
86
84
}
87
- pre > code { display : inline-block; }
88
85
89
-
90
- /* Use an em-dash for the list bullet. */
91
- ul {
92
- list-style : none;
93
- /* Relative positioning on the 'ul' lets the absolutely-positioned
94
- marker align relative to it.*/
95
- position : relative;
86
+ /* Use an em-dash for the list bullet.
87
+ 'print' is a proxy for supporting ::marker. */
88
+ @media screen {
89
+ ul {
90
+ list-style : none;
91
+ /* Relative positioning on the 'ul' lets the absolutely-positioned
92
+ marker align relative to it.*/
93
+ position : relative;
94
+ }
95
+ ul li : before {
96
+ content : "\2014" ;
97
+ position : absolute; left : 10px ;
98
+ }
96
99
}
97
- ul li : before {
98
- content : "\2014" ;
99
- position : absolute; left : 10px ;
100
+ @media print {
101
+ ul li ::marker {
102
+ content : "\2014" ;
103
+ }
100
104
}
101
105
102
106
/* This is here rather than inside elements/toc.html because browsers
0 commit comments