/**
* 这是用于美化trilium内容区的css
* 参考 https: //docs.triliumnotes.org/user-guide/theme-development/custom-appcss
* 只要添加一条属性为 #appCss 的css note 即可应用此css 
*/
/* 避免ckeditor中有height值的图片被ckeditor的css改成auto */
.ck.ck-editor__editable .image-inline img[height] {
    height: attr(height px);
}

.ck-content {
    font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
        line-height: 1.8 !important;
    -webkit-font-smoothing: antialiased;
    --ck-content-font-size: 1em;
    /* --ck-content-font-color: rgb(31, 35, 41); 这一行会导致darkmode的字很黑 */
}
.ck-content h2,
h3,
h4,
h5,
h6 {
    font-weight: 500 !important;
    line-height: 1.6 !important;
    /* border-bottom:none !important; */
}
.ck-content img {
    max-width: 600px !important;
    max-height: 500px !important;
    object-fit: scale-down;
    /* width: auto !important; */
    /* height: auto !important; */
    /* border:1px solid var(--main-border-color); */
}
.ck-content p {
    margin-top: 0.3rem;
    margin-bottom: 0.7rem;
}
body.theme-light {
    --text-primary: rgb(31, 35, 41);
}
#content-footer .updated {
    display: none;
}

#main {
    max-width: 1000px;
}
#copyright {
    text-align: center;
    font-size: 12px;
    opacity: 0.3;
}
#copyright a {
    color: inherit;
}