aboutsummaryrefslogtreecommitdiff
path: root/src/layouts/Layout.astro
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2026-01-22 01:06:18 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2026-01-22 01:06:18 +0100
commit3f33d93e853095f36f9e31b21d897f6bae2d20e8 (patch)
tree73580b406b06df596d23326e2929e3ef6250958d /src/layouts/Layout.astro
parente98abc570c82eaba1719a8fe231d012289c5e462 (diff)
Estilo más retro
Diffstat (limited to 'src/layouts/Layout.astro')
-rw-r--r--src/layouts/Layout.astro25
1 files changed, 11 insertions, 14 deletions
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 9e432bb..f484ce8 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -52,6 +52,7 @@ const { title, description, empty } = Astro.props;
<main id="main">
<slot />
</main>
+ <div class="spacer" />
{empty ? null : <Footer />}
</body>
</html>
@@ -118,10 +119,6 @@ const { title, description, empty } = Astro.props;
line-height: 1.6;
}
- a {
- color: $accent;
- }
-
a.external::after {
content: "↗";
font-family: monospace;
@@ -158,13 +155,12 @@ const { title, description, empty } = Astro.props;
max-width: min(900px, 95vw);
width: 100%;
- font-size: 1.1rem;
+ font-size: 1.05rem;
- padding: 2.5rem;
+ padding: 0 1rem 1rem;
background: #ffffff;
border: 1px solid #b4c7e7;
- border-radius: 12px;
- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), inset 0 1px 0 #fff;
+ border-radius: 2px;
p > code {
word-break: break-word;
@@ -199,21 +195,22 @@ const { title, description, empty } = Astro.props;
}
}
- main a {
- color: $accentDark;
+ .spacer {
+ flex: 1 0;
}
- footer a {
- color: $accentLight;
+ main a {
+ color: blue;
}
main a,
footer a {
text-decoration: none;
- box-shadow: 0 1px $accent;
+ box-shadow: 0 1px currentColor;
+ padding-block-end: 0.07em; // Para que el shadow no toque las "g" o "y"
&:hover {
- box-shadow: 0 2px $accentDark;
+ box-shadow: 0 2px currentColor;
}
&:focus {