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 h1.page + aside.toc.embedded {
50 .doc .sect1 + .sect1 {
55 background: var(--abstract-background);
57 margin: 1.5rem -1rem 0;
61 .doc h2:not(.discrete) {
62 border-bottom: 1px solid var(--section-divider-color);
65 padding: 0.4rem 1rem 0.1rem;
68 .doc h3:not(.discrete) {
69 font-weight: var(--alt-heading-font-weight);
79 text-decoration: none;
88 .doc h1 .anchor::before,
89 .doc h2 .anchor::before,
90 .doc h3 .anchor::before,
91 .doc h4 .anchor::before,
92 .doc h5 .anchor::before,
93 .doc h6 .anchor::before {
97 .doc h1:hover .anchor,
98 .doc h2:hover .anchor,
99 .doc h3:hover .anchor,
100 .doc h4:hover .anchor,
101 .doc h5:hover .anchor,
102 .doc h6:hover .anchor {
112 color: var(--link-font-color);
116 color: var(--link_hover-font-color);
124 color: var(--link_unresolved-font-color);
134 color: var(--code-font-color);
135 background: var(--code-background);
136 border-radius: 0.25em;
138 padding: 0.125em 0.25em;
147 font-size: calc(16 / var(--rem-base) * 1rem);
156 .doc .paragraph.lead > p {
157 font-size: calc(18 / var(--rem-base) * 1rem);
173 text-decoration: underline;
177 text-decoration: line-through;
198 .doc table.tableblock {
199 font-size: calc(15 / var(--rem-base) * 1rem);
203 .doc table.tableblock + * {
207 .doc p.tableblock + p.tableblock {
211 .doc td.tableblock > .content > :first-child {
215 .doc table.tableblock th,
216 .doc table.tableblock td {
220 .doc table.tableblock thead th {
221 border-bottom: 2.5px solid var(--table-border-color);
224 .doc table.tableblock td,
225 .doc table.tableblock > :not(thead) th {
226 border-top: 1px solid var(--table-border-color);
227 border-bottom: 1px solid var(--table-border-color);
230 .doc table.grid-all > * > tr > * {
231 border: 1px solid var(--table-border-color);
234 .doc table.grid-none > * > tr > * {
238 .doc table.grid-cols > * > tr > * {
239 border-right: 1px solid var(--table-border-color);
242 .doc table.grid-rows > * > tr > * {
243 border-top: 1px solid var(--table-border-color);
246 .doc table.grid-all > thead th,
247 .doc table.grid-rows > thead th {
248 border-bottom-width: 2.5px;
251 .doc table.frame-all {
252 border: 1px solid var(--table-border-color);
255 .doc table.frame-ends {
256 border-top: 1px solid var(--table-border-color);
257 border-bottom: 1px solid var(--table-border-color);
260 .doc table.frame-sides {
261 border-left: 1px solid var(--table-border-color);
262 border-right: 1px solid var(--table-border-color);
265 .doc table.frame-none > colgroup + * > :first-child > *,
266 .doc table.frame-sides > colgroup + * > :first-child > * {
270 /* NOTE let the grid win in case of frame-none */
271 .doc table.frame-sides > :last-child > :last-child > * {
272 border-bottom-width: 0;
275 .doc table.frame-none > * > tr > :first-child,
276 .doc table.frame-ends > * > tr > :first-child {
277 border-left-width: 0;
280 .doc table.frame-none > * > tr > :last-child,
281 .doc table.frame-ends > * > tr > :last-child {
282 border-right-width: 0;
285 .doc table.stripes-all > tbody > tr,
286 .doc table.stripes-odd > tbody > tr:nth-of-type(odd),
287 .doc table.stripes-even > tbody > tr:nth-of-type(even),
288 .doc table.stripes-hover > tbody > tr:hover {
289 background: var(--table-stripe-background);
292 .doc table.tableblock > tfoot {
293 background: var(--table-footer-background);
304 .doc .halign-center {
312 .doc .valign-bottom {
313 vertical-align: bottom;
316 .doc .valign-middle {
317 vertical-align: middle;
320 .doc .admonitionblock {
324 .doc .admonitionblock p,
325 .doc .admonitionblock td.content {
326 font-size: calc(16 / var(--rem-base) * 1rem);
329 .doc .admonitionblock td.content > :not(.title):first-child,
330 .doc .admonitionblock td.content > .title + * {
334 .doc .admonitionblock pre {
335 font-size: calc(15 / var(--rem-base) * 1rem);
338 .doc .admonitionblock > table {
344 .doc .admonitionblock td.content {
345 padding: 1rem 1rem 0.75rem;
346 background: var(--admonition-background);
351 .doc .admonitionblock .icon {
355 font-size: calc(15 / var(--rem-base) * 1rem);
359 font-weight: var(--admonition-label-font-weight);
360 text-transform: uppercase;
361 border-radius: 0.45rem;
362 transform: translate(-0.5rem, -50%);
365 .doc .admonitionblock.caution .icon {
366 background-color: var(--caution-color);
367 color: var(--caution-on-color);
370 .doc .admonitionblock.important .icon {
371 background-color: var(--important-color);
372 color: var(--important-on-color);
375 .doc .admonitionblock.note .icon {
376 background-color: var(--note-color);
377 color: var(--note-on-color);
380 .doc .admonitionblock.tip .icon {
381 background-color: var(--tip-color);
382 color: var(--tip-on-color);
385 .doc .admonitionblock.warning .icon {
386 background-color: var(--warning-color);
387 color: var(--warning-on-color);
390 .doc .admonitionblock .icon i {
391 display: inline-flex;
396 .doc .admonitionblock .icon i::after {
397 content: attr(title);
402 flex-direction: column;
406 .doc .imageblock img,
408 display: inline-block;
411 vertical-align: middle;
414 .doc .image:not(.left):not(.right) > img {
418 #preamble .abstract blockquote {
419 background: var(--abstract-background);
420 border-left: 5px solid var(--abstract-border-color);
421 color: var(--abstract-font-color);
422 font-size: calc(16 / var(--rem-base) * 1rem);
428 background: var(--quote-background);
429 border-left: 5px solid var(--quote-border-color);
430 color: var(--quote-font-color);
434 padding: 0.25rem 2rem 1.25rem;
437 .doc .quoteblock .attribution {
438 color: var(--quote-attribution-font-color);
439 font-size: calc(15 / var(--rem-base) * 1rem);
443 .doc .quoteblock blockquote {
447 .doc .quoteblock .paragraph {
451 .doc .quoteblock cite {
460 .doc .verseblock pre {
461 font-family: inherit;
478 list-style-type: none;
483 padding-left: 1.25rem;
492 list-style-type: square;
496 list-style-type: square;
500 list-style-type: square;
504 list-style-type: decimal;
508 list-style-type: decimal-leading-zero;
512 list-style-type: lower-alpha;
516 list-style-type: upper-alpha;
520 list-style-type: lower-roman;
524 list-style-type: upper-roman;
528 list-style-type: lower-greek;
532 padding-left: 0.5rem;
535 .doc ul.checklist p > i.fa-check-square-o:first-child,
536 .doc ul.checklist p > i.fa-square-o:first-child {
537 display: inline-flex;
538 justify-content: center;
542 .doc ul.checklist i.fa-check-square-o::before {
546 .doc ul.checklist i.fa-square-o::before {
563 .doc .ulist li + li {
567 .doc .ulist .listingblock,
568 .doc .olist .listingblock,
569 .doc .admonitionblock .listingblock {
573 .doc .admonitionblock .title,
574 .doc .exampleblock .title,
575 .doc .imageblock .title,
576 .doc .literalblock .title,
577 .doc .listingblock .title,
578 .doc .openblock .title,
579 .doc .tableblock caption {
580 color: var(--caption-font-color);
581 font-size: calc(16 / var(--rem-base) * 1rem);
582 font-weight: var(--caption-font-weight);
585 letter-spacing: 0.01em;
586 padding-bottom: 0.075rem;
590 .doc .imageblock .title {
599 .doc details > summary {
602 line-height: var(--doc-line-height);
603 margin-bottom: 0.5rem;
606 .doc details > summary::-webkit-details-marker {
610 .doc details > summary::before {
612 border: solid transparent;
613 border-left-color: currentColor;
614 border-width: 0.3em 0 0.3em 0.5em;
616 top: calc((var(--doc-line-height) * 0.5 - 0.3) * 1em);
618 transform: translateX(15%);
621 .doc details[open] > summary::before {
622 border-color: currentColor transparent transparent;
623 border-width: 0.5rem 0.3rem 0;
624 transform: translateY(15%);
627 .doc details > summary::after {
632 top: calc((var(--doc-line-height) * 0.5 - 0.5) * 1em);
636 .doc details.result {
640 .doc details.result > summary {
641 color: var(--caption-font-color);
646 .doc details.result > .content {
650 .doc .exampleblock > .content,
651 .doc details.result > .content {
652 background: var(--example-background);
653 border: 0.25rem solid var(--example-border-color);
654 border-radius: 0.5rem;
658 .doc .exampleblock > .content::after,
659 .doc details.result > .content::after {
665 .doc .exampleblock > .content > :first-child,
666 .doc details > .content > :first-child {
671 background: var(--sidebar-background);
672 border-radius: 0.75rem;
673 padding: 0.75rem 1.5rem;
676 .doc .sidebarblock > .content > .title {
677 font-size: calc(22.5 / var(--rem-base) * 1rem);
678 font-weight: var(--alt-heading-font-weight);
680 margin-bottom: -0.3em;
684 .doc .sidebarblock > .content > :not(.title):first-child {
688 /* NEEDS REVIEW prevent pre in table from causing article to exceed bounds */
689 .doc .tableblock pre,
690 .doc .listingblock.wrap pre {
691 white-space: pre-wrap;
694 .doc pre.highlight code,
695 .doc .listingblock pre:not(.highlight),
696 .doc .literalblock pre {
697 background: var(--pre-background);
698 box-shadow: inset 0 0 1.75px var(--pre-border-color);
708 .doc .source-toolbox {
714 color: var(--pre-annotation-font-color);
715 font-family: var(--body-font-family);
716 font-size: calc(13.5 / var(--rem-base) * 1rem);
720 .doc .listingblock:hover .source-toolbox {
724 .doc .source-toolbox .source-lang {
725 text-transform: uppercase;
726 letter-spacing: 0.075em;
731 .doc .source-toolbox > :not(:last-child)::after {
737 .doc .source-toolbox .copy-button {
739 flex-direction: column;
741 background: transparent;
747 line-height: inherit;
752 .doc .source-toolbox .copy-icon {
758 .doc .source-toolbox img.copy-icon {
759 filter: invert(50.2%);
762 .doc .source-toolbox svg.copy-icon {
766 .doc .source-toolbox .copy-toast {
769 display: inline-flex;
770 justify-content: center;
772 background-color: var(--doc-font-color);
773 border-radius: 0.25em;
775 color: var(--color-white);
778 transition: opacity 0.5s ease 0.75s;
781 .doc .source-toolbox .copy-toast::after {
787 border: 0.55em solid transparent;
788 border-left-color: var(--doc-font-color);
789 transform: rotate(-90deg) translateX(50%) translateY(50%);
790 transform-origin: left;
793 .doc .source-toolbox .copy-button.clicked .copy-toast {
798 .doc .language-console .hljs-meta {
807 margin: 0 0 0.25rem 1.5rem;
810 .doc .dlist dd:last-of-type {
820 .doc tr:first-child > .hdlist1,
821 .doc tr:first-child > .hdlist2 {
826 font-weight: var(--body-font-weight-bold);
827 padding-right: 0.25rem;
831 padding-left: 0.25rem;
835 font-size: calc(16 / var(--rem-base) * 1rem);
836 margin: 0.25rem 0 -0.25rem;
839 .doc .colist > table > tr > :first-child,
840 .doc .colist > table > tbody > tr > :first-child {
841 padding: 0.25em 0.5rem 0;
845 .doc .colist > table > tr > :last-child,
846 .doc .colist > table > tbody > tr > :last-child {
850 .doc .conum[data-value] {
851 border: 1px solid currentColor;
853 display: inline-block;
854 font-family: var(--body-font-family);
855 font-size: calc(13.5 / var(--rem-base) * 1rem);
861 letter-spacing: -0.25ex;
862 text-indent: -0.25ex;
865 .doc .conum[data-value]::after {
866 content: attr(data-value);
869 .doc .conum[data-value] + b {
874 border: solid var(--section-divider-color);
875 border-width: 2px 0 0;
880 white-space: nowrap; /* effectively ignores hyphens setting */
883 .doc b.button::before {
885 padding-right: 0.25em;
888 .doc b.button::after {
890 padding-left: 0.25em;
894 display: inline-block;
895 font-size: calc(12 / var(--rem-base) * 1rem);
896 background: var(--kbd-background);
897 border: 1px solid var(--kbd-border-color);
898 border-radius: 0.25em;
899 box-shadow: 0 1px 0 var(--kbd-border-color), 0 0 0 0.1em var(--body-background) inset;
900 padding: 0.25em 0.5em;
901 vertical-align: text-bottom;
902 white-space: nowrap; /* effectively ignores hyphens setting */
911 font-size: calc(16 / var(--rem-base) * 1rem);
918 .doc .keyseq kbd:first-child {
922 .doc .keyseq kbd:last-child {
931 .doc .menuseq i.caret::before {
934 font-weight: var(--body-font-weight-bold);
935 line-height: calc(1 / 1.1);
950 margin: 2rem -0.5rem 0;
954 border-top-width: 1px;
959 #footnotes .footnote {
960 margin: 0.5em 0 0 1em;
963 #footnotes .footnote + .footnote {
967 #footnotes .footnote > a:first-of-type {
968 display: inline-block;