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.
72 lines
887 B
CSS
72 lines
887 B
CSS
2 years ago
|
@page {
|
||
|
size: A3;
|
||
|
margin: 5mm;
|
||
|
}
|
||
|
|
||
|
html,
|
||
|
body {
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
* {
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
font-size: 0;
|
||
|
}
|
||
|
|
||
|
.post-it {
|
||
|
position: relative;
|
||
|
vertical-align: middle;
|
||
|
display: inline-block;
|
||
|
width: 90mm;
|
||
|
height: 90mm;
|
||
|
border: 1px solid #ddd;
|
||
|
margin: 0;
|
||
|
font-family: Arial, Helvetica, sans-serif;
|
||
|
line-height: 1.4;
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
object-fit: cover;
|
||
|
z-index: 50;
|
||
|
}
|
||
|
|
||
|
.title {
|
||
|
font-size: 18px;
|
||
|
text-align: center;
|
||
|
margin: 4mm;
|
||
|
color: #aaa;
|
||
|
}
|
||
|
|
||
|
.description {
|
||
|
display: inline-block;
|
||
|
margin: 4mm;
|
||
|
font-size: 24px;
|
||
|
}
|
||
|
|
||
|
figcaption {
|
||
|
background-color: white;
|
||
|
font-size: 18px;
|
||
|
text-align: center;
|
||
|
display: inline-block;
|
||
|
position: absolute;
|
||
|
left: 50%;
|
||
|
bottom: 4mm;
|
||
|
transform: translate(-50%, 0);
|
||
|
z-index: 100;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: #ddd;
|
||
|
font-size: 12px;
|
||
|
}
|