prism-ebook.css 497 B

1234567891011121314151617
  1. /*
  2. * Prism themes contain a ::selection selector that was being applied to <code>
  3. * blocks in PDFs.
  4. *
  5. * @See https://github.com/gaearon/gitbook-plugin-prism/issues/11
  6. */
  7. pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
  8. code[class*="language-"]::selection, code[class*="language-"] ::selection {
  9. background: none;
  10. }
  11. /*
  12. * @See https://github.com/gaearon/gitbook-plugin-prism/issues/11#issuecomment-262058733
  13. */
  14. .page .section pre code {
  15. background-color: none;
  16. }