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:
parent
4d4e869f02
commit
41121cf582
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" %}
|
||||
{% 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 %}
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user