一、选择皮肤
选择博客皮肤:Custom
二、页面定制 CSS 代码
body { background: #fff; min-height: 100%!important; color: #314659!important; font-family: Lato, "PingFang SC", "Microsoft YaHei", sans-serif!important } a { transition: all .3s ease!important } a:hover { color: #2D8CF0!important; text-decoration: none!important } #ad_c1, #ad_c2, #ad_t2, #author_profile, #blogCalendar, #blogTitle h2, #comment_form_container p:nth-of-type(3), #comments_pager_top, #green_channel, #homepage_top_pager, #sidebar_imagecategory, #sidebar_postarchive, #sidebar_recentcomments, #sidebar_recentposts, #sidebar_scorerank, #sidebar_search, #sidebar_shortcut, #sidebar_topcommentedposts, #tip_comment2, #under_post_kb, #under_post_news, .blogStats, .c_ad_block, .commentbox_title_left, .commentform p, .dayTitle { display: none } #home { width: 100% } #header { width: 960px; position: fixed; top: 0; right: 0; left: 0; margin: 0 auto; border-top: 0; background: #fff; opacity: .95; border-bottom: 1px #eef2f8 solid; padding-bottom: 0; display: block; height: 60px; z-index: 999 } #header #blogTitle { position: relative; height: 60px } #header #blogTitle h1 { font-size: 25px; font-family: Microsoft YaHei; width: auto; margin-left: 0; margin-top: 12px; padding-left: 15px } #header #blogTitle h1 a { color: #404040 } #header #navigator { height: inherit; position: absolute; right: 0; top: 0; background-color: transparent; display: inline-block; z-index: 999 } #header #navList { height: inherit } #header #navList li { position: relative } #header #navList li:hover i { width: 100%; left: 0 } #header #navList li #blog_nav_tags { display: none } #header #navList li i { width: 0; height: 4px; background-color: #2D8CF0; content: ""; position: absolute; left: 50%; bottom: 0; transition: 1s } #header #navList a:active, #header #navList a:link, #header #navList a:visited { font-size: 16px; padding-top: 0; border-right: 0; color: #314659; display: block; font-weight: 300; padding: 20px 0; height: inherit; -webkit-transition: all .3s; transition: all .3s } #header #navList a:hover { background: 0 0 } #main { width: 960px; margin: 0 auto; min-height: 750px; padding: 70px 10px 0 10px; animation-name: fadeIn; animation-duration: 1s; animation-iteration-count: 1; -webkit-animation-name: fadeIn; -webkit-animation-duration: 1s; -webkit-animation-iteration-count: 1 } #main #mainContent { background-color: transparent } #main #mainContent .forFlow { margin: 0 auto; margin-left: 0; max-width: 960px } #sideBar { border-right: 1px solid #eef2f8; font-weight: 300; display: none; min-height: 750px; padding: 0 } #sideBar #blog-news { padding-left: 15px } #sideBar #profile_block { margin-top: 10px; font-size: 15px } #sideBar #profile_block #p_b_follow { margin-top: 10px } #sideBar #profile_block a { color: #314659 } .catListTitle { position: relative; text-align: left; margin-top: 20px; padding-left: 15px; font-size: 20px; font-weight: 300; border-bottom: none } .catListTitle::before { content: '♢'; color: #314659; position: absolute; top: 1px; left: -2px } #sidebar_categories li, #sidebar_toptags li { font-size: 15px; height: 40px; margin: 0; padding-left: 15px; padding-right: 15px; line-height: 42px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } #sidebar_categories li a, #sidebar_toptags li a { color: #314659 } #sidebar_categories li:active, #sidebar_categories li:link, #sidebar_categories li:visited, #sidebar_toptags li:active, #sidebar_toptags li:link, #sidebar_toptags li:visited { text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } #sidebar_categories li:hover, #sidebar_toptags li:hover { margin-left: 10px; border-radius: 5px; margin: 0 5px; font-size: 17px } #sidebar_topdiggedposts li, #sidebar_topviewedposts li { margin: 12px 0; font-size: 15px; padding-left: 15px; padding-right: 15px; text-align: justify } #sidebar_topdiggedposts li a:active, #sidebar_topdiggedposts li a:hover, #sidebar_topdiggedposts li a:link, #sidebar_topdiggedposts li a:visited, #sidebar_topviewedposts li a:active, #sidebar_topviewedposts li a:hover, #sidebar_topviewedposts li a:link, #sidebar_topviewedposts li a:visited { color: #314659 } #taglist_title, .PostListTitle, .entrylistTitle, .myposts_title, .thumbTitle { padding-bottom: 3px; padding-right: 10px; width: 100%; text-align: left; border-bottom: 0!important; font-size: 20px!important; font-weight: 300; margin-top: 15px } #myposts { margin-left: 0 } #myposts .PostList { font-size: 13px; font-weight: 300; border-bottom: 1px solid #eef2f8; padding: 6px 0 10px 0; margin-right: 0 } #myposts .pager:first-of-type { display: none } #myposts a:link, #myposts a:visited { color: #314659 } #myposts .postDesc2 { color: inherit } .day, .entrylistItem { width: auto; border-bottom: 1px solid #eef2f8; padding: 10px 0 15px 0; text-align: justify } .day .postSeparator, .entrylistItem .postSeparator { margin-top: 15px; margin-bottom: 25px; border-top: 1px solid #eef2f8 } .day .postTitle, .entrylist .entrylistPosttitle { font-size: 20px; font-weight: 300; font-family: inherit; padding-left: 0; border-bottom: none } .day .postTitle a, .entrylist .entrylistPosttitle a { color: #314659 } .day .postCon, .entrylist .entrylistPostSummary { font-size: 16px; font-weight: 300; font-family: inherit; padding-left: 0 } .day .postCon .c_b_p_desc img, .entrylist .entrylistPostSummary .c_b_p_desc img { height: 100px; margin-left: 10px } .day .postCon .c_b_p_desc a, .entrylist .entrylistPostSummary .c_b_p_desc a { border: 1px solid; border-radius: 3px; padding: 2px 9px; font-size: 13px; margin-top: 10px; text-decoration: none; display: table; color: #314659; border-color: #314659 } .day .postCon .c_b_p_desc a:after, .entrylist .entrylistPostSummary .c_b_p_desc a:after { content: ' »' } .day .postCon .c_b_p_desc a:hover, .entrylist .entrylistPostSummary .c_b_p_desc a:hover { color: #2D8CF0!important; border: 1px solid #2D8CF0 } .day .postDesc, .entrylist .entrylistItemPostDesc, .post .postDesc { font-size: 13px; font-weight: 300; padding-right: 0; color: #314659!important } .day .postDesc a, .entrylist .entrylistItemPostDesc a, .post .postDesc a { color: #314659 } .entrylistDescription { text-align: left; color: #314659; font-size: 13px } .post .postTitle { font-size: 20px!important; font-weight: 300!important; padding-left: 15px!important; border-bottom: none!important } .post .postTitle a { color: #314659 } .post .postBody { font-weight: 300; font-size: 16px; padding: 5px 15px; line-height: 1.75; color: #314659; border-bottom: 1px solid #eef2f8 } .post .postBody a:active, .post .postBody a:link, .post .postBody a:visited { color: #2D8CF0; text-decoration: none } .post .postBody h1 { font-size: 21px!important; color: #314659 } .post .postBody h1 a:not([class=esa-anchor]) { color: inherit!important; text-decoration: underline } .post .postBody h2 { font-size: 20px!important; color: #314659 } .post .postBody h2 a:not([class=esa-anchor]) { color: inherit!important; text-decoration: underline } .post .postBody h3 { font-size: 19px!important; color: #314659 } .post .postBody h3 a:not([class=esa-anchor]) { color: inherit!important; text-decoration: underline } .post .postBody h4 { font-size: 18px!important; color: #314659 } .post .postBody h4 a:not([class=esa-anchor]) { color: inherit!important; text-decoration: underline } .post .postBody h5 { font-size: 17px!important; color: #314659 } .post .postBody h5 a:not([class=esa-anchor]) { color: inherit!important; text-decoration: underline } .post .postBody h6 { font-size: 16px!important; color: #314659 } .post .postBody h6 a:not([class=esa-anchor]) { color: inherit!important; text-decoration: underline } .post .postBody p { line-height: inherit!important } .post .postBody hr { border-left: none; border-right: none; border-top: none; border-bottom: 1px solid #eef2f8 } .post .postBody blockquote { border: none; color: #314659; margin: 20px 0; padding: 0 0 0 10px; min-height: 20px; background: 0 0; line-height: inherit; border-left: 4px solid #dde5f1 } .post .postBody em { padding-right: 3px } .post .postBody strong { margin: 0 3px; font-weight: 500 } .post .postBody img { max-width: 930px!important; display: block; margin: 15px auto 30px auto; border-radius: 3px } .post .postBody ol li, .post .postBody ul li { margin: 3px 0; font-size: 16px; color: #314659 } .post .postBody ol li p, .post .postBody ul li p { margin: 0!important } .post .postBody table { font-size: 13px; border-collapse: collapse; border-spacing: 0; empty-cells: show; border: 1px solid #eef2f8; width: 100%; margin-bottom: 24px } .post .postBody table th { font-family: inherit; font-size: inherit; background: #f7f7f7!important; white-space: nowrap; font-weight: 600; border: 1px solid #eef2f8!important; padding: 8px 16px!important } .post .postBody table td { border: 1px solid #eef2f8!important; padding: 8px 16px!important } .post .postBody h1 code, .post .postBody h2 code, .post .postBody h3 code, .post .postBody h4 code, .post .postBody h5 code, .post .postBody h6 code, .post .postBody li code, .post .postBody p code, .post .postBody table code { color: #314659; line-height: 1; font-family: consolas!important; vertical-align: middle; margin: 0 3px; background: #f2f4f5!important; font-size: 14px!important; padding: .2em .3em!important; border-radius: 3px!important; border: 1px solid #eee!important } .post .postBody #BlogPostCategory { font-size: 13px; margin-bottom: 0 } .post .postBody #BlogPostCategory a { margin-left: 5px } .post .postBody #EntryTag { font-size: 13px; color: #314659 } .post .postBody #EntryTag a { color: #2D8CF0 } .post .postBody #post_next_prev { font-size: 13px } .cnblogs_code { background-color: #f2f4f5; padding-left: 1em; padding-right: 1em; border: none!important; border-radius: 3px!important; font-family: Lucida Console, Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace!important } .cnblogs_code div { background-color: transparent; color: #656c73 } .cnblogs_code img { margin: 0!important } .cnblogs_code pre { color: #656c73; font-family: inherit!important } .cnblogs_code pre span { font-family: inherit!important; color: inherit!important } .cnblogs_code textarea { font-family: inherit!important; padding: 5px; border: 1px solid #3e4c42; color: #c5d4ef; background-color: #282c34 } .cnblogs_code textarea:focus { outline: 0 } .cnblogs_code .code_img_closed, .cnblogs_code .code_img_opened { display: none!important } .cnblogs_code .cnblogs_code_toolbar { width: 20px } .cnblogs_code .cnblogs_code_toolbar span { padding-right: 0 } .cnblogs_code .cnblogs_code_toolbar a:link img { background-color: transparent!important } .cnblogs_code .cnblogs_code_collapse { color: #656c73; border: 1px solid #989fa6; border-radius: 2px; background-color: transparent; display: inline-block; cursor: pointer; padding: 5px 5px 2px 5px } .github-corner svg { fill: #2D8CF0 } #footer { border-top: 1px solid #eef2f8; font-weight: 300 } #footer div { margin: 5px auto } #footer a { color: #314659 } #footer:after { content: '❤'; color: #ef6b6b; font-size: 16px } .cnblogs-markdown pre { white-space: pre!important; position: relative!important } #taglist_main { margin-top: 0 } #taglist_main table { width: 100% } #taglist_main table tr td { padding: 5px 20px 5px 0 } #taglist_main table tr td .small { display: none } #taglist_main table tr td a { display: inline-block; font-size: 12px; line-height: 1; padding: 5px; margin: 0; width: 100%; text-align: center; border: 1px solid #314659; border-radius: 2px; color: #314659; background-color: transparent } #taglist_main table tr td a:hover { color: #2D8CF0!important; border: 1px solid #2D8CF0; text-decoration: none } .topicListFooter { margin-right: 0 } #nav_next_page, .pager { margin-right: 0; color: #314659 } #nav_next_page a, .pager a { padding: 3px 7px; border: 1px solid #314659; border-radius: 4px; font-family: Monospaced Number; margin: 0 3px; text-decoration: none; color: inherit; transition: border .2s ease-in-out, color .2s ease-in-out } #nav_next_page a:hover, .pager a:hover { color: #2D8CF0; border: 1px solid #2D8CF0 } .pager span.current { padding: 3px 7px; border: 1px solid #2D8CF0; border-radius: 4px; font-family: Monospaced Number; margin: 0 3px; text-decoration: none; background-color: #2D8CF0 } .esa-clipboard-button { font-size: 12px; cursor: pointer; position: absolute; right: 6px; top: 6px; box-shadow: 0 0 15px 0 rgba(0, 0, 0, .1); color: #5e6687; padding: 0 6px; border-radius: 5px } .esa-toolbar { position: fixed; display: grid; z-index: 999; bottom: 30px; right: 30px } .esa-toolbar .esa-toolbar-contents, .esa-toolbar .esa-toolbar-follow, .esa-toolbar .esa-toolbar-gotop { height: 45px; width: 45px; font-weight: 400; position: relative; outline: 0; cursor: pointer; border: 1px solid transparent; transition: color .2s linear, background-color .2s linear, border .2s linear, box-shadow .2s linear; margin-top: 5px; border-color: #eef2f8; background-color: #fff; background-position: center; background-repeat: no-repeat } .esa-toolbar .esa-toolbar-contents:hover, .esa-toolbar .esa-toolbar-follow:hover, .esa-toolbar .esa-toolbar-gotop:hover { color: #2D8CF0; border-color: #2D8CF0 } .esa-toolbar .esa-toolbar-gotop { display: none; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAACL0lEQVRIS+3TwWvTUBwH8O/vJSLrFBURFPSkoIiCVz3IilObFA/aNR0yEEk6EXfxH1D0L5DdyroMHaJL1a1Ikw3H6kVBHHjyIKKgMEQmbOqsTpv8JOkmna4mvQyRvVv4/fL78L7vPcIKLFoBA6tIUyn/e3H1F+xjYB4B8EyGp53RTkxF2VLkneQLTieYBwmQ/cEMfgsJh41U8k0YFAnJW3YPAb2Afxv5CZj2gdAK8BQgjuia8uJvUCiSt+wrBFxaGOJ8WYeTsQr2kscTAG1k5g+eJLV1dySeN4IaIsxMpuXkQMjW4kFh55aW0/F4vOp/D9wZ2+N67gQB25h5RmJx/Gyn8nQ5aFmk17bXtn7mGyDSAoBh6ppiEBHXDzFvje3wpADaxcAcGAkjoz76HfoDyVkPNsj44QA4GDQzrukZ9WKjKK7fG99crX4vA9gP8FePhJpNKw/r+5cgfXft7cLFOIDdCxFdNjT1atjt6S8W12NeHgXoEAPzgEgZWqK0+N8vZMAqHfAAB6CtzOwBlDUyqhkGLNYt63HLJ8zaBLQxUCWQpmvKsF8PEHNotN0jt0igGBjfIHBKT6t+ZE0t/yxjc3yfQEcBdplEl5FWblOfZWcE+CZAEgMfSXC73pGcbGp6XXMuN7lG3vR+GKBkcGeIz1N+qDRIRF1RH1YUvFwuy6+nKyM1iGepluVMtytJ1rlU4l2UIVF6fOjVdOUCs3gZ+uKjDAzrWUXCElpS/3/i+gn3gM6tu0xSdwAAAABJRU5ErkJggg==) } .esa-toolbar .esa-toolbar-contents { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAuUlEQVRIS2NkoANgpIMdDPSxZO6qbQeQffOf+X98SrD3w0WLdnL/5vi7lRo+ZZy7att/ZIMYGRi0k8K8rs1ctZufheH3B6pYMnv1dgdkg/5x/DmV7uv7bdWqVcwfGXltqWIJNQwhZAZ9Ip6QK6ghP4x8Mnfl1gaUJMzIODUpzOv1pG3b2Lk//6+kSnDRJZ/QxSfUCA5CZgyj1EXIq9SQp09w0aUUpk8+oUelRY2IJWQGfSKekCuoIQ8At39XNxqN1mQAAAAASUVORK5CYII=) } .esa-toolbar .esa-toolbar-follow { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAsUlEQVRIS2NkIAHMXbU98D/D/zn/GRlTU0M91xGrlZFYhSB1c1Zu62RkZChj+M/QmxzuVUKs3lFLRoOLcFoZTV30ySdzV29zY2BgtGT494+ghf8ZGF0YGRmskXP8pG3b2Lm/MqQx/PsvjBGrTEz/Gf8xHmWcs3LrC0ZGRnHC0Y6kAqlYmbNyqx0jI+NBnPr/M/xgpKlPwDYzPiUYRMguHE3Co8E1WtQTzvPDJ5+Q2+4CADezs7EkSK8aAAAAAElFTkSuQmCC) } .esa-profile-avatar { margin-left: 15px; margin-top: 15px; border-radius: 3px; width: 200px } .esa-follow-button { z-index: 999; display: none; position: fixed; bottom: 30px; right: 30px; height: 45px; width: 45px; font-weight: 400; outline: 0; cursor: pointer; border: 1px solid transparent; white-space: nowrap; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; font-size: 12px; border-radius: 50px; color: #515a6e; background-color: #fff; border-color: #dcdee2 } .esa-follow-button:hover { color: #2D8CF0; border-color: #2D8CF0; background-color: #fff } .esa-mobile-menu { display: none; position: fixed; top: 7px; right: 15px; z-index: 941113; font-size: 1.5em; cursor: pointer; color: #7f7f7f } .esa-mobile-menu:after { content: '\2630'; font-size: 1.5em; font-family: fontello } .esa-catalog { position: fixed; top: 120px; right: 1px; width: auto; height: auto; z-index: 1000 } .esa-catalog-title { cursor: move; padding-left: 12px; width: 100%; height: 35px; line-height: 36px; border-bottom: 1px solid #eef2f8; font-size: 12px; font-weight: 600; color: #929aa2 } .esa-catalog-title:before { content: '☲'; margin-right: 5px } .esa-catalog-close { position: absolute; right: 15px; top: 10px; cursor: pointer; color: #929aa2 } .esa-catalog-contents { overflow: hidden; display: none; color: #314659; border: 1px solid #eef2f8; min-width: 150px; opacity: 1; font-size: inherit; background-color: #fff; z-index: 19941112 } .esa-catalog-contents ul { padding: 10px 15px; max-height: 350px; overflow-y: auto } .esa-catalog-contents ul li { margin-top: 5px; max-width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; color: #929aa2 } .esa-catalog-contents ul li code { font-family: inherit } .esa-catalog-contents ul li a:hover { color: #2D8CF0; text-decoration: none } .esa-catalog-contents ul li .level1 { margin-left: 0 } .esa-catalog-contents ul li .level2 { margin-left: 10px } .esa-catalog-contents ul li .level3 { margin-left: 26px } .esa-anchor { opacity: 0; -webkit-transition: opacity .3s ease; transition: opacity .3s ease; margin-left: 8px } .esa-post-signature { padding: 12px 24px 12px 30px; margin-top: 15px; margin-left: 5px; border-left-width: 4px; font-size: 15px; line-height: 2; border-left-style: solid; background-color: #f8f8f8; position: relative; border-bottom-right-radius: 2px; border-top-right-radius: 2px; border-left-color: #2D8CF0; z-index: 1 } .esa-post-signature:before { content: "!"; background-color: #2D8CF0; position: absolute; top: 25px; left: -12px; color: #fff; width: 20px; height: 20px; border-radius: 100%; text-align: center; line-height: 20px; font-weight: 700; font-size: 14px } .esa-post-signature p { margin: 0!important } .esa-post-signature a { color: #314659!important } .esa-layer { position: fixed; top: 5px; text-align: center; line-height: 25px; font-size: 15px; font-family: inherit; width: 100%; display: none; z-index: 9999999 } .esa-layer-content { position: relative; background: rgba(0, 0, 0, .7); max-width: 250px; padding: 3px 9px; font-size: 13px; border-radius: 5px; color: #FFF; display: inline-block } #div_digg { position: static; float: none; margin: 35px auto 85px auto; z-index: -1; width: 200px } #div_digg .buryit, #div_digg .diggit { background: #FFF; margin: 0; display: inline-block; width: auto; height: 32px; border-width: 0; cursor: pointer; color: #fff; user-select: none; padding: 0 10px; border-radius: 5px; transition: color .2s linear, background-color .2s linear, border .2s linear, box-shadow .2s linear } #div_digg .diggit { background-color: #18b566; border-color: #18b566 } #div_digg .diggit:hover { background-color: #47cb89; border-color: #47cb89 } #div_digg .buryit { background-color: #f90; border-color: #f90 } #div_digg .buryit:hover { background-color: #ffad33; border-color: #ffad33 } #div_digg .buryit .burynum, #div_digg .diggit .diggnum { color: snow; display: inline-block; font-size: 15px; position: relative; top: 5px; width: 65px } #div_digg .diggit .diggnum:before { content: '推荐'; font-size: 15px; margin-right: 5px } #div_digg .buryit .burynum:before { content: '反对'; font-size: 15px; margin-right: 5px } .feedbackItem .feedbackListSubtitle { color: transparent } .feedbackItem .feedbackListSubtitle .sendMsg2This { background: 0 0; padding-left: 0; font-size: 15px } .feedbackItem .feedbackListSubtitle .sendMsg2This::before { content: '✉️' } .feedbackItem a { color: #314659 } .feedbackItem .louzhu { background: #2D8CF0!important; color: #fff; border-radius: 2px; margin: 0 2px; padding: 0 6px 2px 6px!important } .feedbackItem .comment_date { color: #666 } .feedbackItem .comment_quote { border: 1px dashed #2D8CF0; border-radius: 3px } #comment_nav { visibility: hidden } .feedbackCon { background: 0 0; padding: 10px 0 10px 0; border-bottom: 1px solid #eef2f8 } .feedbackCon .esa-comment-avatar { float: left; margin-right: 10px } .feedbackCon .esa-comment-avatar img { border-radius: 50%; transition: all .5s ease-out; -webkit-transition: all .6s ease-out; -moz-transition: all .5s ease-out; -ms-transition: all .5s ease-out; -o-transition: all .5s ease-out } .feedbackCon .esa-comment-avatar img:hover { -webkit-transform: rotateZ(360deg); -moz-transform: rotateZ(360deg); -ms-transform: rotateZ(360deg); -o-transform: rotateZ(360deg); transform: rotateZ(360deg) } .feedbackCon .blog_comment_body { border-radius: 3px; padding: 8px; margin-top: 5px; margin-right: 10px; margin-left: 6px; font-size: 13px; display: block; color: #434b69; background-color: rgba(193, 193, 193, .2); width: auto } .feedbackCon .blog_comment_body a { color: #2D8CF0 } .feedbackCon .blog_comment_body img { border-radius: 3px } .feedbackCon .comment_vote { margin-top: 12px } .feedback_area_title { border-bottom: 1px solid #eef2f8; margin-bottom: 15px; font-size: 13px; font-weight: 300; padding-left: 0; padding-bottom: 5px } .commentform #commentform_title { background-image: none; padding-left: 0; font-size: 20px } .commentform #tip_comment { color: #f37f7f!important; margin: 15px 0; display: block } .commentform .commentbox_title .commentbox_title_right { height: 30px; float: left } .commentform .commentbox_title .comment_icon { width: 16px; height: 16px; border: 1px solid #eef2f8; border-radius: 3px; background-color: #fff; padding: 3px; cursor: pointer } .commentform .comment_textarea { width: 100%!important; height: 200px!important; border: 1px solid #eef2f8; border-radius: 6px; padding: 5px; font-family: inherit; font-size: 15px; resize: none; box-sizing: border-box; background-color: transparent; color: #314659 } .commentform .comment_textarea:focus { outline: 0 } .commentform .comment_textarea:hover { border-color: #2D8CF0 } .commentform #commentbox_opt { display: block } .commentform #commentbox_opt a { color: #314659 } .commentform #btn_comment_submit { width: auto; height: auto; border-width: 0; cursor: pointer; color: #fff; background-color: #2D8CF0; border-color: #2D8CF0; user-select: none; padding: 5px 20px; font-size: 12px; border-radius: 5px; transition: color .2s linear, background-color .2s linear, border .2s linear, box-shadow .2s linear } .commentform #btn_comment_submit:hover { opacity: .7 } .commentform .comment_my_posted>img { display: none } .commentform .comment_my_posted>a b { font-size: 16px; font-weight: 300 } .commentform .bq_post_comment { margin-top: 5px; font-size: 13px; display: block; color: #434b69; background-color: rgba(193, 193, 193, .2); border: none; border-radius: 3px } .github-corner:hover .octo-arm { animation: octocat-wave 560ms ease-in-out } @keyframes octocat-wave { 0%, 100% { transform: rotate(0) } 20%, 60% { transform: rotate(-25deg) } 40%, 80% { transform: rotate(10deg) } } ::-webkit-scrollbar { width: 3px; height: 3px } ::-webkit-scrollbar-thumb { border-radius: 1px; box-shadow: inset 0 0 5px #314659; background: #314659 } ::-webkit-scrollbar-track { background: 0 0; border-radius: 1px } ::-moz-selection, ::selection { color: #2D8CF0 } @keyframes fadeIn { 0% { opacity: 0 } 100% { opacity: 1 } } @media screen and (min-width:768px) and (max-width:980px) { #blog-comments-placeholder, #comment_form { padding: 10px; margin-left: 0 } } @media only screen and (max-width:767px) { #home { font-size: 12px!important } #mainContent .forFlow { padding-top: 15px } #sideBar, .esa-catalog, .postDesc { display: none } .postBody { padding: 0!important } #main { margin-top: 60px; padding: 0 15px!important } #topics .postTitle { padding-left: 0!important; padding-top: 10px } #cnblogs_post_body table { display: table!important } #cnblogs_post_body img { width: 100%; max-width: none!important } #comment_nav, #commentbox_main { margin: 0 } #comment_form { padding: 5px; margin-left: 0 } .esa-mobile-menu { display: block } .forFlow { margin-right: 0; margin-left: 0!important } #header { width: auto } #header #navigator { display: none; width: 100%; margin-top: 60px } #navList { width: inherit } #navList li { float: none } #navList li #blog_nav_tags { display: block!important } #navList a:active, #navList a:link, #navList a:visited { width: 100%; background-color: #2c3e50; color: #fff!important; padding: 15px 0 } #navList a:hover { color: #2D8CF0; background-color: #2c3e50!important } .feedbackItem .feedbackManage { width: auto } .github-corner { display: none } } @media only screen and (max-width:410px) { #div_digg { display: grid; width: 100% } #div_digg .buryit, #div_digg .diggit, #div_digg .favorite { margin: 5px 0 } } [data-tips] { overflow: hidden } [data-tips]:hover { overflow: visible } [data-tips]::after, [data-tips]::before { position: absolute; transition: all .3s; transform: translate3d(-50%, 0, 0); opacity: 0; left: 37px; z-index: 10 } [data-tips]::before { content: attr(data-tips); border-radius: 6px; background-color: rgba(100, 100, 100, .8); color: #fff; height: 24px; line-height: 24px; padding: 0 6px; font-size: 12px; white-space: nowrap; top: -24px; left: 50% } [data-tips]::after { content: ''; border: 5px solid #333; border-color: rgba(100, 100, 100, .8) transparent transparent transparent; top: 0; left: 50% } [data-tips]:hover::after, [data-tips]:hover::before { opacity: 1 } [data-tips]:hover::after, [data-tips]:hover::before { transform: translate3d(-50%, -7px, 0) } .esa-sponsor { position: relative; width: 100%; margin-top: 70px; height: 160px } .esa-sponsor .posa { position: absolute } .esa-sponsor .tr3 { transition: all .3s } .esa-sponsor .blur { -webkit-filter: blur(3px); filter: blur(3px) } .esa-sponsor .text { position: absolute; left: calc(50% - 120px); top: calc(50% - 60px); font-size: 12px; width: 70px; height: 70px; line-height: 70px; color: #fff; background: #ffd886 url(http://images.cnblogs.com/cnblogs_com/esofar/1504962/o_like.png) no-repeat center 10px; background-size: 20px; border-radius: 35px; text-align: center; z-index: -1; transform: rotatez(-15deg) } .esa-sponsor .github { position: absolute; left: calc(50% + 135px); top: calc(50% - 30px); width: 24px; height: 24px; background: no-repeat center center url(http://images.cnblogs.com/cnblogs_com/esofar/1504962/o_github.png); background-size: contain; opacity: .3; transform: rotatez(15deg) } .esa-sponsor .box { left: calc(50% - 150px); top: calc(50% - 15px); background-color: #fff; border: 1px solid #ddd; border-radius: 6px; width: 299px; height: 28px; float: left; z-index: 1; margin-left: 0 } .esa-sponsor .box li { width: 99px; float: left; margin: 0!important; text-align: center; border-left: 1px solid #ddd; background: no-repeat center center; background-color: rgba(204, 217, 220, .1); background-size: 45px; transition: all .3s; cursor: pointer; overflow: hidden; line-height: 600px; height: 28px; -webkit-filter: grayscale(1); filter: grayscale(1); opacity: .5; list-style: none; list-style-type: none; margin: 0; padding: 0 } .esa-sponsor .box li:hover { background-color: rgba(204, 217, 220, .3); -webkit-filter: grayscale(0); filter: grayscale(0); opacity: 1 } .esa-sponsor .box li:first-child { border-width: 0 } .esa-sponsor .box li a { display: block } .esa-sponsor .box .paypal { background-image: url(http://images.cnblogs.com/cnblogs_com/esofar/1504962/o_paypal.png) } .esa-sponsor .box .alipay { background-image: url(http://images.cnblogs.com/cnblogs_com/esofar/1504962/o_alipay.png) } .esa-sponsor .box .wechat { background-image: url(http://images.cnblogs.com/cnblogs_com/esofar/1504962/o_wechat.png) } .esa-sponsor #QRBox { top: 0; left: 0; z-index: 1; background-color: rgba(255, 255, 255, .3); display: none; perspective: 400px; width: 100%; height: 100% } .esa-sponsor #QRBox #MainBox { cursor: pointer; position: absolute; text-align: center; width: 200px; height: 200px; left: calc(50% - 100px); top: calc(50% - 100px); background: #fff no-repeat center center; background-size: 190px; border-radius: 6px; box-shadow: 0 2px 7px rgba(0, 0, 0, .3); opacity: 0; transition: all 1s ease-in-out; transform-style: preserve-3d; transform-origin: center center; overflow: hidden } .esa-sponsor #MainBox.showQR { opacity: 1; animation-name: showQR; animation-duration: 3s; animation-timing-function: ease-in-out; animation-iteration-count: 1; animation-fill-mode: forwards; -webkit-animation: showQR 3s ease-in-out 0s 1 normal forwards } @keyframes showQR { from { transform: rotateX(90deg) } 8% { opacity: 1; transform: rotateX(-60deg) } 18% { opacity: 1; transform: rotateX(40deg) } 34% { opacity: 1; transform: rotateX(-28deg) } 44% { opacity: 1; transform: rotateX(18deg) } 58% { opacity: 1; transform: rotateX(-12deg) } 72% { opacity: 1; transform: rotateX(9deg) } 88% { opacity: 1; transform: rotateX(-5deg) } 96% { opacity: 1; transform: rotateX(2deg) } to { opacity: 1 } } .esa-sponsor #MainBox.hideQR { opacity: 1; animation-name: hideQR; animation-duration: .5s; animation-timing-function: ease-in-out; animation-iteration-count: 1; animation-fill-mode: forwards; -webkit-animation: hideQR .5s ease-in-out 0s 1 normal forwards } @keyframes hideQR { 20%, 50% { transform: scale(1.08, 1.08); opacity: 1 } to { opacity: 0; transform: rotateZ(40deg) scale(.6, .6) } } .cnblogs-code .hljs { display: block; color: #333; overflow-x: auto; background: #F2F4F5!important; border: none!important; font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace!important; padding: 1em!important; font-size: 14px!important } .hljs-comment, .hljs-meta { color: #969896 } .hljs-emphasis, .hljs-quote, .hljs-string, .hljs-strong, .hljs-template-variable, .hljs-variable { color: #df5000 } .hljs-keyword, .hljs-selector-tag, .hljs-type { color: #a71d5d } .hljs-attribute, .hljs-bullet, .hljs-literal, .hljs-symbol { color: #0086b3 } .hljs-name, .hljs-section { color: #63a35c } .hljs-tag { color: #333 } .hljs-attr, .hljs-selector-attr, .hljs-selector-class, .hljs-selector-id, .hljs-selector-pseudo, .hljs-title { color: #795da3 } .hljs-addition { color: #55a532; background-color: #eaffea } .hljs-deletion { color: #bd2c00; background-color: #ffecec } .hljs-link { text-decoration: underline } //博客园标题 #cnblogs_post_body { color: black; font: 0.875em/1.5em "微软雅黑" , "PTSans" , "Arial" ,sans-serif; font-size: 15px; } #cnblogs_post_body h1 { background: #333366; border-radius: 6px 6px 6px 6px; box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5); color: #FFFFFF; font-family: "微软雅黑" , "宋体" , "黑体" ,Arial; font-size: 23px; font-weight: bold; height: 25px; line-height: 25px; margin: 18px 0 !important; padding: 8px 0 5px 5px; text-shadow: 2px 2px 3px #222222; } #cnblogs_post_body h2 { background: #006699; border-radius: 6px 6px 6px 6px; box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5); color: #FFFFFF; font-family: "微软雅黑" , "宋体" , "黑体" ,Arial; font-size: 20px; font-weight: bold; height: 25px; line-height: 25px; margin: 18px 0 !important; padding: 8px 0 5px 5px; text-shadow: 2px 2px 3px #222222; } #cnblogs_post_body h3 { width:fit-content; width:-webkit-fit-content; width:-moz-fit-content; background: #458B74; border-radius: 6px 6px 6px 6px; box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5); color: #FFFFFF; font-family: "微软雅黑" , "宋体" , "黑体" ,Arial; font-size: 16px; font-weight: bold; height: 22px; line-height: 22px; margin: 18px 0 !important; padding: 8px 0 5px 5px; text-shadow: 2px 2px 3px #222222; } #cnblogs_post_body h4{ background: #2B6600; border-radius: 6px 6px 6px 6px; box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5); color: #FFFFFF; font-family: "微软雅黑" , "宋体" , "黑体" ,Arial; font-size: 16px; font-weight: bold; height: 24px; line-height: 23px; margin: 12px 0 !important; padding: 5px 0 5px 10px; text-shadow: 2px 2px 3px #222222; } pre { /*控制代码不换行*/ white-space: pre; word-wrap: normal; } .cnblogs_code { display: block; overflow-x: auto; padding: 0.5em; background: #23241f !important; color: #FFF; white-space: pre; word-break: normal; } .esa-catalog-contents ul li { margin-top: 5px; max-width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; color: #000000; } .esa-catalog-title { cursor: move; padding-left: 12px; width: 100%; height: 35px; line-height: 36px; border-bottom: 1px solid #eef2f8; font-size: 12px; font-weight: 600; color: #000000; } .commentform .comment_textarea { width: 100%!important; height: 50px!important; border: 1px solid #eef2f8; border-radius: 6px; padding: 5px; font-family: inherit; font-size: 15px; resize: none; box-sizing: border-box; background-color: transparent; color: #314659; }
三、博客侧边栏公告
<script src="https://files.cnblogs.com/files/fiany/silence.min.js"></script> <script type="text/javascript"> $.silence({ base: { avatar: 'https://blog-static.cnblogs.com/files/reasonzzy/qiyuan_avatar.gif', favicon: 'https://blog-static.cnblogs.com/files/reasonzzy/logo.gif', }, catalog: { enable: true, move: true, index: true, level1: 'h2', level2: 'h3', level3: 'h4', }, signature: { enable: true, home: 'https://www.cnblogs.com/fiany/', license: 'CC BY 4.0', link: 'https://creativecommons.org/licenses/by/4.0' }, sponsor: { enable: false, paypal: null, wechat: '', alipay: '' }, github: { enable: true, link: 'https://github.com/fiany' } }); </script> <script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script> <script> L2Dwidget.init({ "model": { jsonPath: "https://unpkg.com/live2d-widget-model-hijiki/assets/hijiki.model.json", "scale": 1 }, "display": { "position": "right", "width": 150, "height": 300, "hOffset": -20, "vOffset": -90 }, "mobile": { "show": false, "scale": 0.5, }, "react": { "opacityDefault": 0.7, "opacityOnHover": 0.3 } }); $('.level1').html(""); $('.level2').html(""); $('.esa-toolbar').css('display','none'); $('#footer').css('display','none'); $('#MySignature').css('display','none'); $('#blog_post_info_block').css('display','none'); $('.cnblogs_code_toolbar').css('display','none'); </script>