|
1912 | 1912 | margin: 0 auto;
|
1913 | 1913 | }
|
1914 | 1914 |
|
| 1915 | +#metadata-block { |
| 1916 | + margin: 4em 0; |
| 1917 | + padding: 10px; |
| 1918 | + border: 1px solid #ee8421; |
| 1919 | +} |
| 1920 | +
|
| 1921 | +#metadata-block h1 { |
| 1922 | + font-size: 1.5em; |
| 1923 | + margin-top: 0; |
| 1924 | +} |
| 1925 | +
|
| 1926 | +#metadata-block > ul { |
| 1927 | + list-style-type: none; |
| 1928 | + margin: 0; |
| 1929 | + padding: 0; |
| 1930 | +} |
| 1931 | +
|
1915 | 1932 | span[aria-hidden='true'] {
|
1916 | 1933 | font-size: 0;
|
1917 | 1934 | white-space: pre;
|
|
3250 | 3267 |
|
3251 | 3268 | #ecma-logo {
|
3252 | 3269 | background: var(--figure-background);
|
| 3270 | + width: 500px; |
3253 | 3271 | }
|
3254 | 3272 | </style><style>@media print {
|
3255 | 3273 | @font-face {
|
|
3323 | 3341 |
|
3324 | 3342 | :root {
|
3325 | 3343 | --page-number-style: decimal;
|
| 3344 | + -prince-change-line-breaks-for-pagination: yes; /* see https://www.princexml.com/doc/prince-for-books/#pagination-fine-tuning */ |
3326 | 3345 | }
|
3327 | 3346 |
|
3328 | 3347 | @page {
|
|
3331 | 3350 | margin-bottom: 20mm;
|
3332 | 3351 | margin-inside: 19mm;
|
3333 | 3352 | margin-outside: 13mm;
|
3334 |
| - -prince-page-fill: prefer-fill; |
| 3353 | + -prince-page-fill: prefer-balance; /* see https://www.princexml.com/doc/prince-for-books/#the-property--prince-page-fill */ |
3335 | 3354 |
|
3336 |
| - /* Uncomment when producing WIP versions of final standards */ |
| 3355 | + /* Uncomment when producing WIP versions of final standards, see https://www.princexml.com/doc/paged/#page-regions */ |
3337 | 3356 | /*
|
3338 | 3357 | @prince-overlay {
|
3339 | 3358 | color: rgba(0,0,0,0.15);
|
3340 |
| - content: "WORK IN PROGRESS"; |
| 3359 | + content: "DRAFT"; |
3341 | 3360 | font-family: Arial;
|
3342 | 3361 | font-weight: bolder;
|
3343 |
| - font-size: 100pt; |
| 3362 | + font-size: 200pt; |
3344 | 3363 | transform: rotate(-60deg);
|
3345 | 3364 | }
|
3346 | 3365 | */
|
|
3450 | 3469 | line-height: 1.15;
|
3451 | 3470 | }
|
3452 | 3471 |
|
3453 |
| -h1, h2, h3, h4, h5, h6 { -prince-bookmark-level: none } |
| 3472 | +h1, h2, h3, h4, h5, h6 { -prince-bookmark-level: none } /* see https://www.princexml.com/doc/prince-output/#pdf-bookmarks */ |
3454 | 3473 |
|
3455 | 3474 | .copyright-notice + h1.title {
|
3456 | 3475 | break-before: recto;
|
|
3470 | 3489 | text-wrap: pretty;
|
3471 | 3490 | overflow-wrap: break-word;
|
3472 | 3491 | hyphens: auto;
|
3473 |
| - orphans: 2; |
3474 |
| - widows: 2; |
| 3492 | + orphans: 2, -prince-prefer 3; /* see https://www.princexml.com/doc/prince-for-books/#pagination-goals */ |
| 3493 | + widows: 2, -prince-prefer 3; |
3475 | 3494 | }
|
3476 | 3495 |
|
3477 | 3496 | h1 {
|
3478 | 3497 | text-wrap: balance;
|
3479 | 3498 | line-height: 1.4;
|
3480 | 3499 | }
|
3481 | 3500 |
|
| 3501 | +pre:has(> code) { |
| 3502 | + margin: 0; |
| 3503 | +} |
| 3504 | +
|
| 3505 | +p + pre:has(+ p) { |
| 3506 | + padding-top: 0; |
| 3507 | + padding-bottom: 0; |
| 3508 | +} |
| 3509 | +
|
3482 | 3510 | emu-alg {
|
3483 | 3511 | display: block; /* Can't render block elements inside inline elements. */
|
3484 | 3512 | }
|
|
3517 | 3545 | 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 */
|
3518 | 3546 | }
|
3519 | 3547 |
|
| 3548 | +emu-normative-optional { |
| 3549 | + break-inside: avoid; |
| 3550 | +} |
| 3551 | +
|
3520 | 3552 | emu-normative-optional emu-clause[id] {
|
3521 | 3553 | margin-top: 0;
|
3522 | 3554 | }
|
|
3535 | 3567 | min-width: 4.5em;
|
3536 | 3568 | }
|
3537 | 3569 |
|
| 3570 | +emu-note table td { |
| 3571 | + background-color: white; |
| 3572 | +} |
| 3573 | +
|
3538 | 3574 | emu-note p,
|
3539 | 3575 | emu-table td p {
|
3540 | 3576 | text-align: left;
|
|
3563 | 3599 | }
|
3564 | 3600 |
|
3565 | 3601 | emu-clause p:first-of-type {
|
3566 |
| - margin-bottom: 0; |
3567 | 3602 | orphans: 3;
|
3568 | 3603 | }
|
3569 | 3604 |
|
|
3683 | 3718 | }
|
3684 | 3719 |
|
3685 | 3720 | caption {
|
3686 |
| - -prince-caption-page: first; |
| 3721 | + -prince-caption-page: first; /* see https://www.princexml.com/doc/css-props/#prop-prince-caption-page */ |
3687 | 3722 | }
|
3688 | 3723 |
|
3689 | 3724 | /* do not break inside of small tables */
|
|
3724 | 3759 | height: auto;
|
3725 | 3760 | }
|
3726 | 3761 |
|
| 3762 | +.attributes-tag { |
| 3763 | + break-before: avoid-page; |
| 3764 | + break-after: avoid-page; |
| 3765 | +} |
| 3766 | +
|
3727 | 3767 | #spec-container {
|
3728 | 3768 | max-width: initial;
|
3729 | 3769 | }
|
|
3819 | 3859 | border: 1px solid black;
|
3820 | 3860 | padding: 1em;
|
3821 | 3861 | page: copyright;
|
3822 |
| - page-break-before: always; |
3823 |
| - page-break-after: always; |
| 3862 | + break-before: page; |
| 3863 | + break-after: page; |
3824 | 3864 | }
|
3825 | 3865 |
|
3826 | 3866 | .secnum {
|
|
0 commit comments