From fd35a23247e2fdd5aff379aa06fcd445d32f63dd Mon Sep 17 00:00:00 2001 From: CrawKatt Date: Sun, 2 Jul 2023 13:19:23 -0400 Subject: [PATCH] =?utf8?q?He=20cambiado=20la=20posici=C3=B3n=20de=20la=20s?= =?utf8?q?alamandra=20al=20centro=20en=20el=20index.html=20y=20he=20a?= =?utf8?q?=C3=B1adido=20una=20clase=20nueva=20para=20modificar=20el=20inde?= =?utf8?q?x.html=20adem=C3=A1s=20de=20cambiar=20el=20color=20del=20fondo?= =?utf8?q?=20en=20el=20index.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- themes/droda/assets/css/main.css | 11 ++++++++++- themes/droda/layouts/index.html | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/themes/droda/assets/css/main.css b/themes/droda/assets/css/main.css index f11ec18..e8f32da 100644 --- a/themes/droda/assets/css/main.css +++ b/themes/droda/assets/css/main.css @@ -74,7 +74,7 @@ body { display: grid; grid-template-columns: 1fr; grid-template-rows: 5rem 1fr 5rem; - grid-template-areas: /* No mostramos el aside en móbiles */ + grid-template-areas: /* No mostramos el aside en móviles */ "navbar" "main" "footer"; @@ -310,6 +310,15 @@ footer { margin: 0 auto; } +.index { + background-color: #242424; + background-image: url('../images/salamandra_margin.svg'); + background-position-x: center; + background-position-y: 2rem; + background-repeat: no-repeat; + background-size: 10rem; +} + @media screen and (max-width: 480px) { body { min-width: 25rem; diff --git a/themes/droda/layouts/index.html b/themes/droda/layouts/index.html index 3fe3fd7..e9a6b9b 100644 --- a/themes/droda/layouts/index.html +++ b/themes/droda/layouts/index.html @@ -1,5 +1,5 @@ {{ define "main" }} -
+

{{ .Content }}

-- 2.25.1