Keep colors when printing

This commit is contained in:
squidfunk 2017-01-06 18:57:43 +01:00
parent 4d4e869f02
commit 41121cf582
5 changed files with 6 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -36,7 +36,7 @@
{% include "partials/fonts.html" %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0d18cb003b.css">
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-16930d50c0.css">
{% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0352baa348.palette.css">
{% endif %}

View File

@ -71,6 +71,9 @@ kbd {
font-size: ms(0);
line-height: 1.6;
// Colors should be kept when printing
-webkit-print-color-adjust: exact;
// Default spacing
p,
ul,

View File

@ -296,7 +296,7 @@ $codehilite-whitespace: transparent;
}
}
// Disable pointer-events, so code can be easily copied without
// Disable user selection, so code can be easily copied without
// accidentally also copying the line numbers
.linenos {
background-color: $md-color-black--lightest;