mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-11-17 16:04:28 -06:00
40 lines
1.1 KiB
CSS
40 lines
1.1 KiB
CSS
/* Compile the workspace's existing utility classes into its shadow stylesheet. */
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
/* Quiz annotations must survive sanitized saved-conversation restoration. */
|
|
.socratiq-quiz .reference-number {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 20px;
|
|
height: 20px;
|
|
margin-left: 6px;
|
|
padding: 0 6px;
|
|
border: 1px solid var(--socratiq-border, #d0d7de);
|
|
border-radius: 12px;
|
|
background: var(--socratiq-hover, #f6f8fa);
|
|
color: var(--socratiq-text, #1f2328);
|
|
font-size: .75rem;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
vertical-align: middle;
|
|
cursor: pointer;
|
|
}
|
|
.socratiq-quiz .reference-number:hover {
|
|
background: var(--socratiq-accent-bg, #f7e6ea);
|
|
}
|
|
.socratiq-quiz .quiz-correct-label,
|
|
.socratiq-quiz .border-green-500.text-green-500 {
|
|
background: var(--socratiq-bg, #ffffff);
|
|
color: var(--socratiq-text, #1f2328);
|
|
}
|
|
.socratiq-quiz .explanation {
|
|
color: var(--socratiq-text, #1f2328);
|
|
}
|
|
.socratiq-quiz .reference-number:focus-visible {
|
|
outline: 2px solid var(--socratiq-accent, #8e1537);
|
|
outline-offset: 2px;
|
|
}
|