From 2e95a6be2554849129935ccb2d73a598c208debb Mon Sep 17 00:00:00 2001 From: RemRem Date: Sat, 4 Feb 2023 00:35:04 +0100 Subject: [PATCH] add margin for better display --- styles/card.css | 3 +-- views/cards.html | 20 +++++++++----------- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/styles/card.css b/styles/card.css index 3e0d00d..43932f4 100644 --- a/styles/card.css +++ b/styles/card.css @@ -6,6 +6,7 @@ height: 10rem; width: 20rem; padding: 3em; + margin: 1.7rem; /* for better display */ border: 0.3em solid black; border-radius: 2em; background-color: white; @@ -13,8 +14,6 @@ .item { margin: 1rem; - /* height: calc(10rem - 6em); - width: calc(20rem - 6em); */ } #main { diff --git a/views/cards.html b/views/cards.html index 351e787..2dc5a14 100644 --- a/views/cards.html +++ b/views/cards.html @@ -77,7 +77,7 @@ - + @@ -105,8 +105,8 @@
- - + + @@ -115,24 +115,22 @@ - - + +
- - + + - - + + -
-