From 73e0fbb0837d2d435ea1ed0fc08de5f1881c2767 Mon Sep 17 00:00:00 2001 From: Marcus Weiner Date: Sat, 8 Jun 2024 19:03:18 +0200 Subject: [PATCH] Style main content --- layouts/base.njk | 6 +++++- layouts/style.css | 12 +++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/layouts/base.njk b/layouts/base.njk index 8029a8d..b4f9134 100644 --- a/layouts/base.njk +++ b/layouts/base.njk @@ -29,6 +29,10 @@ - {{ content | safe }} +
+
+ {{ content | safe }} +
+
\ No newline at end of file diff --git a/layouts/style.css b/layouts/style.css index ff56f2e..07db532 100644 --- a/layouts/style.css +++ b/layouts/style.css @@ -4,9 +4,11 @@ body { justify-content: center; align-items: center; flex-direction: column; - height: 98vh; - background-color: white; - background-image: radial-gradient(rgb(189, 189, 189) 1px, white 1px); - background-size: 20px 20px; - font-weight: 100; + background: #fff; + color: #1f1f1f; +} + +main { + max-width: 600px; + padding: 2rem; }