PdfCSS:Tools shape practice shapes tools...: Difference between revisions

From creative crowd wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
h2{
h2{
     break-before: always;
     break-before: always;
}
a{
    word-break: break-word;
}
}
div.thumb{
div.thumb{

Revision as of 10:08, 19 September 2025

@page{
    size: A5;
}
@page:left{
    margin: 4mm 24mm 16mm 8mm;
}
@page:right{
    margin: 4mm 8mm 16mm 24mm;    
}
div#cover{
    break-after: always;
}
div.section{
    border-top: 3px solid green;
}
h2{
    break-before: always;
}
a{
    word-break: break-word;
}
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;
}