diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2020-01-31 14:29:17 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2020-01-31 14:29:17 +0000 |
| commit | 0ef64a9fd41a8edbfc35935d2b7f3f90c84200f1 (patch) | |
| tree | 2d20323211c2330bad997e4b00d25995ccc750fb | |
| parent | [WIP] Initial commit of HTML provider (diff) | |
| download | paper2remarkable-0ef64a9fd41a8edbfc35935d2b7f3f90c84200f1.tar.gz paper2remarkable-0ef64a9fd41a8edbfc35935d2b7f3f90c84200f1.zip | |
Use the actual page size of the remarkable
| -rw-r--r-- | paper2remarkable/providers/html.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paper2remarkable/providers/html.py b/paper2remarkable/providers/html.py index 6136fc9..03121a5 100644 --- a/paper2remarkable/providers/html.py +++ b/paper2remarkable/providers/html.py @@ -30,10 +30,10 @@ logger = Logger() CSS = """ @import url('https://fonts.googleapis.com/css?family=EB+Garamond|Noto+Serif&display=swap'); -@page { size: A4; margin: 1in; } +@page { size: 702px 936px; margin: 1in; } a { color: black; } img { display: block; margin: 0 auto; text-align: center; max-width: 70%; max-height: 300px; } -p { font-size: 11pt; font-family: 'EB Garamond'; hyphens: auto; text-align: justify; } +p { font-size: 10pt; font-family: 'EB Garamond'; hyphens: auto; text-align: justify; } h1,h2,h3 { font-family: 'Noto Serif'; } h1 { font-size: 26px; } h2 { font-size: 18px; } |
