From b89261a1b9ff284d8f88aa65a9492d92d12c0690 Mon Sep 17 00:00:00 2001 From: JohanGroGonzal112 <118022509+JohanDev112@users.noreply.github.com> Date: Wed, 6 Mar 2024 23:09:00 -0600 Subject: [PATCH] Add: Footer The footer body and its style were added. --- src/components/Footer.astro | 78 +++++++++++++++++++++++++++++ src/components/cssFooter/footer.css | 55 ++++++++++++++++++++ src/pages/index.astro | 2 + 3 files changed, 135 insertions(+) create mode 100644 src/components/Footer.astro create mode 100644 src/components/cssFooter/footer.css diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..e4fd928 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,78 @@ +--- +import "./cssFooter/footer.css" +--- + +
+ +
+
+ diff --git a/src/components/cssFooter/footer.css b/src/components/cssFooter/footer.css new file mode 100644 index 0000000..211f4e6 --- /dev/null +++ b/src/components/cssFooter/footer.css @@ -0,0 +1,55 @@ +.header-footer{ + color: #035B98; + text-align: center; + text-decoration: underline #035B98 solid; +} + +.footer-container{ + max-width: 70%; + max-height: 70%; + border: #035B98 3px solid; + border-radius: 1.5em; + margin: auto; +} + +a{ + text-decoration: underline; +} + +details > summary { + list-style-type: '⮕'; +} + +details[open] > summary { + list-style-type: '⬇'; +} + +details.styled{ + color: black; + font-size: 18px; + padding:0.7em 6em; + border: 1px solid #808080; + border-radius: 1em; + margin: 1em; + transition: all 0.4s ease-in-out; + max-height: 4em; + overflow: hidden; +} + +details[open].styled { + background-color: rgba(0,0,0,0.1); + max-height: 500px; +} + +details.styled summary{ + outline: none; + cursor: pointer; +} + +details[open].styled summary{ + padding-bottom: 1em; +} + +li{ + list-style: none; +} \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index 4c0ac3e..779297b 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -2,6 +2,7 @@ import Layout from "../layouts/Layout.astro"; import Events from "../components/Events.tsx"; import Unete from "../components/Unete.astro"; +import Footer from "../components/Footer.astro"; import "../components/cssInicio/variables.css"; import "../components/cssInicio/fondo.css"; import "../components/cssInicio/navInicio.css"; @@ -59,5 +60,6 @@ import "../components/cssInicio/contenedorBienvenida.css"; +