From c5ad7bd663136fe65c6977d77346c0b69b5b6a15 Mon Sep 17 00:00:00 2001 From: Borja Robert Date: Fri, 7 Oct 2022 16:13:12 +0200 Subject: [PATCH] =?UTF-8?q?la=20plantilla=20verde=20est=C3=A1=20clavada=20?= =?UTF-8?q?y=20lo=20hace=20todo=20igual=20en=20FF=20y=20Chrome?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.css | 7 +--- src/lib/preview/Preview.svelte | 1 + src/lib/templates/verde.js | 72 +++++++++++++++++----------------- 3 files changed, 38 insertions(+), 42 deletions(-) diff --git a/src/app.css b/src/app.css index a804d2c..6c2ab5c 100644 --- a/src/app.css +++ b/src/app.css @@ -3,7 +3,7 @@ box-sizing: border-box; margin: 0; padding: 0; - font-size: 16px; + font-size: 14px; font-family: 'Arial', sans-serif; } @@ -20,11 +20,6 @@ body { margin: 0; } - -p { - line-height: 1.5; -} - ul,ol { margin-left: 1rem; } diff --git a/src/lib/preview/Preview.svelte b/src/lib/preview/Preview.svelte index 76c844c..8011724 100644 --- a/src/lib/preview/Preview.svelte +++ b/src/lib/preview/Preview.svelte @@ -153,6 +153,7 @@ .orgcolab { position: absolute; top: 725px; + left: 16px; height: 7rem; overflow: hidden; display: grid; diff --git a/src/lib/templates/verde.js b/src/lib/templates/verde.js index f8576a1..23ba566 100644 --- a/src/lib/templates/verde.js +++ b/src/lib/templates/verde.js @@ -14,7 +14,7 @@ export const verde = { fontFamily: "'Alegreya Sans SC', sans-serif", lineHeight: 32, textAlign: "left", - fontWeight: 400 + fontWeight: 700 }, title: { top: 150, @@ -35,80 +35,80 @@ export const verde = { right: 16, fontSize: 24, color: "firebrick", - fontFamily: "'Helvetica', sans-serif", + fontFamily: "'Alegreya Sans SC', sans-serif", lineHeight: 32, textAlign: "center", fontWeight: 400 }, content: { - top: 480, - height: 240, + top: 470, + height: 164, left: 32, right: 320, - fontSize: 16, + fontSize: 14, color: "#222", fontFamily: "'Helvetica', sans-serif", - lineHeight: 24, + lineHeight: 18, textAlign: "left", fontWeight: 400 }, date: { - top: 625, - height: 1, - left: 18.5, - right: 4, - fontSize: 1.1, + top: 628, + height: 32, + left: 275, + right: 32, + fontSize: 18, color: "#fff", fontFamily: "sans-serif", - lineHeight: 1, + lineHeight: 32, textAlign: "center", fontWeight: 700 }, time: { - top: 647, - height: 2, - left: 18.5, - right: 5, - fontSize: 1.8, + top: 650, + height: 32, + left: 275, + right: 32, + fontSize: 32, color: "#fff", fontFamily: "sans-serif", - lineHeight: 1.5, + lineHeight: 32, textAlign: "center", fontWeight: 700 }, weekday: { - top: 600, - height: 1.5, - left: 18.5, - right: 5, - fontSize: 1.3, + top: 605, + height: 32, + left: 245, + right: 32, + fontSize: 24, color: "#fff", fontFamily: "sans-serif", - lineHeight: 1.8, + lineHeight: 32, textAlign: "center", fontWeight: 700 }, address: { - top: 625, - height: 2.8, - left: 2, - right: 20, - fontSize: 1, + top: 635, + height: 48, + left: 32, + right: 300, + fontSize: 18, color: "#91b756", fontFamily: "sans-serif", - lineHeight: 1.5, + lineHeight: 22, textAlign: "center", fontWeight: 700 }, city: { - top: 675, - height: 2, - left: 2, - right: 20, - fontSize: 1.2, + top: 690, + height: 24, + left: 32, + right: 300, + fontSize: 24, color: "#91b756", fontFamily: "sans-serif", - lineHeight: 1.5, + lineHeight: 24, textAlign: "center", fontWeight: 700 },