From 1f08b17265b899c35b12d61fdf865783a0a26917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondr=CC=8Cej=20Ny=CC=81vlt?= Date: Thu, 14 Sep 2023 12:45:58 +0200 Subject: [PATCH] WIP --- src/layouts/Layout.astro | 4 ++-- src/pages/index.astro | 30 ++++++++++++++++++------------ 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 64d1704..be1cadd 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -7,7 +7,7 @@ const { title } = Astro.props; --- - + @@ -98,7 +98,7 @@ const { title } = Astro.props; } body { - font-size: clamp(1.5rem, 4vw, 2rem); + font-size: clamp(1.5rem, 4vw, 1.75rem); font-family: "Ysabeau", sans-serif; line-height: 1.4; background-color: var(--gray-1); diff --git a/src/pages/index.astro b/src/pages/index.astro index a761ee5..1f34ee5 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -13,28 +13,27 @@ import Layout from "../layouts/Layout.astro";

-

- I do mainly web development. While I do so, I try to stay as close to the web platform as possible, - without the heavy tooling and hype of JavaScript frameworks. - I’m an advocate of hypermedia-driven applications. - I like a good typography. I experiment with computational typesetting and Pollen for my school theses. - I contribute to open-source projects at nolog.cz, activist IT collective - which provides privacy-focused infrastructure to social movements (You should consider donating to them). - +

@@ -45,7 +44,8 @@ import Layout from "../layouts/Layout.astro"; .container { max-width: 50rem; padding: 1rem; - margin: 4rem auto 0; + margin: 3rem auto; + word-wrap: break-word; } .header { @@ -57,6 +57,12 @@ import Layout from "../layouts/Layout.astro"; } } + .about { + li { + margin-bottom: 1rem; + } + } + .nav h2 { display: inline; margin-right: 0.75rem;