zotero-better-notes/addon/chrome/content/pdfPrinter.html

59 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
type="text/css"
href="chrome://__addonRef__/content/lib/css/github-markdown-light.min.css"
/>
<style>
@page {
margin: 25mm 20mm 25mm 20mm;
size: A4;
}
@media print {
body {
height: auto;
margin: 0;
-webkit-print-color-adjust: exact;
color-adjust: exact;
}
@page: footer {
display: none;
}
@page: header {
display: none;
}
}
.markdown-body {
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
margin: 0 auto;
padding: 0px;
}
td,
th {
word-break: break-all;
}
@media (max-width: 767px) {
.markdown-body {
padding: 15px;
}
}
</style>
<script></script>
</head>
<body>
<article class="markdown-body">
<h1>Print to PDF</h1>
<p>Waiting for data...</p>
</article>
</body>
</html>