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.
36 lines
559 B
CSS
36 lines
559 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: 8mm;
|
|
}
|
|
|
|
p {
|
|
position: absolute;
|
|
margin: 2mm;
|
|
width: 100%;
|
|
font-family: "Trickster";
|
|
}
|
|
|
|
p.down {
|
|
bottom:0;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Trickster";
|
|
src:
|
|
url("trickster-COLRv1.otf") format("opentype");
|
|
} |