diff --git a/src/globals.css b/src/globals.css index 0b9a376..5c0b5dd 100644 --- a/src/globals.css +++ b/src/globals.css @@ -55,10 +55,16 @@ iframe { } footer { - background: #FFCE9A; + background: #ffce9a; } .sec { @apply sticky top-0; background: var(--background); } + +@media only screen and (min-width: 768px) { + .sec { + position: relative; + } +} diff --git a/src/layouts/section.astro b/src/layouts/section.astro index b69c8d7..b856828 100644 --- a/src/layouts/section.astro +++ b/src/layouts/section.astro @@ -51,7 +51,7 @@ const { image && ( ) diff --git a/src/sections/Community.astro b/src/sections/Community.astro index 9c6c5ff..f78c62c 100644 --- a/src/sections/Community.astro +++ b/src/sections/Community.astro @@ -40,12 +40,12 @@ const prebuiltData = await readTOMLFiles("proyectos-comunitarios/proyectos"); @@ -77,7 +77,8 @@ const prebuiltData = await readTOMLFiles("proyectos-comunitarios/proyectos"); allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts" - > + class="md:w-[50vw] h-[60vh]" + > @@ -89,7 +90,7 @@ const prebuiltData = await readTOMLFiles("proyectos-comunitarios/proyectos"); h-[30vh] inline-flex flex-nowrap overflow-hidden -[mask-image:_linear-gradient(to_right,transparent_0,_black_32px,_black_calc(100%-32px),transparent_100%)]" +[mask-image:_linear-gradient(to_right,transparent_0,_black_32px,_black_calc(100%-32px),transparent_100%)] md:h-[40vh]" >
{project.name.join(" ")}
-{project.description}
+{project.name.join(" ")}
+{project.description}