@import 'prismjs/themes/prism-tomorrow.css';

img, svg, video, canvas, audio, iframe, embed, object {
    display: unset;
}

body {
    background-color: var(--bgColor-default);
    color: var(--textColor-default);
    --bgColor-default: #ffffff;
    --textColor-default: #24292e;
    @media (prefers-color-scheme: dark) {
        --bgColor-default: #0d1117;
        --textColor-default: #c9d1d9;
    }
}

.main {
    padding: 1em;
    width: fit-content;
    max-width: 624px;
    font-size: 1.2em;
}

textarea {
    width: 90em;
    height: 10em;
    margin: 1em;
    font-size: 1em;
}

/* 数学组件渲染调整 */
mjx-container {
    margin: 0!important;
}