From f1aa5d07faf9c88f7feb8ab9b9883312a66a5daf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Sat, 7 Oct 2017 15:14:46 +0200 Subject: [PATCH] Fix printing --- docs/index.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/index.html b/docs/index.html index 2f91e7fb..2fdf9ea9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -9,6 +9,22 @@ @import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic); @import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic); + /* For print! Borrowed from https://github.com/gnab/remark/issues/50 */ + @page { + size: 1210px 681px; + margin: 0; + } + + @media print { + .remark-slide-scaler { + width: 100% !important; + height: 100% !important; + transform: scale(1) !important; + top: 0 !important; + left: 0 !important; + } + } + body { font-family: 'Droid Serif'; } h1, h2, h3 {