mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-02 20:02:00 -05:00
* feat(client): hide the outline instead of removing it * remove the old :focus outline values Co-authored-by: Bruce B <bbsmooth@gmail.com> --------- Co-authored-by: Bruce B <bbsmooth@gmail.com>
26 lines
432 B
CSS
26 lines
432 B
CSS
.output-text {
|
|
white-space: pre-wrap;
|
|
word-break: normal;
|
|
padding-top: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
pre.output-text code {
|
|
background-color: var(--quaternary-background);
|
|
color: var(--tertiary-color);
|
|
font-size: 90%;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
.output-text:focus-visible {
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
@supports not selector(:focus-visible) {
|
|
.output-text:focus {
|
|
outline-offset: -2px;
|
|
}
|
|
}
|