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.

40 lines
640 B
CSS

.card
{
width: 8.5cm;
height: 8.5cm;
border: solid 1px black;
float: left;
margin: 2mm;
position: relative;
border-radius: 100%;
text-align: center;
break-inside: avoid;
}
.card > img {
width: calc(100% - 8mm - 8mm);
position: absolute;
top: 0;
left: 0;
margin: 7mm;
}
p {
position: absolute;
margin: 2mm;
width: 100%;
font-family: "Consolation";
}
p.down {
bottom:0;
}
@font-face {
font-family: 'Consolation';
src: local('Consolation'),
url('./fonts/Consolation014.woff') format('opentype');
font-weight: normal;
font-style: normal;
}