/usr/share/publican/book_templates/pdfmain-css.tmpl is in publican 4.2.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | [% IF bodyface -%]
@import url("[% bodyfont | uri %]-font-faces.css");
[%- END %]
[% IF monoface -%]
@import url("[% monofont | uri %]-font-faces.css");
[%- END %]
@import url("Common_Content/css/common.css");
[% IF overrides_css -%]
@import url("Common_Content/css/overrides.css");
[%- END %]
[% IF lang_css -%]
@import url("Common_Content/css/lang.css");
[%- END %]
* {
font-family: "[% bodyfont %]" !important;
}
body, h1, h2, h3, h4, h5, h6, pre, li, div, .title {
line-height: 1.3em !important;
}
body {
font-size: 11px !important;
line-height: 14px !important;
}
h1, h2, h3, h4, h5, h6, .title {
margin-top: 1.5em;
margin-bottom: 1em;
page-break-after: avoid;
}
h1 {
font-size: 17px !important;
}
h2 {
font-size: 15px !important;
}
h3 {
font-size: 13px !important;
}
h4 {
font-size: 12px !important;
}
h5 {
font-size: 11px !important;
}
h6, div.title {
font-size: 11px !important;
}
div.warning, div.note, div.important, div.tip, div.caution {
margin-top: 1.5em;
}
div.admonition_header p {
font-size: 14px;
}
div.chapter, div.part, div.appendix {
page-break-before: always;
}
div.warning, div.note, div.important, div.tip, div.caution {
page-break-inside: avoid;
}
.guibutton,
.guilabel,
.computeroutput,
.option,
.command,
.filename,
.keycap,
.classname,
.literal,
pre,
code,
.guibutton *,
.guilabel *,
.computeroutput *,
.option *,
.command *,
.filename *,
.keycap *,
.classname *,
.literal *,
pre *,
code * {
font-family:"[% monofont %]" !important;
font-size: 11px !important;
white-space: pre-wrap !important;
word-wrap: break-word;
}
code.email {
font-family: "[% bodyfont %]" !important;
}
.popper {
max-height: none;
border-bottom: none;
}
section.chapter,
section.preface,
section.part,
section.appendix {
page-break-before: always;
}
.inlinecallout, .callout, a.co, .calloutlist > dt > a {
position: relative !important;
padding: .5em !important;
}
.calloutlist > dt > a span {
padding: 0.1em !important;
}
a.co {
right: auto !important;
}
|