1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 01:50:52 +01:00

Improved print preview

This commit is contained in:
squidfunk 2020-08-01 15:28:58 +02:00
parent 4b2c0e5a88
commit eba146d0bb
7 changed files with 13 additions and 7 deletions

View File

@ -5,8 +5,8 @@
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.82f1750e.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.01088dc6.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.01088dc6.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.dc10171a.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.dc10171a.min.css.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.6d8ac7ac.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.6d8ac7ac.min.css.map",
"assets/stylesheets/overrides.css": "assets/stylesheets/overrides.76317e44.min.css",
"assets/stylesheets/overrides.css.map": "assets/stylesheets/overrides.76317e44.min.css.map",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.57a52cf1.min.css",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -41,7 +41,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.dc10171a.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.6d8ac7ac.min.css' | url }}">
{% if palette.scheme or palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.57a52cf1.min.css' | url }}">
{% endif %}

View File

@ -60,6 +60,12 @@ kbd {
line-height: 1.6;
color-adjust: exact;
// We'll use a smaller font-size for printing, so code examples don't break
// too early, and 16px looks too big anyway.
@media print {
font-size: px2rem(13.6px);
}
// Default spacing
p,
ul,