PdfCSS:Tools shape practice shapes tools...: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
div.center{ | div.center{ | ||
break-before: always; | break-before: always; | ||
height: | height: 90%; /* hacky*/ | ||
} | } | ||
div.thumb{ | div.thumb{ |
Revision as of 10:38, 19 September 2025
@page{
size: A7;
}
@page:left{
margin: 4mm 14mm 10mm 8mm;
}
@page:right{
margin: 4mm 8mm 10mm 14mm;
}
div#cover{
break-after: always;
}
div.section{
break-before: always;
}
div#toc ul > li.tocsection-1,
div#toc span.tocnumber{
display: none;
}
h2{
}
a{
word-break: break-word;
}
/* images */
div.center{
break-before: always;
height: 90%; /* hacky*/
}
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;
}