From 93d2c943edf88737d7e4bd962c996466a6e5616d Mon Sep 17 00:00:00 2001 From: RemRem Date: Fri, 3 Feb 2023 18:48:25 +0100 Subject: [PATCH] change color + add main div + flex wrap -> better display --- styles/card.css | 6 ++ views/cards.html | 172 ++++++++++++++++++++++++----------------------- 2 files changed, 93 insertions(+), 85 deletions(-) diff --git a/styles/card.css b/styles/card.css index 000885e..3e0d00d 100644 --- a/styles/card.css +++ b/styles/card.css @@ -15,4 +15,10 @@ margin: 1rem; /* height: calc(10rem - 6em); width: calc(20rem - 6em); */ +} + +#main { + display: flex; + flex-direction: row; + flex-wrap: wrap; } \ No newline at end of file diff --git a/views/cards.html b/views/cards.html index b4f2f82..351e787 100644 --- a/views/cards.html +++ b/views/cards.html @@ -51,91 +51,93 @@ -
- - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - -
- -
- - - - - - - - - -
- -
- - - - +
+
+ + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + +
+ +
+ + + + + + + + + +
+ +
+ + + + +