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.
37 lines
591 B
CSS
37 lines
591 B
CSS
.card
|
|
{
|
|
width: 10cm;
|
|
height: 10cm;
|
|
border: solid 1px black;
|
|
box-shadow: 5px 5px 0px gray;
|
|
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");
|
|
} |