PdfCSS:Tools shape practice shapes tools...: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 26: | Line 26: | ||
body{ | body{ | ||
font-family: serif; | font-family: serif; | ||
font-size: | font-size: 9pt; | ||
line-height: 1. | line-height: 1.2; | ||
} | } | ||
div#cover{ | div#cover{ | ||
break-after: always; | break-after: always; | ||
} | |||
div#backcover{ | |||
break-before: always; | |||
} | } | ||
div.section{ | div.section{ | ||
Line 39: | Line 42: | ||
column-gap: 3mm; | column-gap: 3mm; | ||
column-fill: auto; | column-fill: auto; | ||
font-size: | font-size: 7pt; | ||
line-height: 1.15; | 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{ | div.section[data-id="references"] a{ | ||
Line 46: | Line 55: | ||
break-inside: avoid; | break-inside: avoid; | ||
font-family: monospace; | font-family: monospace; | ||
font-size: | font-size: 5.8pt; | ||
line-height: 1; | line-height: 1.2; | ||
color: inherit; | |||
text-decoration: none; | |||
margin-top: 0.5em; | |||
display: block; | |||
} | } | ||
div.section[data-id="references"] a i{ | div.section[data-id="references"] a i{ | ||
font-style: normal; | 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 68: | Line 87: | ||
max-width: 50mm; | 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{ |
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;
}