1 /* See FiraSans-LICENSE.txt for the Fira Sans license. */
3 font-family: 'Fira Sans';
6 src: local('Fira Sans'),
7 url("FiraSans-Regular.woff2") format("woff2"),
8 url("FiraSans-Regular.woff") format('woff');
12 font-family: 'Fira Sans';
15 src: local('Fira Sans Medium'),
16 url("FiraSans-Medium.woff2") format("woff2"),
17 url("FiraSans-Medium.woff") format('woff');
21 /* See SourceSerif4-LICENSE.md for the Source Serif 4 license. */
23 font-family: 'Source Serif 4';
26 src: local('Source Serif 4'),
27 url("SourceSerif4-Regular.ttf.woff2") format("woff2"),
28 url("SourceSerif4-Regular.ttf.woff") format("woff");
32 font-family: 'Source Serif 4';
35 src: local('Source Serif 4 Italic'),
36 url("SourceSerif4-It.ttf.woff2") format("woff2"),
37 url("SourceSerif4-It.ttf.woff") format("woff");
41 font-family: 'Source Serif 4';
44 src: local('Source Serif 4 Bold'),
45 url("SourceSerif4-Bold.ttf.woff2") format("woff2"),
46 url("SourceSerif4-Bold.ttf.woff") format("woff");
50 /* See SourceCodePro-LICENSE.txt for the Source Code Pro license. */
52 font-family: 'Source Code Pro';
55 /* Avoid using locally installed font because bad versions are in circulation:
56 * see https://github.com/rust-lang/rust/issues/24355 */
57 src: url("SourceCodePro-Regular.ttf.woff2") format("woff2"),
58 url("SourceCodePro-Regular.ttf.woff") format("woff");
62 font-family: 'Source Code Pro';
65 src: url("SourceCodePro-It.ttf.woff2") format("woff2"),
66 url("SourceCodePro-It.ttf.woff") format("woff");
70 font-family: 'Source Code Pro';
73 src: url("SourceCodePro-Semibold.ttf.woff2") format("woff2"),
74 url("SourceCodePro-Semibold.ttf.woff") format("woff");
78 /* Avoid using legacy CJK serif fonts in Windows like Batang. */
80 font-family: 'Noto Sans KR';
81 src: url("noto-sans-kr-regular.woff2") format("woff2"),
82 url("noto-sans-kr-regular.woff") format("woff");
84 unicode-range: U+AC00-D7AF, U+3130-318F, U+1100-11FF, U+A960-A97F, U+D7B0-D7FF;
88 -webkit-box-sizing: border-box;
89 -moz-box-sizing: border-box;
90 box-sizing: border-box;
93 /* This part handles the "default" theme being used depending on the system one. */
97 @media (prefers-color-scheme: light) {
102 @media (prefers-color-scheme: dark) {
108 /* General structure and fonts */
111 font: 16px/1.4 "Source Serif 4", "Noto Sans KR", serif;
114 padding: 10px 15px 20px 15px;
116 -webkit-font-feature-settings: "kern", "liga";
117 -moz-font-feature-settings: "kern", "liga";
118 font-feature-settings: "kern", "liga";
130 h1, h2, h3, h4, h5, h6 {
134 margin: 20px 0 15px 0;
138 margin: 15px 0 5px 0;
142 border-bottom: 1px dashed;
145 /* workaround to keep flex from breaking below 700 px width due to the float: right on the nav
149 h1.fqn > .in-band > a:hover {
150 text-decoration: underline;
153 border-bottom: 1px solid;
155 h3.code-header, h4.code-header {
167 .impl-items .associatedconstant,
168 .methods .associatedconstant,
169 .impl-items .associatedtype,
170 .methods .associatedtype {
177 .impl, .method.trait-impl,
179 .associatedconstant.trait-impl,
180 .associatedtype.trait-impl {
184 div.impl-items > div {
188 h1, h2, h3, h4, h5, h6,
189 .sidebar, a.source, .search-input, .search-results .result-name,
190 .content table td:first-child > a,
192 div.item-list .out-of-band, span.since,
193 #source-sidebar, #sidebar-toggle,
194 details.rustdoc-toggle > summary::before,
195 details.undocumented > summary::before,
196 div.impl-items > div:not(.docblock):not(.item-info),
197 .content ul.crate a.crate, a.srclink,
198 /* This selector is for the items listed in the "all items" page. */
199 #main > ul.docblock > li > a {
200 font-family: "Fira Sans", Arial, sans-serif;
203 .content ul.crate a.crate {
210 ul ul, ol ul, ul ol, ol ol {
222 /* Fix some style changes due to normalize.css 8 */
230 border-collapse: collapse;
243 /* end tweaks for normalize.css 8 */
245 details:not(.rustdoc-toggle) summary {
249 code, pre, a.test-arrow, .code-header {
250 font-family: "Source Code Pro", monospace;
252 .docblock code, .docblock-short code {
256 .docblock pre code, .docblock-short pre code {
262 .docblock.item-decl {
269 .source .content pre {
290 text-transform: uppercase;
302 /* Improve the scrollbar display on firefox */
304 scrollbar-width: initial;
307 scrollbar-width: thin;
310 /* Improve the scrollbar display on webkit-based browsers */
311 ::-webkit-scrollbar {
314 .sidebar::-webkit-scrollbar {
317 ::-webkit-scrollbar-track {
318 -webkit-box-shadow: inset 0;
321 .sidebar .block > ul > li {
329 /* Everything else */
332 display: none !important;
344 .logo-container > img {
351 transform: translate(-50%, -50%);
358 margin: 30px 10px 20px 10px;
360 word-wrap: break-word;
361 font-weight: inherit;
368 border-bottom: 1px solid;
369 overflow-wrap: break-word;
370 word-wrap: break-word; /* deprecated */
371 word-break: break-word; /* Chrome, non-standard */
378 .location a:first-of-type {
382 text-decoration: underline;
389 .block h2, .block h3 {
392 .block ul, .block li {
400 text-overflow: ellipsis;
406 transition: border 500ms ease-out;
410 border-top: 1px solid;
411 border-bottom: 1px solid;
415 font-weight: inherit;
436 .source .content pre.rust {
442 .rustdoc .example-wrap {
443 display: inline-flex;
452 .example-wrap > pre.line-number {
457 border-top-left-radius: 5px;
458 border-bottom-left-radius: 5px;
461 .example-wrap > pre.rust a:hover {
462 text-decoration: underline;
465 .rustdoc:not(.source) .example-wrap > pre:not(.line-number) {
470 .rustdoc:not(.source) .example-wrap > pre.line-numbers {
475 .rustdoc .example-wrap > pre {
489 .content > .example-wrap pre.line-numbers {
491 -webkit-user-select: none;
492 -moz-user-select: none;
493 -ms-user-select: none;
501 overflow-wrap: anywhere;
509 text-overflow: ellipsis;
512 /* Wrap non-pre code blocks (`text`) but not (```text```). */
513 .docblock > :not(pre) > code,
514 .docblock-short > :not(pre) > code {
515 white-space: pre-wrap;
518 .top-doc .docblock h2 { font-size: 1.3em; }
519 .top-doc .docblock h3 { font-size: 1.15em; }
520 .top-doc .docblock h4,
521 .top-doc .docblock h5 {
524 .top-doc .docblock h6 {
528 .docblock h5 { font-size: 1em; }
529 .docblock h6 { font-size: 0.95em; }
541 .content .out-of-band {
550 .method > .code-header, .trait-impl > .code-header, .invisible > .code-header {
551 max-width: calc(100% - 41px);
557 display: inline-block;
564 overflow-wrap: anywhere;
567 .in-band > code, .in-band > .code-header {
568 display: inline-block;
576 font-family: "Fira Sans", Arial, sans-serif;
579 .content table:not(.table-display) {
580 border-spacing: 0 5px;
582 .content td { vertical-align: top; }
583 .content td:first-child { padding-right: 20px; }
584 .content td p:first-child { margin-top: 0; }
585 .content td h1, .content td h2 { margin-left: 0; font-size: 1.1em; }
586 .content tr:first-child td { border-top: 0; }
590 width: calc(100% - 2px);
610 .content .item-list {
611 list-style-type: none;
615 .content .multi-column {
616 -moz-column-count: 5;
617 -moz-column-gap: 2.5em;
618 -webkit-column-count: 5;
619 -webkit-column-gap: 2.5em;
623 .content .multi-column li { width: 100%; display: inline-block; }
625 .content > .methods > .method {
629 /* Shift "where ..." part of method or fn definition down a line */
630 .content .method .where,
632 .content .where.fmt-newline {
637 .content .methods > div:not(.notable-traits):not(.method) {
642 .content .docblock > .impl-items {
646 .content .docblock >.impl-items .table-display {
649 .content .docblock >.impl-items table td {
652 .content .docblock > .impl-items .table-display, .impl-items table td {
656 .content .item-info code {
660 .content .item-info {
665 .sub-variant > div > .item-info {
669 .content .item-info::before {
677 .content .impl-items .method, .content .impl-items > .type, .impl-items > .associatedconstant,
678 .impl-items > .associatedtype, .content .impl-items details > summary > .type,
679 .impl-items details > summary > .associatedconstant,
680 .impl-items details > summary > .associatedtype {
684 .content .impl-items .docblock, .content .impl-items .item-info {
688 .content .impl-items > .item-info {
692 .methods > .item-info, .content .impl-items > .item-info {
705 border-bottom: 1px solid;
706 padding-bottom: 10px;
714 border-top: 1px solid;
715 border-bottom: 1px solid;
717 nav.main .separator {
719 display: inline-block;
723 nav.sum { text-align: right; }
724 nav.sub form { display: inline; }
731 text-decoration: none;
732 background: transparent;
735 .small-section-header {
737 justify-content: space-between;
741 .small-section-header:hover > .anchor {
745 .in-band:hover > .anchor, .impl:hover > .anchor, .method.trait-impl:hover > .anchor,
746 .type.trait-impl:hover > .anchor, .associatedconstant.trait-impl:hover > .anchor,
747 .associatedtype.trait-impl:hover > .anchor {
748 display: inline-block;
755 background: none !important;
760 .small-section-header > .anchor {
764 h2.small-section-header > .anchor {
771 .docblock a:not(.srclink):not(.test-arrow):hover,
772 .docblock-short a:not(.srclink):not(.test-arrow):hover, .item-info a {
773 text-decoration: underline;
776 .invisible > .srclink,
777 .method > .code-header + .srclink {
785 .block a.current.crate { font-weight: 500; }
793 .item-left, .item-right {
797 padding-right: 1.2rem;
803 .search-container > div {
804 display: inline-flex;
805 width: calc(100% - 63px);
815 border-radius: 4px 0 0 4px;
818 border-right: 1px solid;
819 -moz-appearance: none;
820 -webkit-appearance: none;
821 /* Removes default arrow from firefox */
824 background-repeat: no-repeat;
825 background-color: transparent;
826 background-size: 20px;
827 background-position: calc(100% - 1px) 56%;
829 .search-container > .top-button {
835 /* Override Normalize.css: we have margins and do
836 not want to overflow - the `moz` attribute is necessary
837 until Firefox 29, too early to drop at this point */
838 -moz-box-sizing: border-box !important;
839 box-sizing: border-box !important;
846 transition: border-color 300ms ease;
847 transition: border-radius 300ms ease-in-out;
848 transition: box-shadow 300ms ease-in-out;
852 #crate-search + .search-input {
853 border-radius: 0 1px 1px 0;
854 width: calc(100% - 32px);
857 .search-input:focus {
868 .search-results.active {
870 /* prevent overhanging tabs from moving the first result */
874 .search-results .desc > span {
876 text-overflow: ellipsis;
881 .search-results > a {
884 /* A little margin ensures the browser's outlining of focused links has room to display. */
887 border-bottom: 1px solid #aaa3;
890 .search-results > a > div {
895 .search-results .result-name, .search-results div.desc, .search-results .result-description {
898 .search-results .result-name {
902 .search-results .result-name > span {
903 display: inline-block;
908 body.blur > :not(#help) {
910 -webkit-filter: blur(8px);
921 justify-content: center;
926 box-shadow: 0 0 6px rgba(0,0,0,.2);
935 margin-right: 0.5rem;
937 #help span.top, #help span.bottom {
947 border-bottom: 1px solid;
953 border-top: 1px solid;
955 #help dd { margin: 5px 35px; }
956 #help .infos { padding-left: 0; }
957 #help h1, #help h2 { margin-top: 0; }
961 padding: 0 20px 20px 17px;;
983 /* Black one-pixel outline around emoji shapes */
995 display: inline-block;
1001 vertical-align: text-bottom;
1004 .module-item.unstable,
1005 .import-item.unstable {
1010 font-weight: normal;
1014 .impl-items .since, .impl .since, .methods .since {
1020 .impl-items .srclink, .impl .srclink, .methods .srclink {
1021 /* Override header settings otherwise it's too bold */
1023 font-weight: normal;
1032 margin-bottom: 12px;
1033 /* Push the src link out to the right edge consistently */
1034 justify-content: space-between;
1041 .variants_table tbody tr td:first-child {
1042 width: 1%; /* make the variant name as small as possible */
1053 pre.rust .question-mark {
1058 display: inline-block;
1060 padding: 5px 10px 5px 10px;
1068 text-decoration: none;
1071 .section-header:hover a:before {
1074 padding-right: 10px; /* avoid gap that causes hover to disappear */
1075 content: '\2002\00a7\2002';
1078 .section-header:hover a {
1079 text-decoration: none;
1099 .out-of-band > span.since {
1105 .sub-variant, .sub-variant > h3 {
1106 margin-top: 0px !important;
1110 #main .sub-variant > h3 {
1116 .sub-variant > div {
1118 margin-bottom: 10px;
1121 .sub-variant > div > span {
1127 display: inline-block;
1132 .docblock > .section-header:first-child {
1137 .docblock > .section-header:first-child:hover > a:before {
1141 :target > code, :target > .code-header {
1158 display: inline-block;
1165 padding: 5px 3px 3px 3px;
1171 .tooltip.ignore::after {
1172 content: "This example is not tested";
1174 .tooltip.compile_fail::after {
1175 content: "This example deliberately fails to compile";
1177 .tooltip.should_panic::after {
1178 content: "This example panics";
1180 .tooltip.edition::after {
1181 content: "This code runs with edition " attr(data-edition);
1191 border-style: solid;
1195 .tooltip:hover::before, .tooltip:hover::after {
1199 .tooltip.compile_fail, .tooltip.should_panic, .tooltip.ignore {
1204 .notable-traits-tooltip {
1205 display: inline-block;
1209 .notable-traits:hover .notable-traits-tooltiptext,
1210 .notable-traits .notable-traits-tooltiptext.force-tooltip {
1211 display: inline-block;
1214 .notable-traits .notable-traits-tooltiptext {
1216 padding: 5px 3px 3px 3px;
1226 .notable-traits-tooltip::after {
1227 /* The margin on the tooltip does not capture hover events,
1228 this extends the area of hover enough so that mouse hover is not
1229 lost when moving the mouse to the tooltip */
1230 content: "\00a0\00a0\00a0";
1233 .notable-traits .notable, .notable-traits .docblock {
1237 .notable-traits .notable {
1239 margin-bottom: 13px;
1244 .notable-traits .docblock code.content{
1250 /* Example code has the "Run" button that needs to be positioned relative to the pre */
1251 pre.rust.rust-example-rendered {
1266 .search-failed.active {
1270 .search-failed > ul {
1288 border-top: 2px solid;
1291 #titles > button:not(:last-child) {
1293 width: calc(33.3% - 1px);
1296 #titles > button > div.count {
1297 display: inline-block;
1311 margin-bottom: 10px;
1325 border-top-right-radius: 3px;
1326 border-bottom-right-radius: 3px;
1329 transition: left .5s;
1342 transition: left .5s;
1343 border-right: 1px solid;
1345 #source-sidebar > .title {
1348 border-bottom: 1px solid;
1358 .theme-picker button {
1362 #settings-menu, #help-button {
1372 #theme-picker, #settings-menu, #help-button, #copy-path {
1383 font-family: "Fira Sans", Arial, sans-serif;
1390 background: initial;
1408 #theme-choices > button {
1413 background: rgba(0,0,0,0);
1416 #theme-choices > button:not(:first-child) {
1417 border-top: 1px solid;
1421 display: inline-block;
1423 font: 15px monospace;
1425 vertical-align: middle;
1428 box-shadow: inset 0 -1px 0;
1432 .hidden-by-impl-hider,
1433 .hidden-by-usual-hider {
1434 /* important because of conflicting rule for small screens */
1435 display: none !important;
1438 #implementations-list > h3 > span.in-band {
1445 border-collapse: collapse;
1450 .table-display tr td:first-child {
1454 .table-display tr td:last-child {
1457 .table-display .out-of-band {
1462 #implementors-list > .impl-items .table-display .out-of-band {
1466 .table-display td:hover .anchor {
1496 div.files > a:hover, div.name:hover {
1497 background-color: #a14b4b;
1499 div.name.expand + .children {
1510 div.name.expand::before {
1511 transform: rotate(90deg);
1516 /* The hideme class is used on summary tags that contain a span with
1517 placeholder text shown only when the toggle is closed. For instance,
1518 "Expand description" or "Show methods". */
1519 details.rustdoc-toggle > summary.hideme {
1523 details.rustdoc-toggle > summary, details.undocumented > summary {
1526 details.rustdoc-toggle > summary::-webkit-details-marker,
1527 details.rustdoc-toggle > summary::marker,
1528 details.undocumented > summary::-webkit-details-marker,
1529 details.undocumented > summary::marker {
1533 details.rustdoc-toggle > summary.hideme > span {
1537 details.rustdoc-toggle > summary::before {
1541 height: max(17px, 1.1em);
1542 background-repeat: no-repeat;
1543 background-position: top left;
1544 display: inline-block;
1545 vertical-align: middle;
1549 /* Screen readers see the text version at the end the line.
1550 Visual readers see the icon at the start of the line, but small and transparent. */
1551 details.rustdoc-toggle > summary::after {
1559 details.rustdoc-toggle > summary.hideme::after {
1560 /* "hideme" toggles already have a description when they're contracted */
1564 details.rustdoc-toggle > summary:focus::before,
1565 details.rustdoc-toggle > summary:hover::before {
1569 details.rustdoc-toggle.top-doc > summary,
1570 details.rustdoc-toggle.top-doc > summary::before,
1571 details.rustdoc-toggle.non-exhaustive > summary,
1572 details.rustdoc-toggle.non-exhaustive > summary::before {
1573 font-family: 'Fira Sans';
1577 details.non-exhaustive {
1581 details.rustdoc-toggle > summary.hideme::before {
1585 details.rustdoc-toggle > summary:not(.hideme)::before {
1591 .impl-items > details.rustdoc-toggle > summary:not(.hideme)::before,
1592 .undocumented > details.rustdoc-toggle > summary:not(.hideme)::before {
1597 /* When a "hideme" summary is open and the "Expand description" or "Show
1598 methods" text is hidden, we want the [-] toggle that remains to not
1599 affect the layout of the items to its right. To do that, we use
1600 absolute positioning. Note that we also set position: relative
1601 on the parent <details> to make this work properly. */
1602 details.rustdoc-toggle[open] > summary.hideme {
1606 details.rustdoc-toggle, details.undocumented {
1610 details.rustdoc-toggle[open] > summary.hideme > span {
1614 details.rustdoc-toggle[open] > summary::before,
1615 details.rustdoc-toggle[open] > summary.hideme::before {
1617 height: max(17px, 1.1em);
1618 background-repeat: no-repeat;
1619 background-position: top left;
1620 display: inline-block;
1624 details.rustdoc-toggle[open] > summary::after,
1625 details.rustdoc-toggle[open] > summary.hideme::after {
1626 content: "Collapse";
1629 details.undocumented > summary::before {
1631 height: max(17px, 1.1em);
1632 background-repeat: no-repeat;
1633 background-position: top left;
1634 content: "Show hidden undocumented items";
1641 details.undocumented > summary:focus::before,
1642 details.undocumented > summary:hover::before {
1646 details.undocumented[open] > summary::before {
1648 height: max(17px, 1.1em);
1649 background-repeat: no-repeat
1650 background-position: top left;
1651 content: "Hide undocumented items";
1656 @media (min-width: 701px) {
1657 /* In case there is no documentation before a code block, we need to add some margin at the top
1658 to prevent an overlay between the "collapse toggle" and the information tooltip.
1659 However, it's not needed with smaller screen width because the doc/code block is always put
1660 "one line" below. */
1661 .docblock > .information:first-child > .tooltip {
1666 @media (max-width: 700px) {
1671 .rustdoc > .sidebar {
1681 .sidebar > .location {
1685 padding: 3px 10px 1px 10px;
1687 background: inherit;
1692 .sidebar .location:empty {
1696 .sidebar .logo-container {
1705 .sidebar .logo-container > img {
1719 border-bottom: 1px solid;
1720 border-right: 1px solid;
1724 .rustdoc.source > .sidebar > .sidebar-menu {
1728 /* We do NOT hide this element so that alternative device readers still have this information
1736 /* We move the sidebar to the left by its own width so it doesn't appear. */
1739 border-right: 1px solid;
1742 .sidebar > .block.version {
1744 border-bottom: none;
1749 .sidebar > .block.version > div.narrow-helper {
1754 .sidebar > .block.version > p {
1755 /* hide Version text if too narrow */
1758 /* vertically center */
1760 align-items: center;
1765 width: calc(100% - 32px);
1783 display: none !important;
1798 #titles > button > div.count {
1811 background-color: rgba(0,0,0,0);
1815 This allows to prevent the version text to overflow the sidebar title on mobile mode when the
1816 sidebar is displayed (after clicking on the "hamburger" button).
1818 .sidebar.mobile > div.version {
1823 width: calc(100% + 30px);
1826 .show-it, .sidebar-elems:focus-within {
1831 .show-it > .block.items {
1835 .show-it > .block.items > ul {
1839 .show-it > .block.items > ul > li {
1844 .show-it > .block.items > ul > li > a {
1848 /* Because of ios, we need to actually have a full height sidebar title so the
1849 * actual sidebar can show up. But then we need to make it transparent so we don't
1850 * hide content. The filler just allows to create the background for the sidebar
1851 * title. But because of the absolute position, I had to lower the z-index.
1856 width: calc(100% - 45px);
1860 border-bottom: 1px solid;
1863 #main > details.rustdoc-toggle > summary::before,
1864 #main > div > details.rustdoc-toggle > summary::before {
1884 #main > .line-numbers {
1888 .notable-traits .notable-traits-tooltiptext {
1893 /* We don't display the help button on mobile devices. */
1898 /* Display an alternating layout on tablets and phones */
1904 flex-flow: column wrap;
1906 .item-left, .item-right {
1910 .search-container > div {
1911 width: calc(100% - 32px);
1914 /* Display an alternating layout on tablets and phones */
1915 .search-results > a {
1916 border-bottom: 1px solid #aaa9;
1919 .search-results .result-name, .search-results div.desc, .search-results .result-description {
1922 .search-results div.desc, .search-results .result-description, .item-right {
1928 nav.sub, .content .out-of-band {
1933 @media (max-width: 464px) {
1934 #titles, #titles > button {
1938 /* This is to prevent the search bar from being underneath the <section>
1939 * element following it.
1945 #main > table:not(.table-display) td {
1946 word-break: break-word;
1950 .search-container > div {
1952 width: calc(100% - 37px);
1961 #crate-search + .search-input {
1962 width: calc(100% + 71px);
1966 #theme-picker, #settings-menu {
1985 overflow-wrap: anywhere;
1990 /* Begin: styles for --scrape-examples feature */
1992 .scraped-example-title {
1993 font-family: 'Fira Sans';
1996 .scraped-example:not(.expanded) .code-wrapper pre.line-numbers {
2001 .scraped-example:not(.expanded) .code-wrapper .example-wrap pre.rust {
2007 .scraped-example .code-wrapper .prev {
2015 .scraped-example .code-wrapper .next {
2023 .scraped-example .code-wrapper .expand {
2031 .scraped-example .code-wrapper {
2034 flex-direction: row;
2039 .scraped-example:not(.expanded) .code-wrapper:before {
2046 background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
2049 .scraped-example:not(.expanded) .code-wrapper:after {
2056 background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
2059 .scraped-example:not(.expanded) .code-wrapper {
2064 .scraped-example .code-wrapper .line-numbers {
2069 .scraped-example .code-wrapper .line-numbers span {
2073 .scraped-example .code-wrapper .example-wrap {
2080 .scraped-example .code-wrapper .example-wrap pre.rust {
2081 overflow-x: inherit;
2086 .scraped-example .example-wrap .rust span.highlight {
2087 background: #fcffd6;
2090 .scraped-example .example-wrap .rust span.highlight.focus {
2091 background: #f6fdb0;
2094 .more-examples-toggle {
2098 .more-examples-toggle summary {
2100 font-family: 'Fira Sans';
2103 .more-scraped-examples {
2106 flex-direction: row;
2107 width: calc(100% - 25px);
2110 .more-scraped-examples-inner {
2111 /* 20px is width of toggle-line + toggle-line-inner */
2112 width: calc(100% - 20px);
2116 align-self: stretch;
2123 .toggle-line:hover .toggle-line-inner {
2127 .toggle-line-inner {
2133 .more-scraped-examples .scraped-example {
2134 margin-bottom: 20px;
2137 .more-scraped-examples .scraped-example:last-child {
2143 font-family: 'Fira Sans';
2150 /* End: styles for --scrape-examples feature */