PdfCSS:Tools shape practice shapes tools...: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
@page{ | @page{ | ||
size: A7; /* 74x105mm */ | size: A7; /* 74x105mm */ | ||
@bottom-center{ | |||
content: counter(page); | |||
} | |||
} | } | ||
@page:left{ | @page:left{ | ||
margin-top: 4mm; | margin-top: 4mm; | ||
margin-bottom: | margin-bottom: 10mm; | ||
margin-left: 6mm; | margin-left: 6mm; | ||
margin-right: 8mm; | margin-right: 8mm; | ||
Line 10: | Line 14: | ||
@page:right{ | @page:right{ | ||
margin-top: 4mm; | margin-top: 4mm; | ||
margin-bottom: | margin-bottom: 10mm; | ||
margin-left: 8mm; | margin-left: 8mm; | ||
margin-right: 6mm; | margin-right: 6mm; |
Revision as of 10:57, 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;
}
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;
max-width: 45mm;
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;
}