/*******************************************************************************
CUSTOM STYLES

Add your custom CSS styles here to override or extend the default styles.
*******************************************************************************/


/* 边注中的拉丁字符使用 Times New Roman，中文继续回退到楷体。 */
.marginnote {
    font-family: "Times New Roman", "楷体", "KaiTi", "华文楷书", "STKaiti", serif !important;
}

/* 移动端 margin note 使用相同的中英文字体回退顺序。 */
@media (max-width: 760px) {
	.marginnote {
		font-family: "Times New Roman", "楷体", "KaiTi", "华文楷书", "STKaiti", serif;
	}
}

.fullwidth {
    font-size: 1.25rem; /* 1rem = 根元素(html)字号，通常就是正文基准 */
}

.site-view-counter {
	display: inline-block;
	width: auto;
	height: 20px;
	margin: 0;
	vertical-align: middle;
}

pre[style*="position: relative;"] {
    background-color: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
    border-left: 4px solid #a21caf !important;
    border-radius: 6px !important;
    padding: 1rem 1.2rem !important;
    position: relative !important;
    overflow: auto !important;
}
