Skip to content

Commit f749596

Browse files
committed
Get latest cxx-html-doc-framework
1 parent 1a2b7ca commit f749596

File tree

1 file changed

+23
-19
lines changed
  • bower_components/cxx-html-doc-framework

1 file changed

+23
-19
lines changed

bower_components/cxx-html-doc-framework/base.css

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,16 @@ cxx-titlepage { page: title; page-break-after: always; }
3636

3737
@media print {
3838
html { font-size: 10pt; }
39-
* /deep/ pre, * /deep/ code { font-size: 8pt; }
39+
* /deep/ code { font-size: 80%; }
4040
/* Note that only Prince generates clickable links. */
4141
* /deep/ a[href] { text-decoration:none; }
4242
}
4343

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+
}
4649

4750
cxx-docnum { string-set: docnum content(); }
4851

@@ -74,29 +77,30 @@ p:first-child, ul, ol {margin-top: 0}
7477
del {text-decoration: line-through; color: #8B0040;}
7578
ins {text-decoration: underline; color: #005100;}
7679

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-
8280
pre {
8381
margin-left: 1em;
8482
margin-top: .5em;
8583
margin-bottom: .5em;
8684
}
87-
pre > code { display: inline-block; }
8885

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+
}
9699
}
97-
ul li:before {
98-
content: "\2014";
99-
position: absolute; left: 10px;
100+
@media print {
101+
ul li::marker {
102+
content: "\2014";
103+
}
100104
}
101105

102106
/* This is here rather than inside elements/toc.html because browsers

0 commit comments

Comments
 (0)