- Letterhead editing - Edit Header and Footer - Margin Text - PrintFormatGenerator class handles generation of HTML and PDF and repeating of Header/Footer - Simplify /printpreview - Separate renderer files for each fieldtype
9 lines
398 B
CSS
9 lines
398 B
CSS
@charset "UTF-8";
|
|
{% if print_format.font %}
|
|
{% set font_family = print_format.font.replace(' ', '+') %}
|
|
@import url("https://fonts.googleapis.com/css?family={{ font_family }}:400,500,600,700");
|
|
{% endif %}
|
|
|
|
html, body {
|
|
font-family: {{ print_format.font or 'Inter' }}, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
}
|