afino las definiciones para que no estén en muchos sitios cada vez

pull/7/head
Borja Robert 2 years ago
parent 2591b7f740
commit c105c2f523

@ -109,72 +109,11 @@
min-height: 842px; min-height: 842px;
align-self: center; align-self: center;
width: auto; width: auto;
/* background-image: url('/imagen01.png'); */
background-size: contain; background-size: contain;
position: relative; position: relative;
padding: 1rem; padding: 1rem;
} }
/* .weekday {
position: absolute;
text-transform: uppercase;
top: 600px;
left: 18.5rem;
right: 5rem;
color: white;
max-height: 2rem;
font-size: 1.3rem;
font-weight: 700;
overflow: hidden;
text-align: center;
} */
/* .date {
position: absolute;
text-transform: uppercase;
top: 625px;
left: 18.5rem;
right: 4rem;
font-size: 1.1rem;
font-weight: 700;
color: white;
max-height: 2rem;
overflow: hidden;
text-align: center;
} */
/*
.time {
position: absolute;
top: 645px;
left: 18.5rem;
right: 5rem;
font-size: 1.8rem;
color: white;
max-height: 2rem;
overflow: hidden;
text-align: center;
font-weight: 700;
} */
/* .address {
position: absolute;
display: grid;
top: 620px;
left: 2rem;
right: 20rem;
font-size: 1rem;
text-align: center;
font-weight: 700;
line-height: 1.5rem;
font-family: sans-serif;
color: firebrick;
height: 4.5rem;
overflow: hidden;
white-space: pre-wrap;
align-items: center;
justify-content: center;
} */
.imagetitle { .imagetitle {
position: absolute; position: absolute;
top: 720px; top: 720px;

@ -1,32 +1,4 @@
import { verde } from '$lib/templates/verde'; import { verde } from '$lib/templates/verde';
/** /** @type Array<import('$lib/templates/verde').Template> */
* @typedef {{
* top: number;
* height: number;
* right: number;
* left: number;
* color: string;
* fontSize: number;
* fontFamily: string;
* lineHeight: number;
}} Element
*/
/**
* @typedef {{
* name: string;
* image: string;
* heading: Element;
* title: Element;
* subtitle: Element;
* date: Element;
* time: Element;
* weekday: Element;
* content: Element;
* address: Element;
* }} Template
*/
/** @type Array<Template> */
export const templates = []; export const templates = [];
templates.push(verde); templates.push(verde);

@ -1,4 +1,3 @@
/** /**
* @typedef {{ * @typedef {{
* top: number; * top: number;

Loading…
Cancel
Save