2 color: var(--doc-font-color);
3 font-size: var(--doc-font-size);
5 line-height: var(--doc-line-height);
6 margin: var(--doc-margin);
7 max-width: var(--doc-max-width);
11 @media screen and (min-width: 1024px) {
14 font-size: var(--doc-font-size--desktop);
15 margin: var(--doc-margin--desktop);
16 max-width: var(--doc-max-width--desktop);
27 color: var(--heading-font-color);
28 font-weight: var(--heading-font-weight);
34 .doc > h1.page:first-child {
35 font-size: calc(36 / var(--rem-base) * 1rem);
39 @media screen and (min-width: 769px) {
40 .doc > h1.page:first-child {
45 .doc > h1.page:first-child + aside.toc.embedded {
49 .doc > h2#name + .sectionbody {
54 .doc .sect1 + .sect1 {
59 background: var(--abstract-background);
61 margin: 1.5rem -1rem 0;
65 .doc h2:not(.discrete) {
66 border-bottom: 1px solid var(--section-divider-color);
69 padding: 0.4rem 1rem 0.1rem;
72 .doc h3:not(.discrete) {
73 font-weight: var(--alt-heading-font-weight);
83 text-decoration: none;
92 .doc h1 .anchor::before,
93 .doc h2 .anchor::before,
94 .doc h3 .anchor::before,
95 .doc h4 .anchor::before,
96 .doc h5 .anchor::before,
97 .doc h6 .anchor::before {
101 .doc h1:hover .anchor,
102 .doc h2:hover .anchor,
103 .doc h3:hover .anchor,
104 .doc h4:hover .anchor,
105 .doc h5:hover .anchor,
106 .doc h6:hover .anchor {
116 color: var(--link-font-color);
120 color: var(--link_hover-font-color);
128 color: var(--link_unresolved-font-color);
138 .doc .colist > table code {
139 color: var(--code-font-color);
140 background: var(--code-background);
141 border-radius: 0.25em;
143 padding: 0.125em 0.25em;
152 font-size: calc(16 / var(--rem-base) * 1rem);
161 .doc .paragraph.lead > p {
162 font-size: calc(18 / var(--rem-base) * 1rem);
178 text-decoration: underline;
182 text-decoration: line-through;
203 .doc table.tableblock {
204 font-size: calc(15 / var(--rem-base) * 1rem);
208 .doc table.tableblock + * {
212 .doc p.tableblock + p.tableblock {
216 .doc td.tableblock > .content > :first-child {
220 .doc table.tableblock th,
221 .doc table.tableblock td {
225 .doc table.tableblock,
226 .doc table.tableblock > * > tr > * {
227 border: 0 solid var(--table-border-color);
230 .doc table.grid-all > * > tr > * {
234 .doc table.grid-cols > * > tr > * {
238 .doc table.grid-rows > * > tr > * {
242 .doc table.grid-all > thead th,
243 .doc table.grid-rows > thead th {
244 border-bottom-width: 2.5px;
247 .doc table.frame-all {
251 .doc table.frame-ends {
255 .doc table.frame-sides {
259 .doc table.frame-none > colgroup + * > :first-child > *,
260 .doc table.frame-sides > colgroup + * > :first-child > * {
264 /* NOTE let the grid win in case of frame-none */
265 .doc table.frame-sides > :last-child > :last-child > * {
266 border-bottom-width: 0;
269 .doc table.frame-none > * > tr > :first-child,
270 .doc table.frame-ends > * > tr > :first-child {
271 border-left-width: 0;
274 .doc table.frame-none > * > tr > :last-child,
275 .doc table.frame-ends > * > tr > :last-child {
276 border-right-width: 0;
279 .doc table.stripes-all > tbody > tr,
280 .doc table.stripes-odd > tbody > tr:nth-of-type(odd),
281 .doc table.stripes-even > tbody > tr:nth-of-type(even),
282 .doc table.stripes-hover > tbody > tr:hover {
283 background: var(--table-stripe-background);
286 .doc table.tableblock > tfoot {
287 background: var(--table-footer-background);
298 .doc .halign-center {
306 .doc .valign-bottom {
307 vertical-align: bottom;
310 .doc .valign-middle {
311 vertical-align: middle;
314 .doc .admonitionblock {
318 .doc .admonitionblock p,
319 .doc .admonitionblock td.content {
320 font-size: calc(16 / var(--rem-base) * 1rem);
323 .doc .admonitionblock td.content > :not(.title):first-child,
324 .doc .admonitionblock td.content > .title + * {
328 .doc .admonitionblock pre {
329 font-size: calc(15 / var(--rem-base) * 1rem);
332 .doc .admonitionblock > table {
338 .doc .admonitionblock td.content {
339 padding: 1rem 1rem 0.75rem;
340 background: var(--admonition-background);
345 .doc .admonitionblock .icon {
349 font-size: calc(15 / var(--rem-base) * 1rem);
353 font-weight: var(--admonition-label-font-weight);
354 text-transform: uppercase;
355 border-radius: 0.45rem;
356 transform: translate(-0.5rem, -50%);
359 .doc .admonitionblock.caution .icon {
360 background-color: var(--caution-color);
361 color: var(--caution-on-color);
364 .doc .admonitionblock.important .icon {
365 background-color: var(--important-color);
366 color: var(--important-on-color);
369 .doc .admonitionblock.note .icon {
370 background-color: var(--note-color);
371 color: var(--note-on-color);
374 .doc .admonitionblock.tip .icon {
375 background-color: var(--tip-color);
376 color: var(--tip-on-color);
379 .doc .admonitionblock.warning .icon {
380 background-color: var(--warning-color);
381 color: var(--warning-on-color);
384 .doc .admonitionblock .icon i {
385 display: inline-flex;
390 .doc .admonitionblock .icon i::after {
391 content: attr(title);
396 flex-direction: column;
400 .doc .imageblock img,
401 .doc .imageblock object,
402 .doc .imageblock svg,
404 .doc .image > object,
406 display: inline-block;
409 vertical-align: middle;
412 .doc .image:not(.left):not(.right) > img {
416 #preamble .abstract blockquote {
417 background: var(--abstract-background);
418 border-left: 5px solid var(--abstract-border-color);
419 color: var(--abstract-font-color);
420 font-size: calc(16 / var(--rem-base) * 1rem);
426 background: var(--quote-background);
427 border-left: 5px solid var(--quote-border-color);
428 color: var(--quote-font-color);
432 padding: 0.25rem 2rem 1.25rem;
435 .doc .quoteblock .attribution {
436 color: var(--quote-attribution-font-color);
437 font-size: calc(15 / var(--rem-base) * 1rem);
441 .doc .quoteblock blockquote {
445 .doc .quoteblock .paragraph {
449 .doc .quoteblock cite {
458 .doc .verseblock pre {
459 font-family: inherit;
476 list-style-type: none;
481 padding-left: 1.25rem;
490 list-style-type: square;
494 list-style-type: square;
498 list-style-type: square;
502 list-style-type: decimal;
506 list-style-type: decimal-leading-zero;
510 list-style-type: lower-alpha;
514 list-style-type: upper-alpha;
518 list-style-type: lower-roman;
522 list-style-type: upper-roman;
526 list-style-type: lower-greek;
530 padding-left: 0.5rem;
533 .doc ul.checklist p > i.fa-check-square-o:first-child,
534 .doc ul.checklist p > i.fa-square-o:first-child {
535 display: inline-flex;
536 justify-content: center;
540 .doc ul.checklist i.fa-check-square-o::before {
544 .doc ul.checklist i.fa-square-o::before {
561 .doc .ulist li + li {
565 .doc .ulist .listingblock,
566 .doc .olist .listingblock,
567 .doc .admonitionblock .listingblock {
571 .doc .admonitionblock .title,
572 .doc .exampleblock .title,
573 .doc .imageblock .title,
574 .doc .literalblock .title,
575 .doc .listingblock .title,
576 .doc .openblock .title,
577 .doc .tableblock caption {
578 color: var(--caption-font-color);
579 font-size: calc(16 / var(--rem-base) * 1rem);
580 font-weight: var(--caption-font-weight);
583 letter-spacing: 0.01em;
584 padding-bottom: 0.075rem;
588 .doc .imageblock .title {
597 .doc details > summary {
600 line-height: var(--doc-line-height);
601 margin-bottom: 0.5rem;
604 .doc details > summary::-webkit-details-marker {
608 .doc details > summary::before {
610 border: solid transparent;
611 border-left-color: currentColor;
612 border-width: 0.3em 0 0.3em 0.5em;
614 top: calc((var(--doc-line-height) * 0.5 - 0.3) * 1em);
616 transform: translateX(15%);
619 .doc details[open] > summary::before {
620 border-color: currentColor transparent transparent;
621 border-width: 0.5rem 0.3rem 0;
622 transform: translateY(15%);
625 .doc details > summary::after {
630 top: calc((var(--doc-line-height) * 0.5 - 0.5) * 1em);
634 .doc details.result {
638 .doc details.result > summary {
639 color: var(--caption-font-color);
644 .doc details.result > .content {
648 .doc .exampleblock > .content,
649 .doc details.result > .content {
650 background: var(--example-background);
651 border: 0.25rem solid var(--example-border-color);
652 border-radius: 0.5rem;
656 .doc .exampleblock > .content::after,
657 .doc details.result > .content::after {
663 .doc .exampleblock > .content > :first-child,
664 .doc details > .content > :first-child {
669 background: var(--sidebar-background);
670 border-radius: 0.75rem;
671 padding: 0.75rem 1.5rem;
674 .doc .sidebarblock > .content > .title {
675 font-size: calc(22.5 / var(--rem-base) * 1rem);
676 font-weight: var(--alt-heading-font-weight);
678 margin-bottom: -0.3em;
682 .doc .sidebarblock > .content > :not(.title):first-child {
686 /* NEEDS REVIEW prevent pre in table from causing article to exceed bounds */
687 .doc .tableblock pre,
688 .doc .listingblock.wrap pre {
689 white-space: pre-wrap;
692 .doc pre.highlight code,
693 .doc .listingblock pre:not(.highlight),
694 .doc .literalblock pre {
695 background: var(--pre-background);
696 box-shadow: inset 0 0 1.75px var(--pre-border-color);
706 .doc .source-toolbox {
712 color: var(--pre-annotation-font-color);
713 font-family: var(--body-font-family);
714 font-size: calc(13.5 / var(--rem-base) * 1rem);
718 .doc .listingblock:hover .source-toolbox {
722 .doc .source-toolbox .source-lang {
723 text-transform: uppercase;
724 letter-spacing: 0.075em;
729 .doc .source-toolbox > :not(:last-child)::after {
735 .doc .source-toolbox .copy-button {
737 flex-direction: column;
739 background: transparent;
745 line-height: inherit;
750 .doc .source-toolbox .copy-icon {
756 .doc .source-toolbox img.copy-icon {
757 filter: invert(50.2%);
760 .doc .source-toolbox svg.copy-icon {
764 .doc .source-toolbox .copy-toast {
767 display: inline-flex;
768 justify-content: center;
770 background-color: var(--doc-font-color);
771 border-radius: 0.25em;
773 color: var(--color-white);
776 transition: opacity 0.5s ease 0.75s;
779 .doc .source-toolbox .copy-toast::after {
785 border: 0.55em solid transparent;
786 border-left-color: var(--doc-font-color);
787 transform: rotate(-90deg) translateX(50%) translateY(50%);
788 transform-origin: left;
791 .doc .source-toolbox .copy-button.clicked .copy-toast {
796 .doc .language-console .hljs-meta {
805 margin: 0 0 0.25rem 1.5rem;
808 .doc .dlist dd:last-of-type {
818 .doc tr:first-child > .hdlist1,
819 .doc tr:first-child > .hdlist2 {
824 font-weight: var(--body-font-weight-bold);
825 padding-right: 0.25rem;
829 padding-left: 0.25rem;
833 font-size: calc(16 / var(--rem-base) * 1rem);
834 margin: 0.25rem 0 -0.25rem;
837 .doc .colist > table > tr > :first-child,
838 .doc .colist > table > tbody > tr > :first-child {
839 padding: 0.25em 0.5rem 0;
843 .doc .colist > table > tr > :last-child,
844 .doc .colist > table > tbody > tr > :last-child {
848 .doc .conum[data-value] {
849 border: 1px solid currentColor;
851 display: inline-block;
852 font-family: var(--body-font-family);
853 font-size: calc(13.5 / var(--rem-base) * 1rem);
859 letter-spacing: -0.25ex;
860 text-indent: -0.25ex;
863 .doc .conum[data-value]::after {
864 content: attr(data-value);
867 .doc .conum[data-value] + b {
872 border: solid var(--section-divider-color);
873 border-width: 2px 0 0;
878 white-space: nowrap; /* effectively ignores hyphens setting */
881 .doc b.button::before {
883 padding-right: 0.25em;
886 .doc b.button::after {
888 padding-left: 0.25em;
892 display: inline-block;
893 font-size: calc(12 / var(--rem-base) * 1rem);
894 background: var(--kbd-background);
895 border: 1px solid var(--kbd-border-color);
896 border-radius: 0.25em;
897 box-shadow: 0 1px 0 var(--kbd-border-color), 0 0 0 0.1em var(--body-background) inset;
898 padding: 0.25em 0.5em;
899 vertical-align: text-bottom;
900 white-space: nowrap; /* effectively ignores hyphens setting */
909 font-size: calc(16 / var(--rem-base) * 1rem);
916 .doc .keyseq kbd:first-child {
920 .doc .keyseq kbd:last-child {
929 .doc .menuseq i.caret::before {
932 font-weight: var(--body-font-weight-bold);
933 line-height: calc(1 / 1.1);
936 .doc :not(pre).nowrap {
948 margin: 2rem -0.5rem 0;
951 .doc td.tableblock > .content #footnotes {
956 border-top-width: 1px;
961 #footnotes .footnote {
962 margin: 0.5em 0 0 1em;
965 #footnotes .footnote + .footnote {
969 #footnotes .footnote > a:first-of-type {
970 display: inline-block;