From dc6c96831788984c0f7e7f5fa53333a3f99f9a43 Mon Sep 17 00:00:00 2001 From: schererleander Date: Tue, 15 Apr 2025 17:35:44 +0200 Subject: add grid background --- html/style.css | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'html') diff --git a/html/style.css b/html/style.css index f3cf308..83af079 100644 --- a/html/style.css +++ b/html/style.css @@ -2,8 +2,18 @@ font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; } body { - background: #EBE9DA; - max-width: 50em; + background-color: #EBE9DA; + background-size: 20px 20px; + background-image: + linear-gradient(to right, rgba(0, 0, 0, 0.1) 1px, transparent 1px), + linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px); + margin: 0 auto; + padding: 2rem; + max-width: 900px; +} + +img { + display: block; + border-radius: 0.5rem; margin: 0 auto; - padding: 1.25em; } -- cgit v1.3.1