añade plantilla azul y hace cambios para que todo vaya centrado en su sitio

pull/16/head
Borja Robert 2 years ago
parent d802786908
commit 31e8af0a77

@ -31,9 +31,9 @@
position: absolute; position: absolute;
overflow: hidden; overflow: hidden;
display: flex; display: flex;
flex-direction: column; /* flex-direction: column; */
justify-content: center; justify-content: center;
align-items: start; align-items: center;
text-transform: uppercase; text-transform: uppercase;
} }
</style> </style>

@ -3,17 +3,18 @@ import '$lib/templates/templates'
/** @type {import('$lib/templates/templates').Template} */ /** @type {import('$lib/templates/templates').Template} */
export const azul = { export const azul = {
name: "azul", name: "azul",
description: "Azul",
image: "plantilla_azul.png", image: "plantilla_azul.png",
heading: { heading: {
top: 400, top: 415,
height: 32, height: 32,
left: 240, left: 420,
right: 8, right: 8,
fontSize: 32, fontSize: 20,
color: "white", color: "white",
fontFamily: "'Alegreya Sans SC', sans-serif", fontFamily: "'Alegreya Sans SC', sans-serif",
lineHeight: 32, lineHeight: 32,
textAlign: "right", textAlign: "left",
fontWeight: 700 fontWeight: 700
}, },
title: { title: {
@ -25,7 +26,7 @@ export const azul = {
color: "firebrick", color: "firebrick",
fontFamily: "'Alegreya Sans SC', sans-serif", fontFamily: "'Alegreya Sans SC', sans-serif",
lineHeight: 40, lineHeight: 40,
textAlign: "right", textAlign: "center",
fontWeight: 700 fontWeight: 700
}, },
@ -42,35 +43,35 @@ export const azul = {
fontWeight: 400 fontWeight: 400
}, },
content: { content: {
top: 8, top: 630,
height: 42, height: 78,
left: 8, left: 8,
right: 400, right: 8,
fontSize: 0, fontSize: 20,
color: "#fff", color: "white",
fontFamily: "sans-serif", fontFamily: "sans-serif",
lineHeight: 14, lineHeight: 21,
textAlign: "left", textAlign: "center",
fontWeight: 400 fontWeight: 400
}, },
date: { date: {
top: 40, top: 40,
height: 32, height: 32,
left: 200, left: 350,
right: 8, right: 30,
fontSize: 32, fontSize: 28,
color: "#fff", color: "#fff",
fontFamily: "'Alegreya Sans SC', sans-serif", fontFamily: "'Alegreya Sans SC', sans-serif",
lineHeight: 32, lineHeight: 25,
textAlign: "right", textAlign: "right",
fontWeight: 700 fontWeight: 700
}, },
time: { time: {
top: 72, top: 70,
height: 32, height: 32,
left: 200, left: 350,
right: 8, right: 30,
fontSize: 32, fontSize: 30,
color: "#fff", color: "#fff",
fontFamily: "sans-serif", fontFamily: "sans-serif",
lineHeight: 32, lineHeight: 32,
@ -78,11 +79,11 @@ export const azul = {
fontWeight: 700 fontWeight: 700
}, },
weekday: { weekday: {
top: 8, top: 12,
height: 32, height: 32,
left: 300, left: 350,
right: 8, right: 30,
fontSize: 32, fontSize: 20,
color: "#fff", color: "#fff",
fontFamily: "'Alegreya Sans SC', sans-serif", fontFamily: "'Alegreya Sans SC', sans-serif",
lineHeight: 32, lineHeight: 32,
@ -90,27 +91,27 @@ export const azul = {
fontWeight: 700 fontWeight: 700
}, },
address: { address: {
top: 630, top: 12,
height: 48, height: 78,
left: 8, left: 30,
right: 8, right: 350,
fontSize: 20, fontSize: 16,
color: "white", color: "white",
fontFamily: "sans-serif", fontFamily: "sans-serif",
lineHeight: 24, lineHeight: 20,
textAlign: "center", textAlign: "left",
fontWeight: 400 fontWeight: 400
}, },
city: { city: {
top: 680, top: 85,
height: 36, height: 70,
left: 8, left: 30,
right: 8, right: 410,
fontSize: 30, fontSize: 18,
color: "white", color: "white",
fontFamily: "sans-serif", fontFamily: "sans-serif",
lineHeight: 36, lineHeight: 22,
textAlign: "center", textAlign: "left",
fontWeight: 400 fontWeight: 400
}, },
} }

Loading…
Cancel
Save