From 27153476429c4a85630dedcf940a50089ea02151 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 4 Feb 2024 00:09:03 -0500 Subject: Made card more consistent; Guestbook submits; Web analytics --- src/styles/cards.css | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src/styles/cards.css') diff --git a/src/styles/cards.css b/src/styles/cards.css index 192335d..67a618c 100644 --- a/src/styles/cards.css +++ b/src/styles/cards.css @@ -1,9 +1,18 @@ -h1 { +.card h1 { margin-top: 2px; margin-bottom: 2px; } -article { +.card h2 { + margin-top: 2px; +} + +.card p { + margin-top: 0.5em; + margin-bottom: 0.5em; +} + +.card { background-color: #3B513B; padding: 1.2em; border-radius: 20px; @@ -11,7 +20,7 @@ article { margin: 0.5em; } -main { +.grid { display: grid; grid-template-columns: repeat(2, 1fr); } -- cgit v1.2.3