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.

52 lines
880 B
CSS

2 years ago
.card
{
2 years ago
width: 7.5cm;
height: 11.5cm;
2 years ago
border: solid 3px black;
2 years ago
border-radius: 0.5cm;
2 years ago
float: left;
position: relative;
2 years ago
margin: 1mm;
2 years ago
break-inside: avoid;
2 years ago
}
.card > p.image > img {
2 years ago
width: 7.5cm;
height: 10.6cm;
2 years ago
position: absolute;
2 years ago
top: 10mm;
2 years ago
border-radius: 10px;
z-index: -1;
2 years ago
display: none;
2 years ago
}
.card > h2{
top: 5mm;
left: 5mm;
margin: 0;
text-align: center;
2 years ago
padding-top: 3mm;
font-size: 15px;
font-family:monospace;
2 years ago
display: none;
2 years ago
}
.card > p.text {
width: 50mm;
height: 50mm;
position: absolute;
top: 15mm;
left: 10mm;
text-align: center;
2 years ago
margin: 0;
2 years ago
display: none;
}
.card > p.textnoimage {
width: 60mm;
height: 85mm;
position: absolute;
top: 5mm;
left: 5mm;
right: 5mm;
text-align: center;
2 years ago
font-size: 6.5;
display: none;
2 years ago
}