You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
730 B
CSS
44 lines
730 B
CSS
.card
|
|
{
|
|
width: 8.5cm;
|
|
height: 13.5cm;
|
|
border: solid 3px black;
|
|
border-radius: 10px;
|
|
float: left;
|
|
position: relative;
|
|
margin: 2mm;
|
|
}
|
|
.card > p.image > img {
|
|
width: 8.5cm;
|
|
height: 12cm;
|
|
position: absolute;
|
|
top: 15mm;
|
|
border-radius: 10px;
|
|
}
|
|
.card > h2{
|
|
top: 5mm;
|
|
left: 5mm;
|
|
margin: 0;
|
|
text-align: center;
|
|
padding-top: 5mm;
|
|
font-size: 9;
|
|
}
|
|
.card > p.text {
|
|
width: 50mm;
|
|
height: 50mm;
|
|
position: absolute;
|
|
top: 15mm;
|
|
left: 10mm;
|
|
text-align: center;
|
|
margin: 0;
|
|
}
|
|
.card > p.textnoimage {
|
|
width: 60mm;
|
|
height: 85mm;
|
|
position: absolute;
|
|
top: 5mm;
|
|
left: 5mm;
|
|
right: 5mm;
|
|
text-align: center;
|
|
font-size: 6.5;
|
|
} |