PdfCSS:Tools shape practice shapes tools...: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
} | } | ||
div.thumb{ | div.thumb{ | ||
break-inside: avoid; | |||
max-width: 75mm; | max-width: 75mm; | ||
display: block; | display: block; | ||
Line 21: | Line 22: | ||
div.thumb img{ | div.thumb img{ | ||
max-width: 100%; | max-width: 100%; | ||
height: auto; | |||
} | } | ||
div.thumbcaption{ | div.thumbcaption{ | ||
font-size: small; | font-size: small; | ||
} | } |
Latest revision as of 11:16, 24 January 2025
@page{
size: A5;
}
@page:left{
margin: 4mm 24mm 16mm 8mm;
}
@page:right{
margin: 4mm 8mm 16mm 24mm;
}
h2{
break-before: always;
}
div.thumb{
break-inside: avoid;
max-width: 75mm;
display: block;
margin: 0 auto 1em;
}
div.thumb div.thumbinner{
width: unset !important;
}
div.thumb img{
max-width: 100%;
height: auto;
}
div.thumbcaption{
font-size: small;
}