PdfCSS:Tools shape practice shapes tools...: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(42 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
@page{ | @page{ | ||
size: | size: A7; /* 74x105mm */ | ||
@bottom-center{ | |||
content: counter(page); | |||
} | |||
} | } | ||
@page:left{ | @page:left{ | ||
margin: 4mm | margin-top: 4mm; | ||
margin-bottom: 10mm; | |||
margin-left: 6mm; | |||
margin-right: 8mm; | |||
} | } | ||
@page:right{ | @page:right{ | ||
margin: 4mm 8mm | margin-top: 4mm; | ||
margin-bottom: 10mm; | |||
margin-left: 8mm; | |||
margin-right: 6mm; | |||
} | |||
@page image{ | |||
@bottom-center{ | |||
content: unset; | |||
} | |||
} | |||
body{ | |||
font-family: serif; | |||
font-size: 9pt; | |||
line-height: 1.2; | |||
} | } | ||
div#cover{ | div#cover{ | ||
break-after: always; | break-after: always; | ||
} | |||
div#backcover{ | |||
break-before: always; | |||
} | } | ||
div.section{ | div.section{ | ||
break-before: always; | break-before: always; | ||
} | |||
div.section#references{ | |||
columns: 2 auto; | |||
column-gap: 3mm; | |||
column-fill: auto; | |||
font-size: 7pt; | |||
line-height: 1.15; | |||
} | |||
div.section#references p{ | |||
margin-top: 0.5em; | |||
margin-bottom: 0.5em; | |||
padding-bottom: 0.5em; | |||
border-bottom: 1px solid; | |||
} | |||
div.section[data-id="references"] a{ | |||
word-break: break-word; | |||
break-inside: avoid; | |||
font-family: monospace; | |||
font-size: 5.8pt; | |||
line-height: 1.2; | |||
color: inherit; | |||
text-decoration: none; | |||
margin-top: 0.5em; | |||
display: block; | |||
} | |||
div.section[data-id="references"] a i{ | |||
font-style: normal; | |||
} | |||
div#toc{ | |||
margin-top: -2em; | |||
} | |||
div#toc h2{ | |||
display: none; | |||
} | } | ||
div#toc ul > li.tocsection-1, | div#toc ul > li.tocsection-1, | ||
Line 19: | Line 76: | ||
} | } | ||
h2{ | h2{ | ||
margin-top: 0; | |||
} | } | ||
/* images */ | /* images */ | ||
div.center{ | div.center{ | ||
} | } | ||
div.thumb{ | div.thumb{ | ||
break-before: always; | |||
break-inside: avoid; | break-inside: avoid; | ||
max-width: | page: image; | ||
max-width: 50mm; | |||
display: block; | display: block; | ||
margin: 0 auto | margin: 0 auto; | ||
} | |||
div[data-id="toolsshapepractice"] div.thumb{ | |||
break-before: avoid; | |||
page: unset; | |||
} | } | ||
div.thumb div.thumbinner{ | div.thumb div.thumbinner{ | ||
Line 42: | Line 101: | ||
} | } | ||
div.thumbcaption{ | div.thumbcaption{ | ||
font-size: | font-size: 7.5pt; | ||
line-height: 1.1; | |||
} | } |
Latest revision as of 11:25, 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: 9pt;
line-height: 1.2;
}
div#cover{
break-after: always;
}
div#backcover{
break-before: always;
}
div.section{
break-before: always;
}
div.section#references{
columns: 2 auto;
column-gap: 3mm;
column-fill: auto;
font-size: 7pt;
line-height: 1.15;
}
div.section#references p{
margin-top: 0.5em;
margin-bottom: 0.5em;
padding-bottom: 0.5em;
border-bottom: 1px solid;
}
div.section[data-id="references"] a{
word-break: break-word;
break-inside: avoid;
font-family: monospace;
font-size: 5.8pt;
line-height: 1.2;
color: inherit;
text-decoration: none;
margin-top: 0.5em;
display: block;
}
div.section[data-id="references"] a i{
font-style: normal;
}
div#toc{
margin-top: -2em;
}
div#toc h2{
display: none;
}
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;
}
div[data-id="toolsshapepractice"] div.thumb{
break-before: avoid;
page: unset;
}
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;
}