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 .doc h4:not(.discrete) {
74 font-weight: var(--alt-heading-font-weight);
84 text-decoration: none;
93 .doc h1 .anchor::before,
94 .doc h2 .anchor::before,
95 .doc h3 .anchor::before,
96 .doc h4 .anchor::before,
97 .doc h5 .anchor::before,
98 .doc h6 .anchor::before {
102 .doc h1:hover .anchor,
103 .doc h2:hover .anchor,
104 .doc h3:hover .anchor,
105 .doc h4:hover .anchor,
106 .doc h5:hover .anchor,
107 .doc h6:hover .anchor {
117 color: var(--link-font-color);
121 color: var(--link_hover-font-color);
129 color: var(--link_unresolved-font-color);
139 .doc .colist > table code {
140 color: var(--code-font-color);
141 background: var(--code-background);
142 border-radius: 0.25em;
144 padding: 0.125em 0.25em;
153 font-size: calc(16 / var(--rem-base) * 1rem);
162 .doc .paragraph.lead > p {
163 font-size: calc(18 / var(--rem-base) * 1rem);
179 text-decoration: underline;
183 text-decoration: line-through;
205 .doc table.tableblock {
206 font-size: calc(15 / var(--rem-base) * 1rem);
210 .doc table.tableblock + * {
214 .doc p.tableblock + p.tableblock {
218 .doc td.tableblock > .content > :first-child {
222 .doc table.tableblock th,
223 .doc table.tableblock td {
227 .doc table.tableblock,
228 .doc table.tableblock > * > tr > * {
229 border: 0 solid var(--table-border-color);
232 .doc table.grid-all > * > tr > * {
236 .doc table.grid-cols > * > tr > * {
240 .doc table.grid-rows > * > tr > * {
244 .doc table.grid-all > thead th,
245 .doc table.grid-rows > thead th {
246 border-bottom-width: 2.5px;
249 .doc table.frame-all {
253 .doc table.frame-ends {
257 .doc table.frame-sides {
261 .doc table.frame-none > colgroup + * > :first-child > *,
262 .doc table.frame-sides > colgroup + * > :first-child > * {
266 /* NOTE let the grid win in case of frame-none */
267 .doc table.frame-sides > :last-child > :last-child > * {
268 border-bottom-width: 0;
271 .doc table.frame-none > * > tr > :first-child,
272 .doc table.frame-ends > * > tr > :first-child {
273 border-left-width: 0;
276 .doc table.frame-none > * > tr > :last-child,
277 .doc table.frame-ends > * > tr > :last-child {
278 border-right-width: 0;
281 .doc table.stripes-all > tbody > tr,
282 .doc table.stripes-odd > tbody > tr:nth-of-type(odd),
283 .doc table.stripes-even > tbody > tr:nth-of-type(even),
284 .doc table.stripes-hover > tbody > tr:hover {
285 background: var(--table-stripe-background);
288 .doc table.tableblock > tfoot {
289 background: var(--table-footer-background);
300 .doc .halign-center {
308 .doc .valign-bottom {
309 vertical-align: bottom;
312 .doc .valign-middle {
313 vertical-align: middle;
316 .doc .admonitionblock {
320 .doc .admonitionblock p,
321 .doc .admonitionblock td.content {
322 font-size: calc(16 / var(--rem-base) * 1rem);
325 .doc .admonitionblock td.content > :not(.title):first-child,
326 .doc .admonitionblock td.content > .title + * {
330 .doc .admonitionblock pre {
331 font-size: calc(15 / var(--rem-base) * 1rem);
334 .doc .admonitionblock > table {
340 .doc .admonitionblock td.content {
341 padding: 1rem 1rem 0.75rem;
342 background: var(--admonition-background);
347 .doc .admonitionblock .icon {
351 font-size: calc(15 / var(--rem-base) * 1rem);
355 font-weight: var(--admonition-label-font-weight);
356 text-transform: uppercase;
357 border-radius: 0.45rem;
358 transform: translate(-0.5rem, -50%);
361 .doc .admonitionblock.caution .icon {
362 background-color: var(--caution-color);
363 color: var(--caution-on-color);
366 .doc .admonitionblock.important .icon {
367 background-color: var(--important-color);
368 color: var(--important-on-color);
371 .doc .admonitionblock.note .icon {
372 background-color: var(--note-color);
373 color: var(--note-on-color);
376 .doc .admonitionblock.tip .icon {
377 background-color: var(--tip-color);
378 color: var(--tip-on-color);
381 .doc .admonitionblock.warning .icon {
382 background-color: var(--warning-color);
383 color: var(--warning-on-color);
386 .doc .admonitionblock .icon i {
387 display: inline-flex;
392 .doc .admonitionblock .icon i::after {
393 content: attr(title);
399 flex-direction: column;
403 .doc .imageblock img,
404 .doc .imageblock object,
405 .doc .imageblock svg,
407 .doc .image > object,
409 display: inline-block;
412 vertical-align: middle;
415 .doc .image:not(.left):not(.right) > img {
419 #preamble .abstract blockquote {
420 background: var(--abstract-background);
421 border-left: 5px solid var(--abstract-border-color);
422 color: var(--abstract-font-color);
423 font-size: calc(16 / var(--rem-base) * 1rem);
429 background: var(--quote-background);
430 border-left: 5px solid var(--quote-border-color);
431 color: var(--quote-font-color);
435 padding: 0.25rem 2rem 1.25rem;
438 .doc .quoteblock .attribution {
439 color: var(--quote-attribution-font-color);
440 font-size: calc(15 / var(--rem-base) * 1rem);
444 .doc .quoteblock blockquote {
448 .doc .quoteblock .paragraph {
452 .doc .quoteblock cite {
461 .doc .verseblock pre {
462 font-family: inherit;
479 list-style-type: none;
484 padding-left: 1.25rem;
493 list-style-type: square;
497 list-style-type: square;
501 list-style-type: square;
505 list-style-type: decimal;
509 list-style-type: decimal-leading-zero;
513 list-style-type: lower-alpha;
517 list-style-type: upper-alpha;
521 list-style-type: lower-roman;
525 list-style-type: upper-roman;
529 list-style-type: lower-greek;
533 padding-left: 0.5rem;
536 .doc ul.checklist p > i.fa-check-square-o:first-child,
537 .doc ul.checklist p > i.fa-square-o:first-child {
538 display: inline-flex;
539 justify-content: center;
543 .doc ul.checklist i.fa-check-square-o::before {
547 .doc ul.checklist i.fa-square-o::before {
564 .doc .ulist li + li {
568 .doc .ulist .listingblock,
569 .doc .olist .listingblock,
570 .doc .admonitionblock .listingblock {
574 .doc .admonitionblock .title,
575 .doc .exampleblock .title,
576 .doc .videoblock .title,
577 .doc .imageblock .title,
578 .doc .literalblock .title,
579 .doc .listingblock .title,
580 .doc .openblock .title,
581 .doc .tableblock caption {
582 color: var(--caption-font-color);
583 font-size: calc(16 / var(--rem-base) * 1rem);
584 font-weight: var(--caption-font-weight);
587 letter-spacing: 0.01em;
588 padding-bottom: 0.075rem;
592 .doc .videoblock .title,
593 .doc .imageblock .title {
602 .doc details > summary {
605 line-height: var(--doc-line-height);
606 margin-bottom: 0.5rem;
609 .doc details > summary::-webkit-details-marker {
613 .doc details > summary::before {
615 border: solid transparent;
616 border-left-color: currentColor;
617 border-width: 0.3em 0 0.3em 0.5em;
619 top: calc((var(--doc-line-height) * 0.5 - 0.3) * 1em);
621 transform: translateX(15%);
624 .doc details[open] > summary::before {
625 border-color: currentColor transparent transparent;
626 border-width: 0.5rem 0.3rem 0;
627 transform: translateY(15%);
630 .doc details > summary::after {
635 top: calc((var(--doc-line-height) * 0.5 - 0.5) * 1em);
639 .doc details.result {
643 .doc details.result > summary {
644 color: var(--caption-font-color);
649 .doc details.result > .content {
653 .doc .exampleblock > .content,
654 .doc details.result > .content {
655 background: var(--example-background);
656 border: 0.25rem solid var(--example-border-color);
657 border-radius: 0.5rem;
661 .doc .exampleblock > .content::after,
662 .doc details.result > .content::after {
668 .doc .exampleblock > .content > :first-child,
669 .doc details > .content > :first-child {
674 background: var(--sidebar-background);
675 border-radius: 0.75rem;
676 padding: 0.75rem 1.5rem;
679 .doc .sidebarblock > .content > .title {
680 font-size: calc(22.5 / var(--rem-base) * 1rem);
681 font-weight: var(--alt-heading-font-weight);
683 margin-bottom: -0.3em;
687 .doc .sidebarblock > .content > :not(.title):first-child {
691 /* NEEDS REVIEW prevent pre in table from causing article to exceed bounds */
692 .doc .tableblock pre,
693 .doc .listingblock.wrap pre {
694 white-space: pre-wrap;
697 .doc pre.highlight code,
698 .doc .listingblock pre:not(.highlight),
699 .doc .literalblock pre {
700 background: var(--pre-background);
701 box-shadow: inset 0 0 1.75px var(--pre-border-color);
711 .doc .source-toolbox {
717 color: var(--pre-annotation-font-color);
718 font-family: var(--body-font-family);
719 font-size: calc(13.5 / var(--rem-base) * 1rem);
723 .doc .listingblock:hover .source-toolbox {
727 .doc .source-toolbox .source-lang {
728 text-transform: uppercase;
729 letter-spacing: 0.075em;
734 .doc .source-toolbox > :not(:last-child)::after {
740 .doc .source-toolbox .copy-button {
742 flex-direction: column;
744 background: transparent;
750 line-height: inherit;
755 .doc .source-toolbox .copy-icon {
761 .doc .source-toolbox img.copy-icon {
762 filter: invert(50.2%);
765 .doc .source-toolbox svg.copy-icon {
769 .doc .source-toolbox .copy-toast {
772 display: inline-flex;
773 justify-content: center;
775 background-color: var(--doc-font-color);
776 border-radius: 0.25em;
778 color: var(--color-white);
781 transition: opacity 0.5s ease 0.75s;
784 .doc .source-toolbox .copy-toast::after {
790 border: 0.55em solid transparent;
791 border-left-color: var(--doc-font-color);
792 transform: rotate(-90deg) translateX(50%) translateY(50%);
793 transform-origin: left;
796 .doc .source-toolbox .copy-button.clicked .copy-toast {
801 .doc .language-console .hljs-meta {
810 margin: 0 0 0.25rem 1.5rem;
813 .doc .dlist dd:last-of-type {
823 .doc tr:first-child > .hdlist1,
824 .doc tr:first-child > .hdlist2 {
829 font-weight: var(--body-font-weight-bold);
830 padding-right: 0.25rem;
834 padding-left: 0.25rem;
838 font-size: calc(16 / var(--rem-base) * 1rem);
839 margin: 0.25rem 0 -0.25rem;
842 .doc .colist > table > tr > :first-child,
843 .doc .colist > table > tbody > tr > :first-child {
844 padding: 0.25em 0.5rem 0;
848 .doc .colist > table > tr > :last-child,
849 .doc .colist > table > tbody > tr > :last-child {
853 .doc .conum[data-value] {
854 border: 1px solid currentColor;
856 display: inline-block;
857 font-family: var(--body-font-family);
858 font-size: calc(13.5 / var(--rem-base) * 1rem);
864 letter-spacing: -0.25ex;
865 text-indent: -0.25ex;
868 .doc .conum[data-value]::after {
869 content: attr(data-value);
872 .doc .conum[data-value] + b {
877 border: solid var(--section-divider-color);
878 border-width: 2px 0 0;
883 white-space: nowrap; /* effectively ignores hyphens setting */
886 .doc b.button::before {
888 padding-right: 0.25em;
891 .doc b.button::after {
893 padding-left: 0.25em;
897 display: inline-block;
898 font-size: calc(12 / var(--rem-base) * 1rem);
899 background: var(--kbd-background);
900 border: 1px solid var(--kbd-border-color);
901 border-radius: 0.25em;
902 box-shadow: 0 1px 0 var(--kbd-border-color), 0 0 0 0.1em var(--body-background) inset;
903 padding: 0.25em 0.5em;
904 vertical-align: text-bottom;
905 white-space: nowrap; /* effectively ignores hyphens setting */
914 font-size: calc(16 / var(--rem-base) * 1rem);
921 .doc .keyseq kbd:first-child {
925 .doc .keyseq kbd:last-child {
934 .doc .menuseq i.caret::before {
937 font-weight: var(--body-font-weight-bold);
938 line-height: calc(1 / 1.1);
941 .doc :not(pre).nowrap {
953 margin: 2rem -0.5rem 0;
956 .doc td.tableblock > .content #footnotes {
961 border-top-width: 1px;
966 #footnotes .footnote {
967 margin: 0.5em 0 0 1em;
970 #footnotes .footnote + .footnote {
974 #footnotes .footnote > a:first-of-type {
975 display: inline-block;