/*
Theme Name: School Theme
Theme URI: https://www.cqnews.net/
Author: Cqca Team
Author URI: https://www.cqnews.net/
Description: 二级学院主题。
Version: 1.0.0
Text Domain: School Theme
*/

/* 
 * 核心样式已随 React (Vite) 的打包结果加载，
 * 因此该文件基本仅留作 WordPress 的主题描述头信息（必须）。
 */

@font-face {
    font-family: 'CQCA Songti';
    src: url('./dist/fonts/NotoSerifSC-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CQCA Heiti';
    src: url('./dist/fonts/Source_Han_Sans_SC_Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CQCA Heiti';
    src: url('./dist/fonts/Source_Han_Sans_SC_Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CQCA Fangsong';
    src: url('./dist/fonts/ZhuqueFangsong-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CQCA Kaiti';
    src: url('./dist/fonts/LXGWWenKai-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CQCA Lishu';
    src: url('./dist/fonts/MaShanZheng-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.prose p,
.wordpress-content p,
.prose li,
.wordpress-content li {
    text-align: justify;
    text-justify: inter-ideograph;
}

@media (min-width: 1024px) {
    .prose img,
    .wordpress-content img {
        display: block;
        width: auto;
        max-width: min(100%, 1000px);
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
}
