PdfCSS:Tools shape practice shapes tools...: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
/* images */ | /* images */ | ||
div.center{ | div.center{ | ||
} | |||
div.thumb{ | |||
break-before: always; | break-before: always; | ||
break-inside: avoid; | |||
height: 90%; /* hacky*/ | height: 90%; /* hacky*/ | ||
background-color: yellow; | background-color: yellow; | ||
max-width: 75mm; | max-width: 75mm; | ||
display: block; | display: block; |
Revision as of 10:39, 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{
}
div.thumb{
break-before: always;
break-inside: avoid;
height: 90%; /* hacky*/
background-color: yellow;
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;
}