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.
58 lines
1.0 KiB
CSS
58 lines
1.0 KiB
CSS
@font-face {
|
|
font-family: Consolation;
|
|
src: url(./font/Consolation014.woff) format('woff');
|
|
font-weight:normal;
|
|
}
|
|
body {
|
|
font-family: Consolation;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1.5;
|
|
}
|
|
.card
|
|
{
|
|
width: 7.5cm;
|
|
height: 11.5cm;
|
|
border: solid 3px black;
|
|
border-radius: 0.5cm;
|
|
float: left;
|
|
position: relative;
|
|
margin: 1mm;
|
|
break-inside: avoid;
|
|
}
|
|
.card > p.image > img {
|
|
width: 7.5cm;
|
|
height: 10.6cm;
|
|
position: absolute;
|
|
top: 10mm;
|
|
border-radius: 10px;
|
|
z-index: -1;
|
|
}
|
|
.card > h2{
|
|
top: 5mm;
|
|
left: 5mm;
|
|
margin: 0;
|
|
text-align: center;
|
|
padding-top: 3mm;
|
|
font-size: 15px;
|
|
font-family:monospace;
|
|
}
|
|
.card > p.text {
|
|
width: 50mm;
|
|
height: 50mm;
|
|
position: absolute;
|
|
top: 15mm;
|
|
left: 10mm;
|
|
text-align: center;
|
|
margin: 0;
|
|
}
|
|
.card > p.textnoimage {
|
|
width: 60mm;
|
|
height: 85mm;
|
|
position: absolute;
|
|
top: 5mm;
|
|
left: 5mm;
|
|
right: 5mm;
|
|
text-align: center;
|
|
font-size: 6.5;
|
|
}
|