Skip to content

Commit

Permalink
theme: remove runtime styles from print #111
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Oct 7, 2021
1 parent 0ca4005 commit e6e946b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions static/css/print.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,16 @@ pre {
display: none;
}

#body h1, #body h2, #body h3, #body h4, #body h5, #body h6,
#body h1, #body h2, #body h3, #body h4, #body h5, #body h6 {
/* better contrast for colored elements */
color: black !important;
}
#body th, #body td,
#body code, #body strong, #body b,
#body li, #body dd, #body dt,
#body p,
#body .anchor,
#body a{
#body a {
/* better contrast for colored elements */
color: black;
}
Expand Down Expand Up @@ -99,4 +102,8 @@ hr{
}
#head-tags {
display: none;
}
mark {
background: inherit;
color: inherit;
}

0 comments on commit e6e946b

Please sign in to comment.