.code-example {
    font-family: monospace;
    margin: 1.5rem 0;
}
.code-example .example-header {
    background-color: var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0.25rem 0.25rem 0 0;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0.125rem 0.5rem;
    align-items: center;
}
.code-example .example-header .example-metas {
    margin-right: auto;
    display: flex;
    gap: 2rem;
}
.code-example .example-header .language-name {
    text-transform: uppercase;
}
.code-example .example-header .file-structure {
    display: flex;
}
.code-example .example-header .file-structure span.root {
    opacity: 0.6;
}
.code-example .example-header .file-structure span:not(:first-child):before {
    content: "/";
}
.code-example .example-header button {
    font-size: 1rem;
    padding: 0.35rem 0.5rem;
    margin: 0.25rem;
    margin-right: 0;
    border: 2px dotted var(--text-color);
    border-radius: 0.25rem;
    color: var(--text-color);
    background: inherit;
    cursor: pointer;
}
/*
.code-example pre {
    background-color: #343343;
    border: 1px solid transparent;
    border-radius: 0 0 0.25rem 0.25rem;
    margin: 0 0 2rem;
    padding: 1rem 2.5rem 1rem 1rem;
    font-size: 0.83rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.code-example pre code {
    background: none;
    color: var(--text-color);
    padding: 0;
    width: fit-content;
}
*/
.code-example pre {
    white-space: pre-wrap;
    margin: 0;
    background-color: var(--bg-color-code);
    border-radius: 0 0 0.25rem 0.25rem;
    color: var(--text-color);
}
.code-example code, .code-example pre {
    color: var(--text-color);
    text-shadow: 0 1px #000;
    border: none;
    box-shadow: none;
}

.code-example.example-bad pre {
    background-color: rgba(255, 30, 30, 0.1);
}
.code-example.example-bad .example-header {
    background-color: rgba(255, 30, 30, .2);
}
.code-example.example-good pre {
    background-color: rgba(30, 255, 30, 0.1);
}
.code-example.example-good .example-header {
    background-color: rgba(30, 255, 30, .2);
}

.important {
    border: 3px solid var(--border-color);
    border-radius: 0.25rem;
    padding: 1rem 2.5rem 1.5rem 2.5rem;
    margin: 1rem 0;
}
.important h3:first-child::before {
    content: "?? ";
}
.important.warn h3:first-child::before {
    content: "!! ";
}