Spaces:
Running
Running
File size: 859 Bytes
9171a06 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | .teach {
margin-top: var(--s-3);
border: 1px solid var(--hairline);
border-radius: var(--r-control);
background: var(--panel);
}
.teach > summary {
cursor: pointer;
padding: 10px 14px;
color: var(--text-dim);
font-size: 0.9rem;
list-style: none;
display: flex;
align-items: center;
gap: 8px;
}
.teach > summary::-webkit-details-marker {
display: none;
}
.teach > summary::before {
content: '?';
display: inline-grid;
place-items: center;
width: 18px;
height: 18px;
border-radius: 50%;
background: var(--accent-gradient);
color: #fff;
font-size: 11px;
font-weight: 700;
flex: none;
}
.teach[open] > summary {
color: var(--text);
}
.teach__body {
padding: 0 14px 14px 40px;
color: var(--text-dim);
font-size: 0.9rem;
line-height: 1.6;
}
.teach__body strong {
color: var(--text);
font-weight: 600;
}
|