From 388c71936ac557067fe60439193268d0a12af070 Mon Sep 17 00:00:00 2001 From: suzan Date: Tue, 21 Mar 2023 17:19:06 +0300 Subject: [PATCH 1/3] styled the card --- carddeck1/stylesheet.css | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/carddeck1/stylesheet.css b/carddeck1/stylesheet.css index 4c96152..b813c0e 100644 --- a/carddeck1/stylesheet.css +++ b/carddeck1/stylesheet.css @@ -1,7 +1,7 @@ .card { - width: 8.5cm; - height: 13.5cm; + width: 7.5cm; + height: 11.5cm; border: solid 3px black; border-radius: 10px; float: left; @@ -9,10 +9,10 @@ margin: 2mm; } .card > p.image > img { - width: 8.5cm; - height: 12cm; + width: 7.5cm; + height: 10.6cm; position: absolute; - top: 15mm; + top: 10mm; border-radius: 10px; } .card > h2{ @@ -20,8 +20,9 @@ left: 5mm; margin: 0; text-align: center; - padding-top: 5mm; - font-size: 9; + padding-top: 3mm; + font-size: 15px; + font-family:monospace; } .card > p.text { width: 50mm; From 7d8307e649e3ad51fc16131d59bf24148d3f2ee6 Mon Sep 17 00:00:00 2001 From: aglaia Date: Tue, 21 Mar 2023 15:28:10 +0100 Subject: [PATCH 2/3] try --- carddeck1/cards.json | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/carddeck1/cards.json b/carddeck1/cards.json index 5b511bc..6453803 100644 --- a/carddeck1/cards.json +++ b/carddeck1/cards.json @@ -1,57 +1,57 @@ { "cards" : [{ - "name" : "body", + "name" : "", "text" : "Some text of this card", - "image": "4.jpg" + "image": "1.jpg" }, { - "name" : "body", + "name" : "", "text" : "Some text of this card", - "image": "4.jpg" + "image": "2.jpg" }, { - "name" : "body", + "name" : "", "text" : "Some text of this card", - "image": "4.jpg" + "image": "3.jpg" }, { - "name" : "body", + "name" : "", "text" : "Some text of this card", - "image": "4.jpg" + "image": "5.jpg" }, { - "name" : "body", + "name" : "", "text" : "Some text of this card", - "image": "4.jpg" + "image": "6.jpg" }, { - "name" : "body", + "name" : "", "text" : "Some text of this card", - "image": "4.jpg" + "image": "8.jpg" }, { - "name" : "body", + "name" : "", "text" : "Some text of this card", "image": "4.jpg" }, { - "name" : "body", + "name" : "", "text" : "Some text of this card", "image": "4.jpg" }, { - "name" : "body", + "name" : "", "text" : "Some text of this card", "image": "4.jpg" }, { - "name" : "body", + "name" : "", "text" : "Some text of this card", "image": "4.jpg" }, { "name" : "", - "text" : "been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem lorem lorem lorem", + "text" : "", "image": "" }, ] From 5ee1ec204bb4d6a3bea5bb7b65903d674e68078b Mon Sep 17 00:00:00 2001 From: suzan Date: Tue, 21 Mar 2023 17:35:13 +0300 Subject: [PATCH 3/3] title --- carddeck1/cards.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/carddeck1/cards.html b/carddeck1/cards.html index 8c03b4a..edbde4f 100644 --- a/carddeck1/cards.html +++ b/carddeck1/cards.html @@ -7,7 +7,7 @@ -

cards

+

Fiction Friction