diff --git a/css/main.css b/css/main.css index e81d105..496abf1 100644 --- a/css/main.css +++ b/css/main.css @@ -67,6 +67,12 @@ left: 0; width: 100%; border: none; + /* @page tiene margin: 0 (ver más abajo), así que sin esto el contenido + llegaría hasta el borde físico de la hoja. Se pone aquí (como + padding del propio contenido) en vez de en @page porque el soporte + de "margin" en @page es más inconsistente entre navegadores. */ + padding: 2cm; + box-sizing: border-box; } #preview-title { diff --git a/index.html b/index.html index 73ca69c..520b059 100644 --- a/index.html +++ b/index.html @@ -8,9 +8,9 @@ - + @@ -30,11 +30,20 @@ - + + +
+