.table { margin-bottom: 2ex; } .table tr { border-bottom: 1px solid #aaa; } .table td { padding-right: 10px; vertical-align: top; } .table td:last-child { padding-right: 0; } .table_label { font-style: italic; } .question:not(.for-solution) { padding: 1ex; background: #ddd; margin-top: 2em; margin-bottom: 2em; position: relative; } .question p { padding: 0; margin: 0; font-weight: 400; } .question .question-text { font-weight: 600; margin: 1ex 1em 1.5ex 1em; } .solution { margin-top: -1.5em; margin-bottom: 1em; text-align: end; } .solution .solution-icon { width: 1em; height: 1em; display: block; margin-right: 0.35em; } .question .question-picture { max-width: 100%; margin-bottom: 1em; } .question .question-picture img { max-width: 100%; } .question .answers { margin-top: 1ex; display: grid; grid-template-columns: repeat(1, 100%); grid-gap: 1ex; align-items: start; } .question.layout-not-found { background: #f88; } .question.layout-not-found .question-text { margin-bottom: 1ex; } .question.layout-not-found .answers { display: none; } .question.layout-2 .answers, .question.layout-6 .answers, .question.layout-8 .answers { grid-template-columns: repeat(2, calc(50% - 1ex / 2)); } .question .answers button { background: #fff; border: 0; cursor: pointer; padding: 1ex 1em; font-size: 100%; text-align: left; position: relative; line-height: 133%; font-family: Roboto, sans-serif; font-weight: 400; } .question .answers button:focus { outline: 0; } .question .answers img { max-width: 100%; } .question .answers button .result { display: none; } .question .answers button.correct { background: #3bb583; } .question .answers button.wrong { background: #fe756c; } .question .answers button.correct .result, .question .answers button.wrong .result { position: absolute; right: 0; bottom: 0; display: block; } figure { margin-bottom: 6ex; } figure img { min-width: min(59.3%, 800px); max-width: min(59.3%, 800px); max-height: 50vh; object-fit: contain; } figcaption { font-style: italic; margin-bottom: 6ex; } .qso_own, .qso_other { background: #ddd; display: inline-block; position: relative; width: 80%; padding: 1ex; margin-bottom: 1ex; } .qso_own { margin-left: 40px; } .qso_other { margin-left: calc(40px + 10%); } .qso_own:after { content: " "; position: absolute; width: 0; height: 0; left: -20px; right: auto; top: 0px; bottom: auto; border: 22px solid; border-color: #ddd transparent transparent transparent; } .qso_other:after { content: " "; position: absolute; width: 0; height: 0; left: auto; right: -20px; top: 0px; bottom: auto; border: 20px solid; border-color: #ddd transparent transparent transparent; } p, li, tr, td { hyphens: auto; -webkit-hyphens: auto; text-align: justify; } ul { list-style-type: square; } ul li::marker { color: #2aa6da; } ol li { margin-bottom: 1ex; } a { color: #2aa6da; } a:hover { color: #2aa6da; } footer { clear: right; } span.morse { font-size: 33%; position: relative; bottom: 1.7ex; } span.morse_char { padding-right: 3ex; white-space: nowrap; } span.morse_char:last-child { padding-right: 0; } span.morse_symbol { padding-right: 1.6ex; letter-spacing: -0.05ex; } span.morse_char:last-child { padding-right: 0; } span.formula { display: block; text-align: center; } .info_alpha { margin-bottom: 2ex; padding: 2ex; background: #ff756d; color: #fff; } .info_beta { margin-bottom: 2ex; padding: 2ex; background: #b8eaff; } .info_beta a { color: #22f; } @media (min-width: 800px) { .course p, .course ul, .course ol, .course .question, .course .solution, .course .table, .course .katex-display { width: 59.3%; } .course .margin { clear: right; float: right; margin-left: 5%; width: 35.7%; margin-bottom: 4ex; } .course .margin .table { width: 100%; } .course .margin p, .course .margin ul, .course .margin ol { width: auto; } .margin .photo, .margin .picture { margin-bottom: 0; } .margin .photo img, .margin .picture img { min-width: 100%; max-width: 100%; max-height: none; } } @media (max-width: 800px) { .course .margin { margin-top: 4ex; margin-bottom: 4ex; } figure img { min-width: min(100%, 800px); max-width: min(100%, 800px); max-height: 50vh; object-fit: contain; } } .course em { font-style: normal; font-weight: 600; color: #2aa6da; } .course .margin.tip:before, .course .margin.unit:before, .course .margin.indepth:before, .course .margin.attention:before, .course .margin.danger:before { background-position: left bottom; background-repeat: no-repeat; background-size: contain; display: block; padding: 0.4ex 0 0.4ex 4ex; line-height: 133%; margin-bottom: 0.5ex; } .course .margin.tip, .course .margin.unit, .course .margin.indepth, .course .margin.attention, .course .margin.danger { border-left: 5px solid #bbb; padding-left: 0.5em; } .course .margin.tip { border-left-color: #2aa6da; } .course .margin.tip:before { content: "Tipp"; background-color: #b8eaff; background-image: url('data:image/svg+xml;utf8,'); } .course .margin.unit { border-left-color: #40c08c; } .course .margin.unit:before { content: "Neue Einheit"; background-color: #b5e8d3; background-image: url('data:image/svg+xml;utf8,'); } .course .margin.indepth:before { content: "Vertiefung"; background-color: #ddd; background-image: url('data:image/svg+xml;utf8,'); } .course .margin.attention { border-left-color: #ffb300; } .course .margin.attention:before { content: "Achtung"; background-color: #ffe5a9; background-image: url('data:image/svg+xml;utf8,'); } .course .margin.danger { border-left-color: #ff756d; } .course .margin.danger:before { content: "Gefahr"; background-color: #ffcfcc; background-image: url('data:image/svg+xml;utf8,'); } .course-toc, .chapter-toc { width: 600px; max-width: calc(100vw - 20px); } .course-toc .btn-label, .chapter-toc .btn-label { position: relative; left: -12px; width: 4em; display: inline-block; padding: 6px 12px; background: #00adef; color: #fff; border-radius: 3px 0 0 3px; text-align: right; } .course-toc .btn-labeled, .chapter-toc .btn-labeled { padding-top: 0; padding-bottom: 0; text-align: left; } .answers button:before { font-weight: 600; } .answers button:nth-child(1):before { content: "A:"; } .answers button:nth-child(2):before { content: "B:"; } .answers button:nth-child(3):before { content: "C:"; } .answers button:nth-child(4):before { content: "D:"; } /* Enable Line Breaks in Equations ... */ .course .katex-display > .katex { white-space: normal; } /* Add space between broken lines: */ .course .katex-display .base { margin: 0.5em 0em; } /* Compensate by reducing space around display math */ .course .katex-display { margin: 1em 0em; } /* Quiz-Modus */ body[data-quiz-mode][data-quiz-has-questions] .course > * { display: none !important; } body[data-quiz-mode][data-quiz-has-questions] .course > [data-quiz-shown] { display: revert !important; }