/* 广告处理 */
#cnblogs_c1 {
    display: none;
}

/* GITHUB */
.github-corner {
    border-bottom: 0;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1;
}

.github-corner svg {
    fill: #0948b3;
    height: 80px;
    width: 80px;
}

.github-corner svg * {
    color: #fff !important;
}

/* 全局基础设置 */
* {
    color: #17233f !important;
    font-family: Source Sans Pro, Helvetica Neue, Arial, sans-serif;
    letter-spacing: 1px;
}

a {
    text-decoration: none !important;
}

body {
    margin: 0;
    padding: 0;
    background: #f7f7f8;
}

/* 内容区宽度设置 */
@media screen and (max-width:1200px) {
    #nav_main {
        margin: 0 auto;
        width: 1000px;
    }

    #main {
        margin: 0 auto;
        width: 1000px;
    }

    #navigator {
        margin: 0 auto;
        width: 1000px;
    }
}

@media screen and (max-width:1440px) {
    #nav_main {
        margin: 0 auto;
        width: 1200px;
    }

    #main {
        margin: 0 auto;
        width: 1200px;
    }

    #navigator {
        margin: 0 auto;
        width: 1200px;
    }
}

@media screen and (min-width:1700px) {
    #nav_main {
        margin: 0 auto;
        width: 1500px;
    }

    #main {
        margin: 0 auto;
        width: 1500px;
    }

    #navigator {
        margin: 0 auto;
        width: 1500px;
    }
}

/* 菜单栏 ############################################################################################### */
/* 菜单栏 */
#header {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: #000;
}

/* 菜单栏 - 标题 */
#header #blogTitle {
    display: none;
}

/* 菜单栏 */
#header #navigator {
    height: 30px;
    line-height: 30px;
}

#header #navigator * {
    color: #fff !important;
    font-size: 13px;
    height: 30px;
    line-height: 30px;
    letter-spacing: 2px;
}

/* 菜单栏 - 左边菜单 */
#header #navigator #navList {
    float: left;
}

#header #navigator #navList {
    list-style: none;
    padding-inline-start: 0 !important;
    margin: 0;
}

#header #navigator #navList li {
    display: inline;
    margin-right: 15px;
}

#header #navigator #navList li a:hover {
    color: orange !important;
}

/* 菜单栏 - 右边信息 */
#header .blogStats {
    float: right;
}

/* 顶部导航栏 ############################################################################################### */
/* 顶部导航栏 */
.navbar {
    top: 30px;
    position: relative;
    display: flex !important;
    height: 60px;
    padding: 0;
    background-color: #fff;
    box-shadow: 0px 15px 10px -15px rgb(44 46 54 / 20%);
}

/* 顶部菜单栏 - 菜单样式 */
.navbar ul {
    padding-inline-start: 0 !important;
}

/* 顶部菜单栏 - logo 样式 */
.navbar>nav .navbar-branding {
    width: 100px;
}

.navbar>nav .navbar-branding img {
    margin-left: 0;
}

/* 顶部菜单栏 - 搜索框样式 */
.navbar>nav .navbar-search {
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 0px;
    background-color: #f4f4f4;
    height: 30px;
    width: 300px;
}

.navbar>nav .navbar-search>input {
    width: 300px;
    font-size: 13px;
    letter-spacing: 2px;
}

/* 顶部菜单栏 - 右侧图标 */
.navbar>nav .navbar-left>*:not(:first-child) {
    margin-right: 10px;
    margin-left: 10px;
}

/* 顶部菜单栏 - 头像下拉菜单样式 */
.dropdown>.dropdown-menu {
    border-radius: 0;
    background-color: #fff;
    text-align: center;
}

.dropdown-menu a {
    font-size: 13px;
}

.dropdown-menu a:hover {
    color: #0948b3 !important;
}

/* 主体 ############################################################################################### */
/* 内容主体 */
#main {
    position: relative;
    top: 50px;
    display: flex;
}

/* 内容主体 ############################################################################################### */
#main #mainContent {
    flex: 1;
}

#main #mainContent #post_detail {
    padding: 50px 80px;
    background-color: #fff;
    box-shadow: 2px 2px 10px #ddd;
}

/* 文章标题 */
#main #mainContent #post_detail .postTitle {
    white-space: nowrap;
    font-size: 23px;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
}

/* 文章信息 */
#main #mainContent #post_detail #blog_post_info_block {
    position: absolute;
    top: 140px;
    margin-top: 0;
    background: #f9f9fa;
    width: calc(100% - 520px);
    padding: 10px 20px;
    padding-bottom: 30px;
}

/* 文章信息 - 用户头像信息 */
#main #mainContent #post_detail #blog_post_info_block #author_profile_info,
#author_profile_follow {
    display: none;
}

#main #mainContent #post_detail #blog_post_info_block * {
    color: #6b7486 !important;
}

/* 文章信息 - 标签 */
#main #mainContent #post_detail #blog_post_info_block #BlogPostCategory {
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    margin-bottom: 0;
}

#main #mainContent #post_detail #blog_post_info_block #BlogPostCategory a {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    background: #efeff1;
    font-size: 12px;
    padding: 0 10px;
    margin: 0 5px;
}


#main #mainContent #post_detail #blog_post_info_block #EntryTag {
    height: 30px;
    line-height: 30px;
    font-size: 14px;
}

#main #mainContent #post_detail #blog_post_info_block #EntryTag a {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    background: #efeff1;
    font-size: 12px;
    padding: 0 10px;
    margin: 0 5px;
}

#main #mainContent #post_detail #blog_post_info_block #EntryTag * {
    font-size: 14px;
}

/* 文章信息 - 详细信息 */
#main #mainContent #post_detail .postDesc {
    position: absolute;
    top: 210px;
    padding-left: 20px;
    height: 30px;
    line-height: 30px;
    color: #6b7486 !important;
    font-size: 14px;
}

#main #mainContent #post_detail .postDesc * {
    color: #6b7486 !important;
    font-size: 14px;
}


/* 侧边按钮 */
#main #mainContent #post_detail #green_channel {
    position: fixed;
    margin-left: -180px;
    top: 200px;
}

#green_channel {
    border: none;
    width: 0;
}

#green_channel a,
#green_channel span {
    display: block;
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    background: none;
    margin-right: 0;
    font-weight: normal;
    border-radius: 50%;
    padding: 0;
    box-shadow: 2px 2px 10px #ddd;
}

/* 侧边按钮 - 顶 */
#green_channel #green_channel_digg {
    background: url(https://images.cnblogs.com/cnblogs_com/blogs/758864/galleries/2184671/t_220708095714_ping.png) no-repeat center;
    background-size: 20px;
}

/* 侧边按钮 - 关注 */
#green_channel #green_channel_follow {
    background: url(https://images.cnblogs.com/cnblogs_com/blogs/758864/galleries/2184671/t_220708095708_follow.png) no-repeat center;
    background-size: 20px;
}

/* 侧边按钮 - 收藏 */
#green_channel #green_channel_favorite {
    background: url(https://images.cnblogs.com/cnblogs_com/blogs/758864/galleries/2184671/t_220708095702_add.png) no-repeat center;
    background-size: 20px;
}

/* 侧边按钮 - 分享 */
#green_channel #green_channel_weibo,
#green_channel #green_channel_wechat {
    height: 20px;
    width: 20px;
    padding: 15px;
    box-shadow: 2px 2px 10px #ddd;
}

#green_channel #green_channel_weibo {
    background: url(https://images.cnblogs.com/cnblogs_com/blogs/758864/galleries/2184671/t_220708100106_weibo.png) no-repeat center;
    background-size: 20px;
}

#green_channel #green_channel_wechat {
    background: url(https://images.cnblogs.com/cnblogs_com/blogs/758864/galleries/2184671/t_220708104001_%E5%BE%AE%E4%BF%A1.png) no-repeat center;
    background-size: 20px;
}

#green_channel #idUserTheme {
    background: url(https://images.cnblogs.com/cnblogs_com/blogs/758864/galleries/2184671/o_220712022520_1111.png) no-repeat center;
    background-size: 30px;
}

#green_channel #idUserTheme {
    height: 30px;
    width: 30px;
    padding: 10px;
    box-shadow: 2px 2px 10px #ddd;
}

#green_channel #green_channel_weibo img,
#green_channel #green_channel_wechat img {
    display: none;
}

/* 文章正文 */
#main #mainContent #post_detail #cnblogs_post_body {
    margin-top: 200px;
}

#main #mainContent #post_detail #div_digg {
    display: none;
    position: fixed;
    left: 0;
}

/* 标题 */
#cnblogs_post_body h2 {
    line-height: 40px;
    margin: 100px 0 30px 0;
    background-color: #0948b3;
    letter-spacing: 2px;
    font-size: 18px;
    color: #fff !important;
    text-align: center;
}

/* 正文 */
#cnblogs_post_body p {
    margin: 0;
    line-height: 30px;
    word-spacing: 0.05rem;
    font-size: 14px;
    font-family: Source Sans Pro, Helvetica Neue, Arial, sans-serif;
}

/* 列表 */
#cnblogs_post_body ol, 
#cnblogs_post_body ul {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 30px;
}

#cnblogs_post_body ol li,
#cnblogs_post_body ul li {
    font-size: 14px;
    line-height: 30px;
}

/* 图片 */
#cnblogs_post_body p img {
    padding: 10px 10px;
    max-width: 1000px !important;
    margin: 10px 0 0 0;
}

#cnblogs_post_body p img[title="border"] {
    border: 1px solid #ddd;
}

#cnblogs_post_body p img[title="bg-black"] {
    background-color: #000;
}

/* 表格 */
#cnblogs_post_body .table-wrapper {
    margin: 10px 0 !important;
}

#cnblogs_post_body table {
    border-collapse: collapse;
    margin: 0 auto;
    text-align: left;
    width: 100%;
}

#cnblogs_post_body table td,
#cnblogs_post_body table th {
    border: 1px solid #fff;
    padding: 8px 15px;
    font-size: 13px !important;
    line-height: 18px;
}

#cnblogs_post_body table thead th {
    background-color: #ddd;
}

#cnblogs_post_body table tr:nth-child(odd) {
    background: #f0f0f0;
}

#cnblogs_post_body table tr:nth-child(even) {
    background: #f9f9fa;
}

/* 重点标识 */
.cnblogs-markdown :not(pre, div, td)>code,
.blogpost-body :not(pre, div, td)>code {
    color: #c82333 !important;
    font-family: Source Sans Pro, Helvetica Neue, Arial, sans-serif;
    ;
}

/* 加粗 */
p strong {
    line-height: 50px;
    height: 50px;
}

/* 文字块 */
blockquote {
    margin: 10px 0 !important;
    color: #819198 !important;
    border-left: 0.2rem solid #4285f4 !important;
    background: #f2f5f9 !important;
    padding: .8rem 1.2rem !important;
}

/* 代码 */
pre {
    margin: 10px 0 !important;
    padding: 15px !important;
    max-width: 990px;
}

.code-fullscreen-overlay pre {
    max-width: 100%;
}

pre[class*="language-"] {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    border-radius: 0;
}

pre.prismjs-lines-highlighted,
pre.prismjs-lines-highlighted[class*='language-'],
pre.prismjs-lines-highlighted.line-numbers {
    padding: 0;
}

pre code {
    background-color: #272822 !important;
    color: #ffffff !important;
    line-height: 20px !important;
    font-size: 13px !important;
}

pre code * {
    font-size: 13px;
    line-height: 20px !important;
}

.token {
    color: #fff !important;
}

.token.function {
    color: #f92772 !important;
}

.token.delimiter,
.token.boolean,
.token.keyword,
.token.selector,
.token.important,
.token.atrule {
    color: #A6E22E !important;
}

.token.operator,
.token.punctuation,
.token.attr-name {
    color: #fff !important;
}

.token.string,
.token.char {
    color: #E6DB74 !important;
}

.token.comment,
.token.prolog,
.token.cdata {
    color: #75715E !important;
}

.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
    color: #AE81FF !important;
}

.token.assign-left {
    color: #66D9EF !important;
}

.token.operator {
    color: #E6DB74 !important;
}

.token.entity {
    color: #CC6633 !important;
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
    /* color: #FFF !important; */
}

.token.shebang {
    color: #75715E !important;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
    color: #AE81FF !important;
}

pre.prismjs-lines-highlighted,
pre.prismjs-lines-highlighted[class*='language-'],
pre.prismjs-lines-highlighted.line-numbers {
    background: #272822 !important;
}

/* 复制按钮 */
span.cnb-code-toolbar-item {
    background: #0948b3;
    color: #fff !important;
    border-radius: 0;
    padding: 2px 5px !important;
}

/* 代码折叠 */
.cnb-over-length-code-block-toggler {
    display: none;
}

span.cnb-code-toolbar-item * {
    color: #fff !important;
}

/* 评论区 */
#blog-comments-placeholder {
    background-color: #fff;
    margin: 20px 0;
    padding: 30px;
    padding-top: 12px;
    box-shadow: 2px 2px 10px #ddd;
}

#blog-comments-placeholder * {
    font-size: 13px;
}

/* 评论区 - 标题 */
#blog-comments-placeholder .feedback_area_title {
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 16px;
}

/* 评论区 - 修改删除按钮 */
#blog-comments-placeholder .feedbackManage {
    float: right;
}

#blog-comments-placeholder .feedbackManage .comment_actions a {
    color: #339966 !important;
}

/* 评论区 - 楼主括号 */
#blog-comments-placeholder .feedbackListSubtitle {
    margin-left: -35px;
    color: #f9f9fa !important;
}

/* 评论区 - 评论项 */
#blog-comments-placeholder .feedbackItem {
    margin: 15px 0;
    background: #f9f9fa;
    padding: 20px 30px;
}

/* 评论区 - 楼层 */
#blog-comments-placeholder .layer {
    position: relative;
    text-align: center;
    background-color: #0948b3;
    color: #fff !important;
    letter-spacing: 2px;
    padding: 2px 8px;
}

/* 评论区 - 评论正文 */
#blog-comments-placeholder .feedbackCon p {
    margin: 0;
    line-height: 30px;
}

#blog-comments-placeholder .feedbackCon {
    margin-top: 15px;
}

/* 评论区 - 楼主 */
#blog-comments-placeholder .louzhu {
    font-weight: bold;
}

/* 新评论 */
.new-comment-block {
    background-color: #fff;
    margin: 10px 0;
    padding: 30px;
    box-shadow: 2px 2px 10px #ddd;
}

.new-comment-block * {
    font-size: 13px;
    font-weight: normal;
}

.new-comment-block p,
.bq_post_comment p {
    line-height: 30px;
    font-size: 13px;
    margin: 0;
}

#comment_nav {
    display: none;
}


/* 提交评论 */
#comment_form_container {
    background-color: #fff;
    margin: 10px 0;
    padding: 30px;
    box-shadow: 2px 2px 10px #ddd;
}

#comment_form_container * {
    font-size: 13px;
}

#commentform_title {
    font-size: 16px;
    font-weight: bold;
    background: none;
    padding: 0;
    margin-bottom: 15px;
}

.comment_textarea {
    padding: 10px 15px;
    width: 100%;
    border-radius: 0;
    margin-bottom: 15px;
}

.comment_textarea * {
    font-size: 13px;
}

/* 提交按钮 */
#tip_comment {
    margin-bottom: 10px;
    display: block;
}

#commentbox_opt .comment_btn {
    height: 30px;
    width: 100%;
    display: block;
    border: none;
    line-height: 30px;
    margin-bottom: 10px;
    color: #fff !important;
    background-color: #0948b3;
}

#commentbox_opt .comment_btn:hover {
    cursor: pointer;
}

#commentbox_opt a {
    padding-left: 0;
}

#under_post_card1,
#under_post_card2 {
    display: none;
}


/* 侧边栏 ############################################################################################### */
#main #sideBar {
    width: 300px;
    margin-left: 20px;
}

#sideBar li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 公告 */
.ezops-box {
    padding: 40px 10px 20px 10px;
    background-color: #fff;
    width: 280px;
    box-shadow: 2px 2px 10px #ddd;
}

.ezops-avatar {
    text-align: center;
}

.ezops-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 70px;
}

.ezops-name {
    text-align: center;
    padding: 10px 0;
}

.ezops-name span {
    font-size: 16px;
    height: 22px;
    line-height: 22px;
    font-weight: bold;
}

.ezops-info-ul {
    line-height: 1;
    display: inline-block;
    padding: 15px 0 5px 0;
    width: 100%;
    list-style: none;
    margin: 0 0 10px 0;
}

.ezops-info-ul li {
    list-style: none;
    font-size: 14px;
    float: left;
    text-align: center;
    width: 25%;
}

.ezops-info-ul li .ezops-num {
    color: #17233f;
    font-size: 16px;
    padding-bottom: 8px;
    font-family: fontDIN-medium;
}

.ezops-info-ul li .ezops-label-name,
.ezops-info-ul li .ezops-label-name a {
    color: #9399a6 !important;
    font-size: 12px;
    line-height: 1;
}

.ezops-lines {
    margin: 0 10px;
    border-top: 1px solid #eee;
}

.ezops-follow-btn {
    text-align: center;
}

.ezops-follow-btn button {
    display: inline-block;
    width: 110px;
    height: 35px;
    line-height: 35px;
    border: 1px solid #3e71f6;
    border-radius: 0 !important;
    background-color: #fff;
    background-image: none !important;
    padding: 0;
    cursor: pointer;
    margin: 10px 0;
}

.ezops-follow-btn button a {
    color: #3e71f6;
}

#blog-news {
    overflow: inherit;
}

#sidebar_news .catListTitle {
    display: none;
}

.ezops-sider-title {
    margin: 0;
    padding: 10px 20px;
    background-color: #f9f9f9;
    font-size: 14px;
    letter-spacing: 2px;
}

.ezops-sider-content {
    padding: 15px 20px;
    text-align: center;
}

/* .ezops-sider-content img {
    width: 40%;
} */

#p_b_follow a {
    height: 30px;
    line-height: 30px;
    background: #0948b3;
    color: #fff !important;
    display: block;
    font-size: 13px;
    margin: 0 10px;
}

#profile_block {
    display: none;
}

.sidebar-block {
    background-color: #fff;
    width: 300px;
    margin-top: 20px;
    font-size: 13px;
    box-shadow: 2px 2px 10px #ddd;
}

h3.catListTitle {
    margin: 0;
    padding: 10px 20px;
    background-color: #f9f9f9;
    font-size: 14px;
    letter-spacing: 2px;
}

h3.catListTitle * {
    font-size: 14px;
    letter-spacing: 2px;
}

.sidebar-block ul {
    list-style: none;
    padding-inline-start: 0;
    padding: 0 20px 15px 20px;
}

.sidebar-block li {
    height: 25px;
    line-height: 25px;
}

#sidebar_scorerank {
    display: none;
}

.div_my_zzk {
    padding: 15px 20px;
}

.input_my_zzk {
    background-color: #f4f4f4;
    width: 175px;
    border: none;
    padding: 5px 10px;
    border-radius: 0;
}

input.btn_my_zzk {
    vertical-align: middle;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    padding-left: 10px;
    padding-right: 10px;
    border: none;
    background-color: #0948b3;
    color: #fff !important;
    border-radius: 0;
    cursor: pointer;
}

.cnblogs-toc-button::before {
    background-color: #fff;
}

.cnblogs-toc>.cnblogs-toc-title {
    font-weight: bold;
    border-radius: 0;
}

.cnblogs-toc-item[data-level="0"] {
    font-weight: normal;
    font-size: 13px;
}

.cnblogs-toc-item[data-level="1"] {
    font-weight: normal;
    font-size: 13px;
}

#post_next_prev {
    display: none;
}

/* 首页 */
.day {
    position: relative;
    padding: 30px;
    margin: 0 0 20px 0;
    box-shadow: 0px 0px 10px #ddd;
    overflow: hidden;
    background-color: #fff;
}

.day .dayTitle {
    position: absolute;
    background-color: #CC0033;
    width: 130px;
    text-align: center;
    padding: 0 10px 3px 10px !important;
    top: 30px;
    right: -35px;
    transform: rotate(45deg);
}

.day .dayTitle a {
    font-size: 12px;
    color: #fff !important;
}

.day>.postTitle {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border-left: 5px solid #CC0033;
    padding-left: 15px;
    height: 20px;
    line-height: 20px;
}

.c_b_p_desc {
    font-size: 13px;
    letter-spacing: 2px;
    opacity: 0.8;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 15px;
    line-height: 25px;
}

.day .postDesc {
    font-size: 13px;
    opacity: 0.8;
    text-align: right;
}

.day .postSeparator {
    margin: 30px 0 !important;
    border-bottom: 2px solid #eee;
    box-shadow: 0px 0px 10px #ddd;
}

#footer {
    margin-top: 100px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.entrylistItem {
    padding: 30px;
    margin: 0 0 20px 0;
    box-shadow: 0px 0px 10px #ddd;
    overflow: hidden;
    background-color: #fff;
}

.entrylistPosttitle {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border-left: 5px solid #CC0033;
    padding-left: 15px;
    height: 20px;
    line-height: 20px;
}

.entrylistItemPostDesc {
    font-size: 13px;
    opacity: 0.8;
    text-align: right;
}

.entrylistTitle {
    font-size: 20px;
    text-align: center;
}

#cnblogs_ch {
    display: none;
}
