From 9b46e3bc6a73524594915ccfdbdc46f71b8a859e Mon Sep 17 00:00:00 2001 From: borjarobert Date: Wed, 2 Jun 2021 12:56:30 +0200 Subject: [PATCH] =?UTF-8?q?m=C3=A1s=20cosas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.css | 1 + src/lib/Asesoramiento.svelte | 81 ++++++++++++++++++++++++++++++++++++ src/lib/Highlights.svelte | 9 ++-- src/lib/Slider.svelte | 6 +-- src/routes/index.svelte | 4 ++ 5 files changed, 94 insertions(+), 7 deletions(-) create mode 100644 src/lib/Asesoramiento.svelte diff --git a/src/app.css b/src/app.css index a1e1f73..9fd82ef 100644 --- a/src/app.css +++ b/src/app.css @@ -1,4 +1,5 @@ @import '@fontsource/fira-mono'; +@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&display=swap'); * { margin: 0; diff --git a/src/lib/Asesoramiento.svelte b/src/lib/Asesoramiento.svelte new file mode 100644 index 0000000..2669248 --- /dev/null +++ b/src/lib/Asesoramiento.svelte @@ -0,0 +1,81 @@ + +
+
+
    +
  • ¿Cómo evito el encarnizamiento terapéutico?
  • +
  • ¿Cómo hago un testamento vital?
  • +
  • ¿Cómo pido ayuda para morir?
  • + +
+
+
+

Si tienes dudas sobre qué derechos sanitarios te amparan al final de la vida:

+

Escribe a informacion@derechoamorir.org
o llama al 91-369-17-46

+
+
+ + \ No newline at end of file diff --git a/src/lib/Highlights.svelte b/src/lib/Highlights.svelte index d465f8e..c0da476 100644 --- a/src/lib/Highlights.svelte +++ b/src/lib/Highlights.svelte @@ -60,9 +60,10 @@ } .container { display: grid; - grid-template-columns: 4fr 3fr 2fr; + grid-template-columns: 1fr 1fr 1fr; grid-gap: 1rem; min-height: 150px; + margin-bottom: 2rem; } .highlight { @@ -76,7 +77,7 @@ .highlight picture { position: absolute; bottom: 0; - right: 0; + right: 50%; z-index: 0; width: 100%; opacity: 30%; @@ -105,10 +106,10 @@ } .eutanasia .card { - background: linear-gradient(120deg, #006e7fcc 0%, #006e7fff 100%); + background: linear-gradient(120deg, #006e7f11 0%, #006e7fff 100%); } .testamento-vital .card { - background: linear-gradient(120deg, #e08115cc 0%, #e08115 100%); + background: linear-gradient(120deg, #e0811511 0%, #e08115 100%); } .asociate .card { diff --git a/src/lib/Slider.svelte b/src/lib/Slider.svelte index a29f851..2e91471 100644 --- a/src/lib/Slider.svelte +++ b/src/lib/Slider.svelte @@ -5,9 +5,9 @@
- - - Globos de colores + + + Globos de colores
diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 33ee684..99fb5f7 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -7,6 +7,7 @@ import Footer from "$lib/Footer.svelte"; import Slider from '$lib/Slider.svelte' import Highlights from '$lib/Highlights.svelte' import News from "$lib/News.svelte"; +import Asesoramiento from "$lib/Asesoramiento.svelte"; @@ -20,6 +21,9 @@ import News from "$lib/News.svelte";
+ + +