From 388c71936ac557067fe60439193268d0a12af070 Mon Sep 17 00:00:00 2001 From: suzan Date: Tue, 21 Mar 2023 17:19:06 +0300 Subject: [PATCH] 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;