:root {
    /*颜色、背景图*/
    --ttcol: #D14D23;
    --h1col: #6E0346;
    --h2col: #59621D;
    --h3col: #01824A;
    --h4col: #6E90B6;
    --h5col: #364C9C;
    --h6col: #230B55;
    --txcol: #000000;
    --thcol: #ffffff;
    --lkcol: #0000ff;
    --bgurl: url("https://images.cnblogs.com/cnblogs_com/blogs/867280/galleries/2507216/o_0e357ebd.png");
    --sbcol: rgba(0,0,0,0.07);
    --bgcol: rgba(246,246,246,0.22);
    /*字号*/
    --cdsiz: 14px;
    --txsiz: 18px;
    --h6siz: 20px;
    --h5siz: 21px;
    --h4siz: 22px;
    --h3siz: 24px;
    --h2siz: 26px;
    --h1siz: 28px;
    --ttsiz: 32px;
    /*边距*/
    --sddis: 2.2em;
    --mndis: 2.9em;
}
html.nicht {
    --ttcol: #C70541;
    --h1col: #EDCF3B;
    --h2col: #00BDE2;
    --h3col: #E89E47;
    --h4col: #5EC998;
    --h5col: #6E90B6;
    --h6col: #BBD80A;
    --txcol: #fafafa;
    --thcol: #000000;
    --lkcol: #ffff00;
    --bgurl: url("https://images.cnblogs.com/cnblogs_com/blogs/867280/galleries/2507216/o_260707104742_o_260523075829_Dark.png");
    --sbcol: rgba(0,0,0,0.32);
    --bgcol: rgba(255,255,255,0.12);
}
html.large {
    --cdsiz: 17px;
    --txsiz: 21px;
    --h6siz: 23px;
    --h5siz: 24px;
    --h4siz: 25px;
    --h3siz: 27px;
    --h2siz: 29px;
    --h1siz: 32px;
    --ttsiz: 36px;
    --sddis: 2.6em;
    --mndis: 2.1em;
}

/*头部*/
#blogTitle h1 { /*博客标题*/
    padding: 0em 0em !important;
    text-align: center;
}
#blogTitle h2 {
    text-align: left;
}
body { /*背景图*/
    background: var(--bgurl) center / 100% 100% no-repeat;
    background-attachment: fixed;
}
#navigator, #navList, #navList a, #navList li, .blogStats { /*导航栏透明化*/
    background-color: rgba(0,0,0,0);
    color: var(--txcol) !important;
}

/*
设置字体。
正文：宋体 + Times New Roman 正常；
斜体：楷体 + Times New Roman 粗斜；
粗体：黑体 + Times New Roman 粗体；
粗斜：隶书 + Times New Roman 斜体；
h1-6：黑体 + Arial。
*/
pre td {
    font-family: inherit !important;
    color: inherit !important;
}

#cnblogs_post_body p, 
#sidebar_news .newsItem p {
    text-indent: 2em;
}
#cnblogs_post_body p code {
    text-indent: 0 !important;
}
#cnblogs_post_body ul,
#cnblogs_post_body ol, 
#sidebar_news .newsItem ul,
#sidebar_news .newsItem ol {
    margin: 0.5em 0;
    padding-left: 2em;
}
html {
    font-synthesis: none !important;
}
body, p, li, td { /*正文*/
    font-synthesis: none;
    color: var(--txcol);
    font-size: var(--txsiz);
    font-family: "Times New Roman","宋体","SimSun";
}
i, em, cite, dfn { /*斜体*/
    font-family: "Times New Roman","楷体","KaiTi";
    font-style: italic;
    font-synthesis: none !important;
    /* 
    这些中文字体大多没有自己的粗、斜变形，
    他们的变形主要靠浏览器自己合成，
    上面这行代码可以禁止浏览器自己合成粗、斜字体。
    */
}
.math.display { /*数学公式*/
    color: var(--txcol);
}
.math.inline {
    color: inherit !important;
}
strong, b, th { /*粗体*/
    font-family: "Times New Roman",'黑体',"SimHei";
    font-weight: bold;
    font-synthesis: none !important;
}
b i, i b, strong em, em strong { /*粗斜*/
    font-family: "Times New Roman",'隶书',"仿宋";
    font-style: italic;
    font-weight: bold;
    font-synthesis: none !important;
}
/*
p code, td code, li code, blockquote code { 
    background-color: #ccddee !important;
    color: #523232 !important;
    font-size: var(--cdsiz) !important;
}*/
#topics .postTitle a{ /*文章标题*/
    font-size: var(--ttsiz) !important;
    text-align: left;
    color: var(--ttcol) !important;
    font-synthesis: none;
}
.footnote-ref a {
    font-size: var(--txsiz) !important;
}

h1, h2, h3, h4, h5, h6 { /*文章内部 6 种标题*/
    font-family: "Times New Roman","黑体";
    font-synthesis: none;
}
h1, h1 a, .entrylistTitle {
    font-synthesis: none !important;
    font-size: var(--h1siz) !important;
    text-align: center;
    color: var(--h1col) !important;
}
.postBody h1 {
    border-top: 1px dashed var(--h5col);
    border-right: 6px solid var(--h5col);
    border-bottom: 1px dashed var(--h5col);
    border-left: 6px solid var(--h5col);
    border-radius: 12px;
}
h2, h2 a {
    font-size: var(--h2siz) !important;
    color: var(--h2col) !important;
    text-align: center;
}
h3, h3 a {
    font-size: var(--h3siz) !important;
    color: var(--h3col) !important;
}
h4, h4 a {
    font-size: var(--h4siz) !important;
    color: var(--h4col) !important;
}
h5, h5 a {
    font-size: var(--h5siz) !important;
    color: var(--h5col) !important;
}
h6, h6 a {
    font-size: var(--h6siz) !important;
    color: var(--h6col) !important;
}
a { /*链接文字颜色*/
    color: var(--lkcol) !important;
}
.forFlow { /*主板*/
    background-color: var(--bgcol);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 0.3em var(--mndis);
}
.postTitle2.vertical-middle, .dayTitle { /*标题*/
    font-family: "Arial","黑体";
    font-weight: normal;
}
blockquote {
    border: 2px dashed var(--h3col) !important;
    padding: 0.2em 1.2em !important;
}
.current-collection {
    background-color: rgba(255,255,255,0.1);
    font-synthesis: none !important;
}
#postBody { display: flex; }
.current-collection { margin: auto; }
.current-collection li:nth-child(odd) { background-color: rgba(0,0,0,0.1); }
.current-collection li:nth-child(even) { background-color: rgba(255,255,255,0.1); }
.current-collection-item.current { 
    background-color: rgba(255,255,0,0.1)! important;
    color: var(--txcol);
}

/*侧边栏*/
#sideBar {
    background-color: var(--sbcol);
    border-radius: 15px;
    backdrop-filter: blur(3px);
    border-top: 0px solid #EDCF3B;
    border-right: 2px solid #EDCF3B;
    border-bottom: 0px solid #EDCF3B;
    border-left: 2px solid #EDCF3B;
    padding: 0.2em var(--sddis);
}
.newsItem .catListTitle {
    display: block;
}
input, textarea {
    background-color: rgba(255,255,255,0.32) !important;
}
.CalTitle {
    background-color: rgba(0,0,0,0);
}
.CalOtherMonthDay {
    color: #888888;
}
.CalDayHeader {
    color: var(--ttcol);
    font-family: "黑体";
    font-synthesis: none;
}
.CalWeekendDay {
    color: var(--h2col);
}
.cal-today {
    color: var(--h1col);
}
/* 评论区 */
.commentbox_main.comment_textarea { 
    border: 0px solid #000;
    background-color: rgba(255,255,255,0) !important;
}
#tbCommentBody {
    border: 0px solid #000;
    border-radius: 15px;
    padding: 1.2em 1.4em;
    background-color: rgba(255,255,255,0.74) !important;
}
#tbCommentBodyPreviewBody {
    border: 0px solid #000;
    border-radius: 15px;
    padding: 1.2em 1.4em;
    background-color: rgba(255,255,255,0.74) !important;
}
#SwitchTheme, #btn_comment_submit.comment_btn {
    background-color: #EDCF3B !important;
    color: #000;
    border-radius: 3px;
    border: 2px solid #EDCF3B;
}
.feedbackCon {
    background-image: none !important;
}