@charset "UTF-8";/* intentionally left blank */ :root { --mdbook-fg: black; --mdbook-bg: white; --mdbook-light-border-color: #ccc; --mdbook-heavy-border-color: #aaa; --mdbook-button-bg: #fafafa; --mdbook-button-fg: black; --mdbook-button-border-color: #888; --mdbook-prompt-bg: #f1f6f9; --mdbook-error-color: #e16969; --mdbook-highlight: #ffffc1; --mdbook-correct: green; --mdbook-incorrect: red; --mdbook-icon-color: #747474; --mdbook-multipart-bg: #fafafa; } .mdbook-quiz { border: 2px solid var(--mdbook-heavy-border-color); border-radius: 4px; padding: 1em; margin-top: 2.5em; position: relative; } @media (max-width: 799px) { .mdbook-quiz { padding: 0.5em; } } .mdbook-quiz .exit { position: absolute; right: -4rem; top: 0; font-weight: bold; cursor: pointer; padding: 1rem; } @media (max-width: 799px) { .mdbook-quiz .exit { right: 0; top: -45px; } } .mdbook-quiz .exit-explanation { position: absolute; bottom: -2rem; right: 0; height: 0; width: 50%; font-size: 0.8em; display: flex; flex-direction: column; align-items: flex-end; } @media (max-width: 799px) { .mdbook-quiz .exit-explanation { width: 100%; } } .mdbook-quiz .exit-explanation .trigger { font-style: italic; cursor: pointer; margin-bottom: 0.5rem; } .mdbook-quiz header { display: flex; justify-content: space-between; } .mdbook-quiz h3 { margin: 0 0 1em; } .mdbook-quiz h4 { margin: 0 0 0.5em; } .mdbook-quiz button, .mdbook-quiz input[type=submit] { font-size: 1.1em; cursor: pointer; background-color: var(--mdbook-button-bg); color: var(--mdbook-button-fg); border: 1px solid var(--mdbook-button-border-color); border-radius: 4px; padding: 3px 5px; } .mdbook-quiz form input.error, .mdbook-quiz form textarea.error { outline-color: var(--mdbook-error-color); } .mdbook-quiz form :not(input, textarea).error { border: 1px solid var(--mdbook-error-color); } .mdbook-quiz textarea, .mdbook-quiz input[type=text] { width: 100%; box-sizing: border-box; } .mdbook-quiz select, .mdbook-quiz textarea, .mdbook-quiz input[type=text] { padding: 3px 6px; } .mdbook-quiz textarea { min-height: 5em; } .mdbook-quiz pre.line-numbers { counter-reset: line; display: grid; grid-template-columns: min-content 1fr; grid-auto-rows: auto 1em; gap: 0.2em; } @media (max-width: 799px) { .mdbook-quiz pre { overflow-x: auto; overflow-y: hidden; line-height: 1em; } } .mdbook-quiz pre .line-number { text-align: right; } .mdbook-quiz pre .line-number::before { counter-increment: line; content: counter(line); user-select: none; padding-right: 1em; color: var(--mdbook-heavy-border-color); font-size: 0.8em; } .mdbook-quiz pre code { padding: 0; } .mdbook-quiz pre mark { background: var(--mdbook-highlight); } .mdbook-quiz .editor .monaco-editor, .mdbook-quiz .editor .monaco-editor-background, .mdbook-quiz .editor .monaco-editor .margin { background: none !important; } .mdbook-quiz .editor .monaco-hover hr { margin-bottom: 4px; } .mdbook-quiz .editor .highlight { background: var(--mdbook-highlight); } .mdbook-quiz p:first-child, .mdbook-quiz pre:first-child { margin-top: 0; } .mdbook-quiz p:last-child, .mdbook-quiz pre:last-child { margin-bottom: 0; } .mdbook-quiz input[type=submit] { margin-top: 1em; } .mdbook-quiz .prompt, .mdbook-quiz .response { position: relative; padding: 1em; } @media (max-width: 799px) { .mdbook-quiz .prompt, .mdbook-quiz .response { padding: 0.75em; } } .mdbook-quiz .prompt { background: var(--mdbook-prompt-bg); margin-bottom: 1em; } .mdbook-quiz .prompt pre { overflow-x: auto; overflow-y: hidden; } .mdbook-quiz .prompt .bug-report { position: absolute; max-width: 70%; right: 0.5em; top: 0.5em; text-align: right; } .mdbook-quiz .prompt .bug-report button { filter: grayscale(100%); border: 0; background: none; color: var(--mdbook-fg); } .mdbook-quiz .prompt .bug-report .reporter { background: var(--mdbook-bg); border: 2px solid var(--mdbook-light-border-color); padding: 0.5em; text-align: left; border-radius: 4px; box-shadow: 1px 1px 4px var(--mdbook-light-border-color); position: relative; z-index: 1000; } .mdbook-quiz .prompt .bug-report .reporter .close { position: absolute; top: 5px; right: 5px; } .mdbook-quiz .response fieldset { border: none; margin: 0 0 1em; padding: 0; } .mdbook-quiz .response fieldset .choice { max-width: 100%; } .mdbook-quiz .response fieldset .choice label { display: block; flex-grow: 1; width: 0; } .mdbook-quiz .response fieldset .choice pre, .mdbook-quiz .response fieldset .choice .editor { border: 1px solid var(--mdbook-light-border-color); border-radius: 4px; padding: 2px 4px; } .mdbook-quiz .response fieldset .choice pre { width: max-content; } .mdbook-quiz .response .response-block { margin-bottom: 0.5em; } @media (max-width: 799px) { .mdbook-quiz .response .response-block { line-height: 2em; } } .mdbook-quiz .option { border: 2px solid var(--mdbook-light-border-color); border-radius: 4px; padding: 0.25em; margin: 0 0.25em; display: inline-block; } .mdbook-quiz .option-separator { margin: 0 0.5em; } .mdbook-quiz .answer-wrapper:not(:last-child) { margin-bottom: 4rem; padding-bottom: 2rem; border-bottom: 2px solid var(--mdbook-light-border-color); } .mdbook-quiz .answer .answer-header { margin-bottom: 1em; } .mdbook-quiz .answer .answer-row { display: flex; gap: 1rem; } @media (max-width: 799px) { .mdbook-quiz .answer .answer-row { flex-wrap: wrap; } } .mdbook-quiz .answer .answer-row ul { margin-block-start: 0; margin-block-end: 0; padding-left: 1em; } .mdbook-quiz .answer .answer-row ul li { margin-block-end: 0.5em; } .mdbook-quiz .answer .answer-row > div { border: 2px solid var(--mdbook-light-border-color); padding: 1rem; width: 50%; overflow: auto; } @media (max-width: 799px) { .mdbook-quiz .answer .answer-row > div { width: 100%; } } .mdbook-quiz .answer .answer-row > div .answer-header { font-weight: bold; } .mdbook-quiz .answer .answer-row > div .correct::before { color: var(--mdbook-correct); margin-right: 1rem; content: "✓ Correct"; font-size: 1.5rem; } .mdbook-quiz .answer .answer-row > div .incorrect::before { color: var(--mdbook-incorrect); margin-right: 1rem; content: "✗ Incorrect"; font-size: 1.5rem; } .mdbook-quiz .answer .context { margin-top: 1em; } .mdbook-quiz .info-wrapper { display: inline-block; position: relative; } .mdbook-quiz .info-popout { position: absolute; background: var(--mdbook-bg); left: calc(100% + 10px); border: 1px solid var(--mdbook-light-border-color); padding: 0.5em; text-align: left; border-radius: 4px; max-width: 400px; width: max-content; box-shadow: 1px 1px 4px var(--mdbook-light-border-color); } .mdbook-quiz .info { display: inline-block; color: var(--mdbook-icon-color); border: 1px solid var(--mdbook-icon-color); border-radius: 50%; vertical-align: middle; font-size: 12px; width: 17px; height: 17px; font-weight: bold; line-height: 1em; text-align: center; cursor: pointer; } .mdbook-quiz .info:hover { color: var(--mdbook-fg); border-color: var(--mdbook-fg); } .mdbook-quiz .info::before { content: "?"; vertical-align: middle; } .mdbook-quiz .multiple-choice .response fieldset .choice { display: flex; gap: 10px; } .mdbook-quiz .multiple-choice .response fieldset .choice:not(:last-child) { margin-bottom: 1em; } .mdbook-quiz .multiple-choice input[type=radio] { margin: 0; } .mdbook-quiz .multiple-choice input[type=radio].error { outline: 1px solid var(--mdbook-error-color); } .mdbook-quiz .multipart-context { padding-left: 1em; } .mdbook-quiz .multipart-context .multipart-context-content { border: 1px solid var(--mdbook-light-border-color); padding: 0.5em; background-color: var(--mdbook-multipart-bg); margin-bottom: 1em; } .mdbook-quiz .rotate-arrow { transform: rotate(-90deg); display: inline-block; } .mdbook-quiz-wrapper.expanded { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 999; padding: 0 10rem; box-sizing: border-box; overflow-y: auto; background: var(--mdbook-bg); } @media (max-width: 799px) { .mdbook-quiz-wrapper.expanded { padding: 0 1rem; } } .mdbook-quiz-wrapper.expanded .mdbook-quiz { max-width: 800px; margin-left: auto; margin-right: auto; } :root { --mdbook-fg: var(--fg); --mdbook-bg: var(--bg); --mdbook-light-border-color: var(--theme-popup-border); --mdbook-heavy-border-color: var(--searchresults-border-color); --mdbook-button-bg: var(--searchbar-bg); --mdbook-button-fg: var(--searchbar-fg); --mdbook-button-border-color: var(--searchresults-border-color); --mdbook-prompt-bg: var(--quote-bg); --mdbook-icon-color: var(--icons); --mdbook-multipart-bg: var(--theme-popup-bg); } .ayu { --mdbook-highlight: #46480f; } .coal { --mdbook-highlight: #46480f; } .light { --mdbook-highlight: #ffffc1; } .navy { --mdbook-highlight: #46480f; } .rust { --mdbook-highlight: #fdf2ca; }