|
1915 | 1915 | margin: 0 auto;
|
1916 | 1916 | }
|
1917 | 1917 |
|
| 1918 | +#metadata-block { |
| 1919 | + margin: 4em 0; |
| 1920 | + padding: 10px; |
| 1921 | + border: 1px solid #ee8421; |
| 1922 | +} |
| 1923 | +
|
| 1924 | +#metadata-block h1 { |
| 1925 | + font-size: 1.5em; |
| 1926 | + margin-top: 0; |
| 1927 | +} |
| 1928 | +
|
| 1929 | +#metadata-block > ul { |
| 1930 | + list-style-type: none; |
| 1931 | + margin: 0; |
| 1932 | + padding: 0; |
| 1933 | +} |
| 1934 | +
|
1918 | 1935 | span[aria-hidden='true'] {
|
1919 | 1936 | font-size: 0;
|
1920 | 1937 | white-space: pre;
|
|
3253 | 3270 |
|
3254 | 3271 | #ecma-logo {
|
3255 | 3272 | background: var(--figure-background);
|
| 3273 | + width: 500px; |
3256 | 3274 | }
|
3257 | 3275 | </style><style>@media print {
|
3258 | 3276 | @font-face {
|
|
3326 | 3344 |
|
3327 | 3345 | :root {
|
3328 | 3346 | --page-number-style: decimal;
|
| 3347 | + -prince-change-line-breaks-for-pagination: yes; /* see https://www.princexml.com/doc/prince-for-books/#pagination-fine-tuning */ |
3329 | 3348 | }
|
3330 | 3349 |
|
3331 | 3350 | @page {
|
|
3334 | 3353 | margin-bottom: 20mm;
|
3335 | 3354 | margin-inside: 19mm;
|
3336 | 3355 | margin-outside: 13mm;
|
3337 |
| - -prince-page-fill: prefer-fill; |
| 3356 | + -prince-page-fill: prefer-balance; /* see https://www.princexml.com/doc/prince-for-books/#the-property--prince-page-fill */ |
3338 | 3357 |
|
3339 |
| - /* Uncomment when producing WIP versions of final standards */ |
| 3358 | + /* Uncomment when producing WIP versions of final standards, see https://www.princexml.com/doc/paged/#page-regions */ |
3340 | 3359 | /*
|
3341 | 3360 | @prince-overlay {
|
3342 | 3361 | color: rgba(0,0,0,0.15);
|
3343 |
| - content: "WORK IN PROGRESS"; |
| 3362 | + content: "DRAFT"; |
3344 | 3363 | font-family: Arial;
|
3345 | 3364 | font-weight: bolder;
|
3346 |
| - font-size: 100pt; |
| 3365 | + font-size: 200pt; |
3347 | 3366 | transform: rotate(-60deg);
|
3348 | 3367 | }
|
3349 | 3368 | */
|
|
3453 | 3472 | line-height: 1.15;
|
3454 | 3473 | }
|
3455 | 3474 |
|
3456 |
| -h1, h2, h3, h4, h5, h6 { -prince-bookmark-level: none } |
| 3475 | +h1, h2, h3, h4, h5, h6 { -prince-bookmark-level: none } /* see https://www.princexml.com/doc/prince-output/#pdf-bookmarks */ |
3457 | 3476 |
|
3458 | 3477 | .copyright-notice + h1.title {
|
3459 | 3478 | break-before: recto;
|
|
3473 | 3492 | text-wrap: pretty;
|
3474 | 3493 | overflow-wrap: break-word;
|
3475 | 3494 | hyphens: auto;
|
3476 |
| - orphans: 2; |
3477 |
| - widows: 2; |
| 3495 | + orphans: 2, -prince-prefer 3; /* see https://www.princexml.com/doc/prince-for-books/#pagination-goals */ |
| 3496 | + widows: 2, -prince-prefer 3; |
3478 | 3497 | }
|
3479 | 3498 |
|
3480 | 3499 | h1 {
|
3481 | 3500 | text-wrap: balance;
|
3482 | 3501 | line-height: 1.4;
|
3483 | 3502 | }
|
3484 | 3503 |
|
| 3504 | +pre:has(> code) { |
| 3505 | + margin: 0; |
| 3506 | +} |
| 3507 | +
|
| 3508 | +p + pre:has(+ p) { |
| 3509 | + padding-top: 0; |
| 3510 | + padding-bottom: 0; |
| 3511 | +} |
| 3512 | +
|
3485 | 3513 | emu-alg {
|
3486 | 3514 | display: block; /* Can't render block elements inside inline elements. */
|
3487 | 3515 | }
|
|
3520 | 3548 | break-after: initial; /* it's okay to break after the last item in a list, even if it's also the first item in the list */
|
3521 | 3549 | }
|
3522 | 3550 |
|
| 3551 | +emu-normative-optional { |
| 3552 | + break-inside: avoid; |
| 3553 | +} |
| 3554 | +
|
3523 | 3555 | emu-normative-optional emu-clause[id] {
|
3524 | 3556 | margin-top: 0;
|
3525 | 3557 | }
|
|
3538 | 3570 | min-width: 4.5em;
|
3539 | 3571 | }
|
3540 | 3572 |
|
| 3573 | +emu-note table td { |
| 3574 | + background-color: white; |
| 3575 | +} |
| 3576 | +
|
3541 | 3577 | emu-note p,
|
3542 | 3578 | emu-table td p {
|
3543 | 3579 | text-align: left;
|
|
3566 | 3602 | }
|
3567 | 3603 |
|
3568 | 3604 | emu-clause p:first-of-type {
|
3569 |
| - margin-bottom: 0; |
3570 | 3605 | orphans: 3;
|
3571 | 3606 | }
|
3572 | 3607 |
|
|
3686 | 3721 | }
|
3687 | 3722 |
|
3688 | 3723 | caption {
|
3689 |
| - -prince-caption-page: first; |
| 3724 | + -prince-caption-page: first; /* see https://www.princexml.com/doc/css-props/#prop-prince-caption-page */ |
3690 | 3725 | }
|
3691 | 3726 |
|
3692 | 3727 | /* do not break inside of small tables */
|
|
3727 | 3762 | height: auto;
|
3728 | 3763 | }
|
3729 | 3764 |
|
| 3765 | +.attributes-tag { |
| 3766 | + break-before: avoid-page; |
| 3767 | + break-after: avoid-page; |
| 3768 | +} |
| 3769 | +
|
3730 | 3770 | #spec-container {
|
3731 | 3771 | max-width: initial;
|
3732 | 3772 | }
|
|
3822 | 3862 | border: 1px solid black;
|
3823 | 3863 | padding: 1em;
|
3824 | 3864 | page: copyright;
|
3825 |
| - page-break-before: always; |
3826 |
| - page-break-after: always; |
| 3865 | + break-before: page; |
| 3866 | + break-after: page; |
3827 | 3867 | }
|
3828 | 3868 |
|
3829 | 3869 | .secnum {
|
|
0 commit comments