styled the card

main
suzan 2 years ago
parent b365600add
commit 388c71936a

@ -1,7 +1,7 @@
.card .card
{ {
width: 8.5cm; width: 7.5cm;
height: 13.5cm; height: 11.5cm;
border: solid 3px black; border: solid 3px black;
border-radius: 10px; border-radius: 10px;
float: left; float: left;
@ -9,10 +9,10 @@
margin: 2mm; margin: 2mm;
} }
.card > p.image > img { .card > p.image > img {
width: 8.5cm; width: 7.5cm;
height: 12cm; height: 10.6cm;
position: absolute; position: absolute;
top: 15mm; top: 10mm;
border-radius: 10px; border-radius: 10px;
} }
.card > h2{ .card > h2{
@ -20,8 +20,9 @@
left: 5mm; left: 5mm;
margin: 0; margin: 0;
text-align: center; text-align: center;
padding-top: 5mm; padding-top: 3mm;
font-size: 9; font-size: 15px;
font-family:monospace;
} }
.card > p.text { .card > p.text {
width: 50mm; width: 50mm;

Loading…
Cancel
Save