mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Keep colors when printing
This commit is contained in:
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/application-16930d50c0.css
Normal file
1
material/assets/stylesheets/application-16930d50c0.css
Normal file
File diff suppressed because one or more lines are too long
@@ -36,7 +36,7 @@
|
|||||||
{% include "partials/fonts.html" %}
|
{% include "partials/fonts.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% 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 %}
|
{% if config.extra.palette %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0352baa348.palette.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0352baa348.palette.css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -71,6 +71,9 @@ kbd {
|
|||||||
font-size: ms(0);
|
font-size: ms(0);
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
|
|
||||||
|
// Colors should be kept when printing
|
||||||
|
-webkit-print-color-adjust: exact;
|
||||||
|
|
||||||
// Default spacing
|
// Default spacing
|
||||||
p,
|
p,
|
||||||
ul,
|
ul,
|
||||||
|
|||||||
@@ -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
|
// accidentally also copying the line numbers
|
||||||
.linenos {
|
.linenos {
|
||||||
background-color: $md-color-black--lightest;
|
background-color: $md-color-black--lightest;
|
||||||
|
|||||||
Reference in New Issue
Block a user