PdfCSS:Tools shape practice shapes tools...: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 52: | Line 52: | ||
break-inside: avoid; | break-inside: avoid; | ||
page: image; | page: image; | ||
max-width: | max-width: 50mm; | ||
display: block; | display: block; | ||
margin: 0 auto 1em; | margin: 0 auto 1em; | ||
Line 64: | Line 64: | ||
} | } | ||
div.thumbcaption{ | div.thumbcaption{ | ||
font-size: | font-size: 7.5pt; | ||
line-height: 1.1; | line-height: 1.1; | ||
} | } |
Revision as of 11:01, 19 September 2025
@page{
size: A7; /* 74x105mm */
@bottom-center{
content: counter(page);
}
}
@page:left{
margin-top: 4mm;
margin-bottom: 10mm;
margin-left: 6mm;
margin-right: 8mm;
}
@page:right{
margin-top: 4mm;
margin-bottom: 10mm;
margin-left: 8mm;
margin-right: 6mm;
}
@page image{
@bottom-center{
content: unset;
}
}
body{
font-family: serif;
font-size: 10.5pt;
line-height: 1.25;
}
div#cover{
break-after: always;
}
div.section{
break-before: always;
}
div#toc ul > li.tocsection-1,
div#toc span.tocnumber{
display: none;
}
h2{
margin-top: 0;
}
a{
word-break: break-word;
}
/* images */
div.center{
}
div.thumb{
break-before: always;
break-inside: avoid;
page: image;
max-width: 50mm;
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: 7.5pt;
line-height: 1.1;
}