PdfCSS:Tools shape practice shapes tools...: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 41: | Line 41: | ||
font-size: small; | font-size: small; | ||
line-height: 1.15; | line-height: 1.15; | ||
} | |||
div.section#references a{ | |||
word-break: break-word; | |||
break-inside: avoid; | |||
} | } | ||
div#toc ul > li.tocsection-1, | div#toc ul > li.tocsection-1, | ||
Line 48: | Line 52: | ||
h2{ | h2{ | ||
margin-top: 0; | margin-top: 0; | ||
} | } | ||
/* images */ | /* images */ |
Revision as of 11:04, 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.section#references{
columns: 2 auto;
column-gap: 3mm;
column-fill: auto;
font-size: small;
line-height: 1.15;
}
div.section#references a{
word-break: break-word;
break-inside: avoid;
}
div#toc ul > li.tocsection-1,
div#toc span.tocnumber{
display: none;
}
h2{
margin-top: 0;
}
/* 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;
}