Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Option to print in color #189

Open
Sp4Rx opened this issue Jun 30, 2020 · 1 comment
Open

[Feature Request] Option to print in color #189

Sp4Rx opened this issue Jun 30, 2020 · 1 comment

Comments

@Sp4Rx
Copy link
Contributor

Sp4Rx commented Jun 30, 2020

The the page exactly in color. Currently its getting printed in back and white and the theme also gets changed a bit

@graham2071
Copy link

This comes from bootstrap.

In head.html, replace bootstrap.min.css with bootstrap.css:

  <link rel="stylesheet" href="{{ site.baseurl }}/assets/plugins/bootstrap/css/bootstrap.min.css"

Then in bootstrap.css, comment out the following lines:

@media print {

  *,
  *:before,
  *:after {
    /* color: #000 !important; */
    text-shadow: none !important;
    /* background: transparent !important; */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants