Skip to content

Commit

Permalink
make the ToC black (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra authored Mar 27, 2024
1 parent 20d56e7 commit e027e82
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
14 changes: 12 additions & 2 deletions css/print.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
font-family: Arial;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
background: #fff;
color: #000;
Expand Down Expand Up @@ -50,6 +50,11 @@ emu-figure img {
max-width: none;
}

#toc a,
#toc var {
color: #000;
}

#toc a[href] {
background: #fff;
padding-right: 0.5em;
Expand Down Expand Up @@ -78,6 +83,10 @@ emu-figure img {
display: none;
}

#toc > ol > li {
margin-top: 1ex;
}

#toc,
#spec-container > emu-intro,
#spec-container > emu-annex {
Expand All @@ -102,7 +111,8 @@ emu-table th,
emu-table td,
emu-alg li,
pre,
h1 {
h1,
#metadata-block {
break-inside: avoid;
}

Expand Down
14 changes: 12 additions & 2 deletions test/baselines/generated-reference/assets-inline.html
Original file line number Diff line number Diff line change
Expand Up @@ -2985,7 +2985,7 @@
}
</style><style>@media print {
body {
font-family: Arial;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
background: #fff;
color: #000;
Expand Down Expand Up @@ -3036,6 +3036,11 @@
max-width: none;
}
#toc a,
#toc var {
color: #000;
}
#toc a[href] {
background: #fff;
padding-right: 0.5em;
Expand Down Expand Up @@ -3064,6 +3069,10 @@
display: none;
}
#toc > ol > li {
margin-top: 1ex;
}
#toc,
#spec-container > emu-intro,
#spec-container > emu-annex {
Expand All @@ -3088,7 +3097,8 @@
emu-table td,
emu-alg li,
pre,
h1 {
h1,
#metadata-block {
break-inside: avoid;
}
Expand Down

0 comments on commit e027e82

Please sign in to comment.