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.

43 lines
716 B
CSS

2 years ago
.card
{
width: 70mm;
height: 95mm;
2 years ago
border: solid 1px black;
border-radius: 10px;
box-shadow: 5px 5px 0px gray;
float: left;
margin: 2mm;
position: relative;
}
.card > p.image > img {
width: 50mm;
height: 50mm;
2 years ago
position: absolute;
top: 30mm;
left: 10mm;
2 years ago
}
.card > h2{
top: 5mm;
left: 5mm;
margin: 0;
text-align: center;
padding-top: 5mm;
2 years ago
}
.card > p.text {
width: 50mm;
height: 50mm;
position: absolute;
top: 15mm;
left: 10mm;
text-align: center;
}
.card > p.textnoimage {
width: 60mm;
height: 85mm;
position: absolute;
top: 5mm;
left: 5mm;
right: 5mm;
text-align: center;
font-size: 8;
}