From 3f33d93e853095f36f9e31b21d897f6bae2d20e8 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Thu, 22 Jan 2026 01:06:18 +0100 Subject: Estilo más retro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/HomePageLayout.astro | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) (limited to 'src/layouts/HomePageLayout.astro') diff --git a/src/layouts/HomePageLayout.astro b/src/layouts/HomePageLayout.astro index e18aeea..59c9cf6 100644 --- a/src/layouts/HomePageLayout.astro +++ b/src/layouts/HomePageLayout.astro @@ -42,7 +42,7 @@ const schema = {

Entradas recientes del blog

- + Ver todas las entradas @@ -87,31 +87,29 @@ const schema = { margin: 0 0 2rem 0; display: flex; flex-direction: column; - gap: 1rem; + gap: 0.5rem; } .blog-item { - background: $lightAlt; - padding: 1rem 1.25rem; - border-radius: 0.5rem; - time { - display: block; - font-size: 0.875rem; - color: hsl(209, 20%, 50%); + display: inline-block; + min-width: 12ch; + font-size: 0.75rem; + font-family: $monoFontStack; + color: gray; margin-bottom: 0.25rem; font-weight: 500; } a { - font-size: 1.125rem; + font-size: 1rem; font-weight: 600; text-decoration: none; - color: $accentDark; + color: blue; box-shadow: none !important; &:hover { - color: $accent; + color: orangered; box-shadow: none !important; } } @@ -119,12 +117,12 @@ const schema = { .cta-button { display: inline-block; - padding: 0.75rem 1.5rem; + padding: 0.45rem 1rem; background: $accentDark; color: white !important; text-decoration: none; - border-radius: 0.5rem; - font-weight: 600; + border-radius: 0.25rem; + font-weight: 500; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important; &:hover { @@ -133,9 +131,9 @@ const schema = { } &:focus { + background: $accent; outline: 3px solid $secondary; outline-offset: 2px; - background: $accent !important; } } -- cgit v1.3