博客园美化:CnGth主题
不说多的,咱直接上文档
本主题基于GShang大佬的CnBook主题,删除JS后大改的一款主题。
原样式:
改后样式:
首先,主题选择"SimpleMemory"。
首先,将这段放到后台的“页面自定义CSS代码”中:
要是懒得复制,直接看我 GitHub
#post_detail {
opacity: 0.9;
background-color: white;
border: white solid;
border-radius: 15px;
}
#under_post_card1,
#under_post_card2,
#profile_block,
.introduce-box {
display: none;
}
html * {
cursor: default;
}
#nprogress {
pointer-events: none;
}
#nprogress .bar {
background: var(--color-success);
position: fixed;
z-index: 1031;
top: 0;
left: 0;
width: 100%;
height: 2px;
}
#nprogress .peg {
display: block;
position: absolute;
right: 0;
width: 100px;
height: 100%;
opacity: 1;
-webkit-transform: rotate(3deg) translate(0, -4px);
-ms-transform: rotate(3deg) translate(0, -4px);
transform: rotate(3deg) translate(0, -4px);
}
#nprogress .spinner {
display: block;
position: fixed;
z-index: 1031;
top: 15px;
right: 15px;
}
#nprogress .spinner-icon {
width: 18px;
height: 18px;
box-sizing: border-box;
border: 2px solid transparent;
border-top-color: var(--color-success);
border-left-color: var(--color-success);
border-radius: 0px;
-webkit-animation: nprogress-spinner 400ms linear infinite;
animation: nprogress-spinner 400ms linear infinite;
}
.nprogress-custom-parent {
overflow: hidden;
position: relative;
}
.nprogress-custom-parent #nprogress .bar,
.nprogress-custom-parent #nprogress .spinner {
position: absolute;
}
@-webkit-keyframes nprogress-spinner {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes nprogress-spinner {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes pageTitleText{
0%{text-shadow: 10px 0 0 tomato}
10%{text-shadow:-10px -10px 0 gold}
100%
,20%{text-shadow:10px 0 0 #0f0}30%,70%{text-shadow:10px 0 0 #40e0d0}40%{text-shadow:10px 10px 0 tomato}50%{text-shadow:0 -10px 0 gold}60%{text-shadow:0 10px 0 #0f0}80%{text-shadow: 10px -20px 0 tomato}90%{text-shadow:10px 10px 0 gold}}
.pageTitleText:hover {
animation: pageTitleText 1s infinite;
}
@font-face {
font-family: "playball";
src: url("https://fonts.gstatic.com/s/playball/v9/TK3gWksYAxQ7jbsKcg8EneptKZ2s.woff2")
}
.cover.center {
padding-top: 10%;
color: white;
position: absolute;
text-align: center;
top: 0;
left: 0;
width: 100%;
bottom: 0;
font-size: xx-large;
}
.cover.center .pageTitleText {
font-family: 'playball'
}
.cover.center span {
font-family: Georgia, 'Times New Roman', Times, serif;
}
html::-webkit-scrollbar {
height: 8px;
width: 8px
}
html::-webkit-scrollbar-thumb {
-webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.07);
background-clip: padding-box;
background-color: gray;
min-height: 40px;
padding-top: 100px;
border-radius: 4px
}
html::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-thumb:active {
background-color: #b3b3b3
}
html::-webkit-scrollbar,
html *::-webkit-scrollbar {
height: 8px;
width: 8px;
}
html::-webkit-scrollbar-thumb,
html *::-webkit-scrollbar-thumb {
-webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.07);
background-clip: padding-box;
background-color: #696969;
min-height: 40px;
padding-top: 100px;
border-radius: 4px
}
#m_top {
bottom: 100px;
}
#m_top {
position: fixed;
right: 50px;
z-index: 999;
padding: .725rem;
background: rgba(15, 14, 14, 0.9);
border: 1px solid #444;
border-radius: 2.5rem;
-webkit-transition: .6s ease all;
-moz-transition: .6s ease all;
-ms-transition: .6s ease all;
-o-transition: .6s ease all;
transition: .6s ease all;
cursor: pointer;
bottom: 100px;
}
.day {
margin-bottom: 10px;
margin-top: 10px;
background: white;
border: #2a2a2a 1px solid;
border-radius: 30px;
padding: 30px;
}
.day {
-webkit-transition: .3s ease all;
-moz-transition: .3s ease all;
-ms-transition: .3s ease all;
-o-transition: .3s ease all;
transition: .3s ease all;
}
.day:hover {
-webkit-box-shadow: 0 22px 43px rgba(0, 0, 0, 0.15);
-moz-box-shadow: 0 22px 43px rgba(0, 0, 0, 0.15);
box-shadow: 0 22px 43px rgba(0, 0, 0, 0.15);
-webkit-transform: translateY(-4px) scale(1.02);
-moz-transform: translateY(-4px) scale(1.02);
-ms-transform: translateY(-4px) scale(1.02);
-o-transform: translateY(-4px) scale(1.02);
transform: translateY(-4px) scale(1.02);
}
#bg {
background-image: url("https://gitee.com/Adkinsm/cdn/raw/master/img//10_gettyimages-508748776_super_resized.jpg");
filter: saturate(700%) blur(25px)
}
.commentform#comment_form {
border: white solid;
border-radius: 15px;
}
.postDesc a:last-child {
display: none
}
.FadeIn {
animation: fade-in 400ms linear infinite;
}
.FadeOut {
animation: fadeInUp 400ms linear infinite;
}
/**
cnbook@2021-01-23
by GShang https://www.cnblogs.com/gshang/
**/
@charset "utf-8";
@import url("//unpkg.com/element-ui@2.13.0/lib/theme-chalk/index.css");
@import url(https://cdn.jsdelivr.net/npm/font-awesome/css/font-awesome.min.css) screen and (min-width:0px);
/*@import url(https://cdn.bootcss.com/fancybox/3.5.7/jquery.fancybox.css) screen and (min-width:0px);*/
@import url(//cdnjs.cloudflare.com/ajax/libs/mdui/0.4.3/css/mdui.min.css) screen and (min-width:0px);
@import url(https://blog-static.cnblogs.com/files/gshang/notiflix-2.0.0.min.css) screen and (min-width:0px);
@import url(https://cdn.bootcdn.net/ajax/libs/font-awesome/5.13.0/css/all.min.css);
/************** 基本样式 开始 ***************/
@media screen and (min-width:0px) {
:root {
--color-primary: #2faee3;
--color-success: #67c23a;
--color-success-0: #85ce61;
--color-success-1: #e1f3d8;
--color-success-2: #f0f9eb;
--color-warning: #e6a23c;
--color-warning-0: #ebb563;
--color-warning-1: #faecd8;
--color-warning-2: #fdf6ec;
--color-danger: #FA7298;
--color-danger-0: #ec89a8;
--color-danger-1: #f1bccd;
--color-danger-2: #fdeaf0;
--color-info: #909399;
--color-info-0: #a6a9ad;
--color-info-1: #e9e9eb;
--color-info-2: #f4f4f5;
--color-text-primary: #303133;
--color-text-regular: #606266;
--color-text-secondary: #909399;
--color-text-placeholder: #c0c4cc;
--border-color-base: #dcdfe6;
--border-color-light: #e4e7ed;
--border-color-lighter: #ebeef5;
--border-color-extra-linght: #f2f6fc;
--color-white: #ffffff;
--color-black: #000000;
--background-color-base: #f5f7fa;
--text-h1: 24px;
--text-h2: 22px;
--text-h3: 20px;
--text-h4: 18px;
--text-h5: 16px;
--text-h6: 14px;
--basic-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
--light-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
--blur-bg: rgba(255,255,255,0.7);
/** old ***/
--ThemeColor: var(--color-primary);
--TextColor1: #141418;
--TextColor2: #5f5f6b;
--TextColor3: #97979f;
--DividColor: #e7eaf0;
--BlockColor: #fff;
--BackgroundColor: #f4f6fa;
}
:root[theme='dark'] {
--color-primary: #2faee3;
--color-success: #67c23a;
--color-success-0: #85ce61;
--color-success-1: #e1f3d8;
--color-success-2: #f0f9eb;
--color-warning: #e6a23c;
--color-warning-0: #ebb563;
--color-warning-1: #faecd8;
--color-warning-2: #fdf6ec;
--color-danger: #FA7298;
--color-danger-0: #ec89a8;
--color-danger-1: #f1bccd;
--color-danger-2: #fdeaf0;
--color-info: #909399;
--color-info-0: #a6a9ad;
--color-info-1: #e9e9eb;
--color-info-2: #f4f4f5;
--color-text-primary: #fafbfc;
--color-text-regular: #f2f4f5;
--color-text-secondary: #909399;
--color-text-placeholder: #c0c4cc;
--border-color-base: #4c5054;
--border-color-light: #414446;
--border-color-lighter: #323435;
--border-color-extra-linght: #313233;
--color-white: #292929;
--color-black: #000000;
--background-color-base: #333;
--text-h1: 24px;
--text-h2: 22px;
--text-h3: 20px;
--text-h4: 18px;
--text-h5: 16px;
--text-h6: 14px;
--basic-shadow: 0 2px 4px rgba(255, 255, 255, 0.12), 0 0 6px rgba(255, 255, 255, 0.04);
--light-shadow: 0 2px 12px 0 rgba(255, 254, 254, 0.1);
--blur-bg:rgb(41 41 41 / 60%);
/** old ***/
--ThemeColor: var(--color-primary);
--TextColor1: #fafbfc;
--TextColor2: #f2f4f5;
--TextColor3: #909399;
--DividColor: #4c5054;
--BlockColor: #333;
--BackgroundColor: #333;
}
/* 去广告 */
#ad_c1,
#ad_c2,
#bannerbar,
#under_post_card2,
.under-post-card,
#ad_t2,
#under_post_news,
.c_ad_block {
display: none
}
* {
border-radius: 2px;
transition: all .2s;
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
color: #2a2a2a;
font-size: var(--text-h5);
line-height: 1.5;
background: var(--color-white);
font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
font-weight: 400;
transition: all 300ms;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: transparent;
}
a {
text-decoration: none;
color: inherit;
}
img {
max-width: 100% !important;
}
:before,
:after {
font-family: fontawesome, element-icons;
}
#main{
/* animation-duration: 1s; */
/* animation-name: fade-in; */
}
#sideBar {
width: 300px !important;
position: fixed;
top: 0;
left: -300px;
bottom: 0;
height: 100vh;
border-right: 1px solid var(--border-color-extra-linght);
overflow-y: auto;
background: var(--color-white);
transition: left 300ms;
z-index: 99;
/* overflow: hidden; */
}
#mainContent {
position: absolute;
left: 0px;
top: calc(70px + 100%);
right: 0;
overflow-y: auto;
transition: left 300ms;
/* background:var(--color-white); */
}
.main-widthout-sidebar #sideBar {
left: 0px;
/* transition:300ms; */
}
#sideBar::-webkit-scrollbar{
display:none
}
.main-widthout-sidebar #mainContent {
left: 300px;
/* transition:300ms; */
}
@media screen and (max-width:767px) {
.main-widthout-sidebar #mainContent {
left: 0px;
transition: 300ms;
}
.post-header {
min-height:150px!important;
}
#blogTitle {
/* display:none */
}
}
#lnkBlogLogo,
#blogTitle h2,
.blogStats {
display: none;
}
#header,
#navList,
.hd-menu ul {
display: flex;
height: 70px;
align-items: center;
}
#header {
display: none;
background-color: rgba(255, 254, 255, .8);
position: fixed;
padding: 0 8px;
justify-content: space-between;
z-index: 98;
backdrop-filter: blur(40px);
width: 100%;
left: 0;
right: 0;
top:0;
border-bottom: 1px solid var(--border-color-extra-linght) !important;
transform: translatey(0%);
transition:transform 300ms, left 300ms!important;
flex-wrap: wrap;
/* overflow: hidden; */
}
@media screen and (min-width:767px) {
.main-widthout-sidebar #header{
/* left:300px; */
/* transition:left 300ms; */
}
}
.header-hidde{
transform: translatey(-100%)!important;
transition:0.3s transform!important;
}
#blogTitle {
height: 50px;
flex-grow: 1;
/* text-align: center; */
}
#blogTitle h1 {
margin: 0;
height: 50px;
display: flex;
/*justify-content: center;*/
line-height: 50px;
padding: 0 0 0 10px;
}
#blogTitle h1 a {
font-size: var(--text-h2);
text-decoration: none;
color: inherit;
}
#blogTitle:hover h1 a {
display: block;
transition: 300ms;
}
#navList,
.hd-menu ul {
padding: 0;
margin: 0;
list-style-type: none
}
#navList li a,
.hd-menu li a {
color: var(--color-text-placeholder);
text-decoration: none;
/* padding:0 15px; */
font-size: 0;
width: 40px;
display: block;
text-align: center;
cursor: pointer;
}
#navList li a:hover,
.hd-menu li a:hover {
color: var(--color-text-primary);
}
#navList li a:before,
.hd-menu li a:before {
font-size: 16px;
}
#blog_nav_sitehome:before {
content: "\f29a";
}
#blog_nav_myhome:before {
content: "\f015";
}
#blog_nav_newpost:before {
content: "\f040";
}
#blog_nav_contact:before {
content: "\f0e0"
}
#blog_nav_rss:before {
content: "\f09e"
}
#blog_nav_admin:before {
content: "\f013"
}
#sidebar-toggler:before {
content: "\f0c9"
}
#theme:before,
.btn-theme a:before {
content: "\f186"
}
.btn-share a:before {
content: "\f029"
}
.forFlow {
max-width: 960px;
margin: 0 auto 50px;
display: flex;
flex-direction: column;
}
/*************************/
.day,
.postSeparator {
/* margin-bottom:30px; */
}
.dayTitle {
display: none;
}
.postTitle {
padding: 20px;
font-size: var(--text-h2);
color: var(--color-text-primary);
position: relative;
top: 0;
left: 0;
width: 100%;
zoom: 1;
background-color: #fff;
background-repeat: no-repeat;
background-size: cover;
-webkit-background-size: cover;
-o-background-size: cover;
background-position: center center;
border-top-left-radius: 30px;
border-top-right-radius: 30px;
}
.postCon {
padding: 0 20px;
font-size: var(--text-h5);
color: var(--color-text-regular);
}
.postDesc {
padding: 10px 20px;
font-size: var(--text-h6);
color: var(--color-text-secondary);
}
.side-choose {
background: var(--color-white);
display: flex;
justify-content: space-between;
z-index:99;
background: var(--color-white);
position: sticky;
/* width: 300px; */
left: 0;
/* backdrop-filter: blur(10px); */
top: 0;
/* box-shadow: var(--basic-shadow); */
border-bottom: 1px solid var(--border-color-extra-linght);
/* border-right: 1px solid var(--border-color-extra-linght); */
}
#myside,
#mycontent {
flex-grow: 1;
text-align: center;
line-height: 69px;
color: var(--color-text-placeholder);
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.side-choose .active {
color: var(--color-text-primary) !important;
}
.content-active #mycontent{
color:var(--text-color-regular);
}
.side-active #myside:after,
.content-active #mycontent:after {
content: "";
width: 30px;
height: 4px;
border-radius: 0px;
position: absolute;
background: var(--color-primary);
bottom: 0;
margin: 0 auto;
}
.side-active #sidebar_scroller{
animation-name: fadeOutLeft;
animation-duration: 0.5s;
display:none;
}
.side-active #myside {
color:var(--text-color-regular);
}
.side-active #sideBarMain{
animation-name: fadeInRight;
animation-duration: 0.5s;
display:block!important;
}
/*****************************************/
/************** 侧边栏 开始 ***************/
@media screen and (min-width:0px) {
#blog-calendar {
border: 0px solid var(--border-color-light);
/* padding: 14px; */
border-radius: 0;
line-height: 2;
margin-bottom: 20px;
/*box-shadow:var(--light-shadow);*/
/* background: var(--color-white); */
/* transition: all 300ms; */
}
#blogCalendar {
padding: 0px 14px;
width: 100%;
text-align: center;
margin: 0 !important;
}
.CalTitle {
width: 100%;
font-weight: 600;
}
.CalNextPrev a {
font-size: 0;
}
.CalNextPrev:nth-child(1) a:before {
content: "\e6de";
font-family: element-icons;
font-size: 14px;
/* font-weight: bolder; */
}
.CalNextPrev:nth-child(3) a:before {
content: "\e6e0";
font-family: element-icons;
font-size: 14px;
}
.CalDayHeader {
padding: 10px;
/* border-bottom: 1px solid var(--border-color-base); */
margin-bottom: 10px;
}
.CalOtherMonthDay {
color: var(--border-color-lighter);
}
#blog-calendar u {
color: var(--color-primary);
text-decoration: none;
font-weight: bold;
}
.CalTodayDay u{
color:#fff!important;
}
@media screen and (max-width:1200px) {
#sideBarMain,
#leftcontentcontainer,
#blog-sidecolumn,
#sidebar_categories,
#sidebar_search_box {
display: grid;
grid-template-columns: 100%;
/* grid-gap: 10px; */
width: 100%;
font-family: FontAwesome;
}
#sidebar_scroller {
margin: 0 !important
}
}
#sideBarMain{
padding:20px 0;
}
@media screen and (min-width:1200px) {
#sideBarMain,
#leftcontentcontainer,
#blog-sidecolumn,
#sidebar_categories,
#sidebar_search_box {
display: grid;
grid-template-columns: 100%;
/* grid-gap: 10px; */
/* width: 100%; */
font-family: FontAwesome;
}
}
#sidebar_shortcut ul {
display: grid;
grid-template-columns: 1fr 1fr;
}
#sidebar_recentposts li,
#sidebar_topviewedposts li,
#sidebar_topdiggedposts li,
#sidebar_topcommentedposts li {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0;
transition: background 500ms;
}
#sidebar_postarchive li,
#sidebar_articlearchive li {
padding: 0;
transition: background 500ms;
}
#sidebar_recentposts li:hover,
#sidebar_articlearchive li:hover,
#sidebar_postarchive li:hover,
#sidebar_topviewedposts li:hover,
#sidebar_topcommentedposts li:hover,
.recent_comment_title a:hover,
#sidebar_shortcut a:hover,
#sidebar_topdiggedposts li:hover {
/* background: rgba(0,0,0,0.08); */
/* border-radius: 4px; */
color:var(--color-primary);
}
html[theme="dark"] #sidebar_recentposts li:hover,
html[theme="dark"] #sidebar_articlearchive li:hover,
html[theme="dark"] #sidebar_postarchive li:hover,
html[theme="dark"] #sidebar_topviewedposts li:hover,
html[theme="dark"] #sidebar_topcommentedposts li:hover,
html[theme="dark"] #sidebar_topdiggedposts li:hover {
/* background: rgba(255,255,255,0.08); */
/* border-radius: 4px; */
color:var(--color-primary);
}
#sidebar_toptags ul,
#sidebar_postcategory ul,
#sidebar_imagecategory ul,
.sidebar-block[id^="sidebar_link"] ul {
display: flex;
flex-wrap: wrap;
}
#sidebar_toptags li {
margin: 4px 8px 4px 0;
background: transparent;
padding: 4px 10px;
border-radius: 4px;
border: 1px solid var(--border-color-light);
font-size:var(--text-h6);
line-height: 1.4;
}
#sidebar_toptags a:before {
/* content: "#"; */
margin-right:3px;
}
#sidebar_imagecategory li,
.sidebar-block[id^="sidebar_link"] li {
margin: 4px 8px 4px 0;
background: transparent;
padding: 4px 10px;
border-radius: 4px;
font-size: var(--text-h6);
line-height: 1.4;
border:1px solid var(--border-color-light);
transition:all 300ms;
}
#sidebar_imagecategory li:hover,
.sidebar-block[id^="sidebar_link"] li:hover{
border:1px solid var(--color-primary);
background:var(--color-primary);
color:#fff;
transition:all 300ms;
}
#sidebar_postcategory li {
margin: 4px 8px 4px 0;
background: transparent;
/* color: var(--color-warning); */
padding: 4px 10px;
border-radius: 4px;
font-size: var(--text-h6);
line-height: 1.4;
border: 1px solid var(--border-color-light);
}
#sidebar_postcategory a:before {
/* content: "\e784"; */
}
#sidebar_toptags li:hover {
background: var(--color-success);
border: 1px solid var(--color-success);
color: #fff;
cursor: pointer;
transition:background 300ms;
}
#sidebar_postcategory li:hover {
background: var(--color-warning);
border: 1px solid var(--color-warning);
color: #fff;
cursor: pointer;
transition:background 300ms;
}
.sidebar-block,
#sidebar_news,
#sidebar_scroller {
/* border-bottom: 1px solid var(--border-color-base); */
padding: 10px 0px 0;
background: var(--color-white);
border-radius: 0;
line-height: 2;
margin-top: 0px;
width: 100% !important;
/* transition: all 300ms; */
/* border: 1px solid var(--border-color-light); */
}
#sidebar_news .catListTitle,
#sidebar_search .catListTitle{
display:none
}
#sidebar_recentposts li a:before {
/* content: "\f017"; */
margin-right: 10px;
}
.liScore:before {
content: "\f005";
margin-right: 10px;
}
.liRank:before {
content: "\f091";
margin-right: 10px;
}
#sidebar_postarchive li a:before,
#sidebar_articlearchive li a:before {
/* content: "\f073"; */
margin-right: 10px;
}
.sidebar-block[id^="sidebar_link"] li a:before {
/* content: "\f0c1"; */
}
.recent_comment_title a:before {
/* content: "\f27a"; */
margin-right: 10px;
}
#sidebar_imagecategory li a:before {
/* content: "\f03e"; */
}
#sidebar_topviewedposts li a:before {
/* content: "\f06e"; */
margin-right: 10px;
}
#sidebar_topcommentedposts li a:before {
/* content: "\f086"; */
margin-right: 10px;
}
#sidebar_topdiggedposts li a:before {
/* content: "\f164"; */
margin-right: 10px;
}
.recent_comment_author {
border-bottom: 1px dashed var(--border-color-base);
padding-bottom: 10px;
margin-bottom: 10px;
}
.sidebar-block:hover,
#sidebar_news:hover,
#blog-calendar:hover {
/*box-shadow: var(--light-shadow);*/
transition: all 300ms;
}
.catListTitle {
margin: 0;
font-size: var(--text-h4);
font-weight: 500;
/* text-indent:10px; */
padding: 14px 14px 0;
/* border-bottom: 1px solid var(--border-color-extra-linght); */
position: relative;
}
.catListTitle:before {
/* content: ""; */
border-left: solid 4px var(--color-primary);
margin-right: 10px;
width: fit-content;
}
.sidebar-block ul,
#profile_block,
#sidebar_search_box {
padding: 0px 14px;
margin: 0;
line-height: 2;
list-style-type: none;
}
#p_b_follow {
margin: 10px 0 20px;
}
#p_b_follow a {
background: var(--color-danger);
color: #fff;
display: block;
text-align: center;
line-height: 2.8;
border-radius: 4px;
transition: all 300ms;
}
#p_b_follow a:hover {
background: var(--color-danger-0);
transition: all 300ms;
}
#p_b_follow span {
background: var(--color-info);
color: var(--color-white) !important;
display: block;
text-align: center;
line-height: 2.4;
border-radius: 4px;
transition: all 300ms;
}
#p_b_follow span:hover {
background: var(--color-info-0);
transition: all 300ms;
}
.div_my_zzk {
display: flex;
height: 40px;
margin: 0;
align-items: center;
}
.input_my_zzk {
flex-grow: 1;
height: 30px;
padding: 2px 10px !important;
border: none;
background: inherit;
outline: none;
background: var(--background-color-base);
border-radius: 4px;
color: var(--text-color-base);
cursor: text;
}
.div_my_zzk input,
.input_my_zzk input {
width: 170px !important;
/* color: var(--colort-white); */
}
.btn_my_zzk {
margin-left: 10px;
border: none;
height: 30px !important;
color: #fff;
border-radius: 4px;
width: auto !important;
padding: 0 8px !important;
background: var(--color-primary);
position: relative;
outline: none;
cursor:pointer;
}
.btn_my_zzk:hover {
background: var(--color-primary);
opacity:0.8;
transition:300ms;
/* color: #fff; */
}
}
/************** 侧边栏 结束 ***************/
/************** 随笔/档案 开始 ***************/
@media screen and (min-width:0) {
.day,
.entrylist {
/* margin-bottom: 20px; */
/* background: var(--color-white); */
overflow: hidden;
/* transition: all 300ms; */
/*padding:0 10px;*/
/* border-top: 1px solid var(--border-color-light); */
}
#homepage_top_pager {
border-bottom: 1px solid var(--border-color-extra-linght) !important;
}
.entrylistTitle .day:hover {
/*box-shadow: var(--light-shadow);*/
transition: all 300ms;
}
.dayTitle,
.entrylistTitle {
padding: 20px 20px 0px;
margin: 0;
font-size: var(--text-h3);
position: relative;
font-size:24px;
font-weight:500;
text-align:center;
/* background: var(--color-white); */
/* margin-bottom: 10px; */
/* border-left: 1px solid var(--border-color-light); */
}
/* .entrylistTitle:before {
content: "";
border-left: 4px solid var(--color-primary);
height: 100%;
width: 4px;
margin-right: 10px;
} */
.dayTitle {
display: none;
}
.entrylistDescription {
padding: 10px 20px 30px;
max-width: 960px;
border-bottom: 1px solid var(--border-color-lighter);
/* margin-bottom: 20px; */
/* background: var(--color-white); */
z-index: 2;
color: var(--color-text-regular);
}
/*
.dayTitle:after,
.entrylistTitle:after {
content: "";
width: 40px;
height: 2px;
border-radius: 4px;
display: block;
background: var(--color-primary);
position: absolute;
bottom: -1px;
left: 20px;
z-index: 4;
transition: width 500ms;
}
.day:hover .dayTitle:after,
.entrylistTitle:hover:after {
width: 80px;
transition: width 500ms;
}
*/
.day .postTitle,
.entrylistPosttitle {
font-size: var(--text-h3);
/* background: var(--color-white); */
padding: 20px 20px 10px;
/* border-radius:4px 4px 0 0;*/
font-weight: 500;
}
.day .postTitle:hover,
.entrylistPosttitle:hover {
color: var(--color-primary);
}
.postCon,
.entrylistPostSummary {
/* background: var(--color-white); */
padding: 0 20px 0px;
color: var(--color-text-regular);
}
.postDesc,
.entrylistItemPostDesc {
/* background: var(--color-white); */
padding: 14px 20px 20px;
color: var(--color-text-secondary);
/*border-radius:0 0 4px 4px;*/
/*border-top: 1px solid var(--DividColor); */
/* display: none; */
/* margin-top: 10px; */
display: flex;
}
.day .postDesc,
.postDesc2,
.entrylistItemPostDesc{
/* font-size:0; */
/* display: none; */
width: 100%;
display: inline-flex;
flex-direction: row-reverse;
text-overflow: ellipsis;
}
.entrylistItemPostDesc a[title="permalink"]{
display:unset;
order:-1;
}
.entrylistItemPostDesc text{
margin-right:8px;
}
.day .postDesc span,
.postDesc2 span,
.entrylistItemPostDesc span,.day .postDesc a, .entrylistItemPostDesc a{
margin-right: 14px;
font-size: var(--text-h6)!important;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.post-view-count:before {
content:"\f06e";
margin-right:4px;
}
.post-comment-count:before {
content:"\f27b";
margin-right:4px;
}
.post-digg-count:before{
content: "\f08a";
margin-right:4px;
}
.post-view-count{
flex:1;
}
.day .postDesc a[rel="nofollow"],
.postDesc2 a[target="_blank"],
.entrylistItemPostDesc a[rel="nofollow"]{/* flex:1; *//* right:0; */margin-right: 14px;text-align:right;font-size:var(--text-h6)!important;/* display:none; */transition:display 300ms;}
.day .postDesc:hover a[rel="nofollow"],
.postDesc2:hover a[target="_blank"],
.entrylistItemPostDesc:hover a[rel="nofollow"]{
display:unset;
float:right;
transition:display 300ms;
}
.day .postDesc a[rel="nofollow"]:hover,
.postDesc2 a[target="_blank"]:hover,
.entrylistItemPostDesc a[rel="nofollow"]:hover{
color:var(--color-danger)
}
.day .postDesc a[rel="nofollow"]:before{
content:"\f040";
margin-right: 0px;
}
.postDesc2 a[target="_blank"]:before{
content:"\f040";
margin-right: 4px;
}
.entrylistItemPostDesc a[rel="nofollow"]:before{
content:"\f040";
margin-right: 4px;
}
.entrylist p:last-child {
display: none;
}
.postSeparator {
/* margin:10px 0; */
height: 1px;
overflow: hidden;
border-bottom: 1px solid var(--border-color-extra-linght);
/* padding-bottom: 20px; */
background: transparent;
}
.c_b_p_desc {
line-height: 24px !important;
display: -webkit-box;
-webkit-box-orient: vertical;
text-overflow: ellipsis;
overflow: hidden;
font-size: var(--text-h5);
position: relative;
}
.c_b_p_desc_readmore {
position: absolute;
width: 100%;
left: 0;
top: 0;
height: 100%;
/* display: none; */
font-size: 0;
background: transparent;
/* margin: 20px 0 10px; */
/* border-top: 1px solid var(--border-color-lighter); */
/* padding: 10px 0 0 0; */
}
.c_b_p_desc_readmore:after {
/* content:"\e6e0"; */
font-family: element-icons;
float: right;
}
.c_b_p_desc img {
margin-top: 0px;
margin-left: 10px;
border-radius: 8px;
object-fit: cover;
/* float: left; */
}
@media screen and (max-width:767px) {
.c_b_p_desc {
-webkit-line-clamp: 3;
}
.c_b_p_desc img {
height: 72px;
width: 100px;
border: 1px solid rgba(0,0,0,.05);
}
}
@media screen and (min-width:767px) {
.c_b_p_desc {
-webkit-line-clamp: 5;
}
.c_b_p_desc img {
height: 120px;
width: 180px;
border: 1px solid rgba(0,0,0,.05);
/* float: left; */
}
}
}
/************** 随笔/档案 结束 ***************/
/************** 常用链接子界面/相册 开始 ***************/
@media screen and (min-width: 0px) {
.PostListTitle {
margin: 0;
font-size: var(--text-h3);
font-weight: 500;
text-align: center;
/* text-indent:10px; */
padding: 20px 20px;
border-bottom: 1px solid var(--border-color-extra-linght);
position: relative;
background: var(--color-white);
border-radius: 0;
}
/*
.PostListTitle:after {
content: "";
width: 40px;
height: 2px;
border-radius: 4px;
display: block;
background: var(--color-primary);
position: absolute;
bottom: -1px;
left: 20px;
z-index: 4;
transition: width 500ms;
}
.PostListTitle:hover:after {
width: 80px;
transition: width 500ms;
}
*/
#myposts,
.PostList {
margin: 0 !important;
background: var(--color-white);
}
#myposts {
border-top: 1px solid var(--border-color-extra-linght);
border-radius: 0;
overflow: hidden;
}
.PostList {
display: grid;
grid-template-columns: 100%;
border-bottom: 1px solid var(--border-color-extra-linght);
}
.postTitl2 {
font-size: var(--text-h3);
background: var(--color-white);
padding: 20px 20px;
}
.postDesc2 {
background: var(--color-white);
padding: 0 20px 20px;
font-size: var(--text-h6) !important;
color: var(
--color-text-secondary);
order: 1;
}
.postText2 {
background: var(--color-white);
padding: 0 20px 10px;
margin: 0 !important;
font-size: var(--text-h5) !important;
color: var(--color-text-regular);
}
#taglist_main,
.gallery {
margin: 0;
background: var(--color-white);
padding: 0;
border-radius: 0;
box-sizing: border-box;
transition: all 500ms;
text-align: center;
}
#taglist_title,
.thumbTitle,
.galleryTitle {
margin: 0;
font-size: var(--text-h3);
font-weight: 500;
/* text-indent:10px; */
padding: 20px 20px;
text-align: center;
/* text-align: left; */
border-bottom: 1px solid var(--border-color-extra-linght);
position: relative;
}
/*
#taglist_title:after,
.galleryTitle:after {
content: "";
width: 40px;
height: 2px;
border-radius: 4px;
display: block;
background: var(--color-primary);
position: absolute;
bottom: -1px;
left: 20px;
z-index: 4;
transition: width 500ms;
}
#taglist_title:hover:after,
.galleryTitle:hover:after {
width: 80px;
transition: width 500ms;
}
*/
#taglist,
#GalleryThumbNailViewer1_ThumbNails {
padding: 20px;
width: 100%;
}
#MyTag1_dtTagList {
width: 100%;
/* table-layout: fixed; */
}
#MyTag1_dtTagList td {
padding: 0;
margin: 0;
width: 25%;
padding: 0 4px;
box-sizing: border-box;
line-height: 2;
white-space: nowrap;
overflow: hidden;
display: inline-flex;
align-items: center;
text-align: center;
float: left;
}
#MyTag1_dtTagList td a {
display: inline-flex;
display: block;
text-overflow: ellipsis;
overflow: hidden;
}
#MyTag1_dtTagList td small {
flex: 1;
}
@media screen and (max-width:540px) {
#MyTag1_dtTagList td {
width: 50% !important;
}
}
.divPhoto {
padding: 10px;
/* height: 100px; */
overflow: hidden;
}
.divPhoto img {
/* height: 100px; */
object-fit: cover;
}
#ViewPicture1_GalleryImage {
/* margin-left:20px; */
max-width: calc(100% - 40px) !important;
}
.gallery:after {
content: "";
height: 30px;
display: block;
}
}
/************** 常用链接子界面/相册 结束 ***************/
/************** 分页模块 开始 ***************/
@media screen and (min-width:0) {
.topicListFooter {
margin: 0;
}
#nav_next_page {
background: var(--color-white);
line-height: 2.6;
border-radius: 0px;
text-align: center;
transition: all 500ms;
/* margin-bottom: 20px; */
}
#nav_next_page a {
display: block;
width: 100%;
padding: 10px;
}
#nav_next_page:hover {
/*box-shadow: var(--light-shadow);*/
transition: all 500ms;
}
.pager {
margin: 10px;
font-size: var(--text-h6);
color: var(--color-primary);
line-height: 1.8;
}
.pager a {
padding: 0 4px;
color: var(--color-text-regular);
border: none;
border-radius: 4px;
transition: all 500ms;
display: inline-block;
line-height:28px;
display:inline-block;
padding:0 10px;
margin: 8px 8px;
min-width:28px;
min-height:28px;
/* background: var(--BackgroundColor); */
/* font-size: small; */
border: 1px solid var(--DividColor);
}
.pager a:hover {
color: #fff;
background: var(--color-primary);
transition: all 300ms;
border-color: var(--color-primary);
}
.Pager {
/* padding: 20px; */
text-align: center;
background: var(--color-white);
}
span.current {
border: none !important;
background: transparent !important;
color: var(--color-primary) !important;
font-weight: normal !important;
}
#homepage_top_pager,
#homepage_bottom_pager,
#comment_pager_top,
#comment_pager_bottom {
/* background: var(--color-white); */
border-radius: 0;
/* margin-bottom: 20px; */
padding: 0px;
transition: all 500ms;
/* border-bottom: 1px solid var(--border-color-extra-linght); */
}
#homepage_top_pager:hover,
#homepage_bottom_pager:hover,
#comment_pager_top:hover,
#comment_pager_bottom:hover {
/*box-shadow: var(--light-shadow);*/
transition: all 500ms;
}
}
/************** 分页模块 开始 ***************/
/************** 页脚 开始 ***************/
@media screen and (min-width:0) {
#footer {
display:none;
text-align: center;
padding: 30px 14px;
background: var(--color-white);
color: var(--color-text-secondary);
}
}
/************** 页脚 结束 ***************/
/************** 博客正文基本样式 开始 ***************/
@media screen and (min-width:0px) {
.post {
display: flex;
flex-direction: column;
grid-template-columns: 100%;
width: 100%;
border: 0px solid var(--border-color-light);
}
.postBody {
order: 1;
/* background: var(--color-white); */
padding: 20px 20px !important;
border-radius: 0;
box-sizing: border-box;
display: grid;
grid-template-columns: 100%;
width: 100%;
overflow: hidden;
}
.post .postTitle,.post-header .postTitle {
margin: 0;
border-radius: 0;
position: relative;
font-size: var(--text-h1);
font-weight: 500;
text-align: center;
padding: 30px 20px 0;
/* background: var(--color-white); */
/* border-bottom: 1px solid var(--border-color-extra-linght); */
}
.post .postTitle:after {
content: "";
width: 40px;
height: 2px;
border-radius: 4px;
display: block;
background: var(--color-primary);
position: absolute;
bottom: -1px;
left: 20px;
z-index: 4;
transition: width 500ms;
display: none;
}
.post .postTitle:hover:after {
width: 80px;
transition: width 500ms;
}
.post .postDesc , .post-header .postDesc{
padding: 10px 20px 30px;
font-size: 0;
display: flex;
line-height: 1.8;
align-items: center;
justify-content: center;
flex-wrap: wrap;
text-align: center;
/* border-bottom: 1px solid var(--border-color-extra-linght); */
}
.post .postDesc span,
.post-header .postDesc span,
.post .postDesc a,
.post-header .postDesc a {
font-size: var(--text-h6);
margin: 0 10px;
}
.post .postDesc span:before,
.post .postDesc a:before,
.post-header .postDesc span:before,
.post-header .postDesc a:before {
margin-right: 4px;
}
#post-date:before {
content: "\e71f";
font-family: element-icons;
}
#post_view_count:before {
content: "\e769";
font-family: element-icons;
}
#post_comment_count:before {
content: "\e72e";
font-family: element-icons;
}
#post_comment_count {
/* flex-grow: 1; */
}
.post .postDesc a[href^="https://www.cnblogs.com/"]:before,
.post-header .postDesc a[href^="https://www.cnblogs.com/"]:before {
content: "\e6e3";
font-family: element-icons;
}
.post .postDesc a[target="_blank"]:before,
.post-header .postDesc a[target="_blank"]:before {
content: "\e786";
font-family: element-icons;
}
.post .postDesc a[rel="nofollow"]:before,
.post-header .postDesc a[rel="nofollow"]:before {
content: "\e764";
font-family: element-icons;
}
.post .postDesc a[onclick^="AddToWz"] ,
.post-header .postDesc a[onclick^="AddToWz"] {
margin: 0 10px;
}
.post .postDesc a[onclick^="reportManager"] ,
.post-header .postDesc a[onclick^="reportManager"] {
margin: 0 10px;
}
.post .postDesc a[onclick^="AddToWz"]:before,
.post-header .postDesc a[onclick^="AddToWz"]:before {
content: "\e765";
font-family: element-icons;
}
.post .postDesc a[onclick^="reportManager"]:before,
.post-header .postDesc a[onclick^="reportManager"]:before {
content: "\e6c9";
font-family: element-icons;
}
}
/************** 博客正文基本样式 结束 ***************/
/************** markdown 开始 ***************/
@media screen and (min-width:0) {
.cnblogs-markdown {
line-height: 1.8;
}
.cnblogs-markdown a {
color: var(--color-primary);
}
.fancybox-image {
max-width: 100% !important;
}
.img-caption {
text-align: center;
width: fit-content;
min-width: 20%;
max-width: 80%;
display: block;
margin: 0 auto;
padding: 10px 10px 40px;
/* border-bottom: 1px solid var(--border-color-extra-linght); */
font-size: 13px;
color: #999;
}
#cnblogs_post_body p img {
width: auto;
display: flex;
margin: 0 auto;
align-items: center;
text-align: center;
}
.cnblogs-markdown pre code,
.cnblogs-markdown .hljs {
border: none !important;
color: #abb2bf;
padding: 20px 10px !important;
/* padding-left: 10px; */
background: #282c34 !important;
font-size: var(--text-h6) !important;
line-height: 1.5 !important;
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}
#cnblogs_post_body ul {
margin-left: 0 !important;
}
.cnblogs-markdown li li li {
list-style-type: square !important;
}
.cnblogs-markdown blockquote {
margin: 0;
border-top: 0px;
border-bottom: 0px;
border-right: 0px;
}
.cnblogs-markdown table {
width: 100% !important;
display: table !important;
border: none !important;
}
#cnblogs_post_body th,
#cnblogs_post_body td,
.cnblogs-post-body th,
.cnblogs-post-body td {
border: 1px solid var(--DividColor) !important;
word-break: break-all;
white-space: nowrap;
}
}
/************** markdown 结束 ***************/
/************** github markdown 开始 ***************/
@media screen and (min-width:0) {
.cnblogs-markdown {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji !important;
font-size: 16px !important;
line-height: 1.8 !important;
/* word-wrap: break-word !important; */
overflow: hidden;
}
.cnblogs-markdown kbd {
display: inline-block !important;
padding: 3px 5px !important;
font: 11px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace !important;
line-height: 10px !important;
color: #444d56 !important;
vertical-align: middle !important;
background-color: #fafbfc !important;
border: 1px solid #d1d5da !important;
border-radius: 3px !important;
box-shadow: inset 0 -1px 0 #d1d5da !important;
}
.cnblogs-markdown:after,
.cnblogs-markdown:before {
display: table !important;
content: "" !important;
}
.cnblogs-markdown:after {
clear: both !important;
}
.cnblogs-markdown>:first-child {
margin-top: 0 !important
}
.cnblogs-markdown>:last-child {
margin-bottom: 0 !important
}
.cnblogs-markdown a:not([href]) {
color: inherit !important;
text-decoration: none !important;
}
.cnblogs-markdown .absent {
color: #cb2431 !important;
}
.cnblogs-markdown .anchor {
float: left !important;
padding-right: 4px !important;
margin-left: -20px !important;
line-height: 1 !important;
}
.cnblogs-markdown .anchor:focus {
outline: none !important;
}
.cnblogs-markdown blockquote,
.cnblogs-markdown details,
.cnblogs-markdown dl,
.cnblogs-markdown ol,
.cnblogs-markdown p,
.cnblogs-markdown pre,
.cnblogs-markdown ul {
margin-top: 0 !important;
margin-bottom: 16px !important;
}
.cnblogs-markdown hr {
height: .25em !important;
padding: 0 !important;
margin: 24px 0 !important;
background-color: #e1e4e8 !important;
border: 0 !important;
}
.cnblogs-markdown blockquote {
padding: 0 1em !important;
color: #6a737d !important;
border-left: .25em solid #dfe2e5 !important;
}
.cnblogs-markdown blockquote>:first-child {
margin-top: 0 !important;
}
.cnblogs-markdown blockquote>:last-child {
margin-bottom: 0 !important;
}
.cnblogs-markdown h1,
.cnblogs-markdown h2,
.cnblogs-markdown h3,
.cnblogs-markdown h4,
.cnblogs-markdown h5,
.cnblogs-markdown h6 {
margin-top: 24px !important;
margin-bottom: 16px !important;
font-weight: 500 !important;
line-height: 1.8 !important;
}
.cnblogs-markdown h1 .octicon-link,
.cnblogs-markdown h2 .octicon-link,
.cnblogs-markdown h3 .octicon-link,
.cnblogs-markdown h4 .octicon-link,
.cnblogs-markdown h5 .octicon-link,
.cnblogs-markdown h6 .octicon-link {
color: #1b1f23 !important;
vertical-align: middle !important;
visibility: hidden !important;
}
.cnblogs-markdown h1:hover .anchor,
.cnblogs-markdown h2:hover .anchor,
.cnblogs-markdown h3:hover .anchor,
.cnblogs-markdown h4:hover .anchor,
.cnblogs-markdown h5:hover .anchor,
.cnblogs-markdown h6:hover .anchor {
text-decoration: none !important;
}
.cnblogs-markdown h1:hover .anchor .octicon-link,
.cnblogs-markdown h2:hover .anchor .octicon-link,
.cnblogs-markdown h3:hover .anchor .octicon-link,
.cnblogs-markdown h4:hover .anchor .octicon-link,
.cnblogs-markdown h5:hover .anchor .octicon-link,
.cnblogs-markdown h6:hover .anchor .octicon-link {
visibility: visible !important;
}
.cnblogs-markdown h1 code,
.cnblogs-markdown h1 tt,
.cnblogs-markdown h2 code,
.cnblogs-markdown h2 tt,
.cnblogs-markdown h3 code,
.cnblogs-markdown h3 tt,
.cnblogs-markdown h4 code,
.cnblogs-markdown h4 tt,
.cnblogs-markdown h5 code,
.cnblogs-markdown h5 tt,
.cnblogs-markdown h6 code,
.cnblogs-markdown h6 tt {
font-size: inherit !important;
}
.cnblogs-markdown h1 {
font-size: 2em !important;
}
.cnblogs-markdown h1,
.cnblogs-markdown h2 {
padding-bottom: .3em !important;
border-bottom: 1px solid var(--border-color-extra-linght) !important;
}
.cnblogs-markdown h2 {
font-size: 1.5em !important;
}
.cnblogs-markdown h3 {
font-size: 1.25em !important;
}
.cnblogs-markdown h4 {
font-size: 1em !important;
}
.cnblogs-markdown h5 {
font-size: .875em !important;
}
.cnblogs-markdown h6 {
font-size: .85em !important;
color: #6a737d !important;
}
.cnblogs-markdown ol,
.cnblogs-markdown ul {
padding-left: 2em !important;
}
.cnblogs-markdown ol.no-list,
.cnblogs-markdown ul.no-list {
padding: 0 !important;
list-style-type: none !important;
}
.cnblogs-markdown ol ol,
.cnblogs-markdown ol ul,
.cnblogs-markdown ul ol,
.cnblogs-markdown ul ul {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
.cnblogs-markdown li {
word-wrap: break-all !important;
}
.cnblogs-markdown li>p {
margin-top: 16px !important;
}
.cnblogs-markdown li+li {
margin-top: .25em !important;
}
.cnblogs-markdown dl {
padding: 0 !important;
}
.cnblogs-markdown dl dt {
padding: 0 !important;
margin-top: 16px !important;
font-size: 1em !important;
font-style: italic !important;
font-weight: 600 !important;
}
.cnblogs-markdown dl dd {
padding: 0 16px !important;
margin-bottom: 16px !important;
}
.cnblogs-markdown table {
display: table !important;
width: 100% !important;
overflow-x: auto !important;
}
.cnblogs-markdown table th {
font-weight: 600 !important;
}
.cnblogs-markdown table td,
.cnblogs-markdown table th {
padding: 6px 13px !important;
border: 1px solid #dfe2e5 !important;
background: transparent !important;
text-align: initial;
}
.cnblogs-markdown table tr {
background-color: var(--color-white);
border-top: 1px solid #c6cbd1 !important;
}
.cnblogs-markdown table tr:nth-child(2n) {
background-color: var(--background-color-base) !important;
}
.cnblogs-markdown table img {
background-color: initial !important;
}
.cnblogs-markdown.blog_comment_body img {
max-width: 100% !important;
box-sizing: initial !important;
background-color: var(--color-white) !important;
}
#cnblogs_post_body img{
/* max-width: unset!important; */
}
.cnblogs-markdown img[align=right] {
padding-left: 20px !important;
}
.cnblogs-markdown img[align=left] {
padding-right: 20px !important;
}
.cnblogs-markdown .emoji {
max-width: none !important;
vertical-align: text-top !important;
background-color: initial !important;
}
.cnblogs-markdown span.frame {
display: block !important;
overflow: hidden !important;
}
.cnblogs-markdown span.frame>span {
display: block !important;
float: left !important;
width: auto !important;
padding: 7px !important;
margin: 13px 0 0 !important;
overflow: hidden !important;
border: 1px solid #dfe2e5 !important;
}
.cnblogs-markdown span.frame span img {
display: block !important;
float: left !important;
}
.cnblogs-markdown span.frame span span {
display: block !important;
padding: 5px 0 0 !important;
clear: both !important;
color: #24292e !important;
}
.cnblogs-markdown span.align-center {
display: block !important;
overflow: hidden !important;
clear: both !important;
}
.cnblogs-markdown span.align-center>span {
display: block !important;
margin: 13px auto 0 !important;
overflow: hidden !important;
text-align: center !important;
}
.cnblogs-markdown span.align-center span img {
margin: 0 auto !important;
text-align: center !important;
}
.cnblogs-markdown span.align-right {
display: block !important;
overflow: hidden !important;
clear: both !important;
}
.cnblogs-markdown span.align-right>span {
display: block !important;
margin: 13px 0 0 !important;
overflow: hidden !important;
text-align: right !important;
}
.cnblogs-markdown span.align-right span img {
margin: 0 !important;
text-align: right !important;
}
.cnblogs-markdown span.float-left {
display: block !important;
float: left !important;
margin-right: 13px !important;
overflow: hidden !important;
}
.cnblogs-markdown span.float-left span {
margin: 13px 0 0 !important;
}
.cnblogs-markdown span.float-right {
display: block !important;
float: right !important;
margin-left: 13px !important;
overflow: hidden !important;
}
.cnblogs-markdown span.float-right>span {
display: block !important;
margin: 13px auto 0 !important;
overflow: hidden !important;
text-align: right !important;
}
.cnblogs-markdown code,
.cnblogs-markdown tt {
padding: 0.2em .4em !important;
margin: 0 4px !important;
/* font-size: 85% !important; */
display: inline;
border: none !important;
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
background-color: rgba(27, 31, 35, .05) !important;
border-radius: 3px !important;
}
.cnblogs-markdown code br,
.cnblogs-markdown tt br {
display: none !important;
}
.cnblogs-markdown del code {
text-decoration: inherit !important;
}
.cnblogs-markdown pre>code {
padding: 0 !important;
margin: 0 !important;
/* font-size: 100% !important; */
/*word-break: normal !important;
white-space: pre !important;*/
background: transparent !important;
border: 0 !important;
}
.cnblogs-markdown .highlight {
margin-bottom: 16px !important;
}
.cnblogs-markdown .highlight pre {
margin-bottom: 0 !important;
/*word-break: normal !important;*/
}
.cnblogs-markdown .highlight pre,
.cnblogs-markdown pre {
/* padding: 16px !important; */
overflow-x: auto !important;
font-size: 85% !important;
width: 100%;
line-height: 1.45 !important;
background-color: #282c34 !important;
border-radius: 3px !important;
}
.cnblogs-markdown pre code,
.cnblogs-markdown pre tt {
/*display: inline !important;*/
/*max-width: auto !important;*/
padding: 20px 10px !important;
/* padding: 16px !important; */
/* line-height: inherit !important; */
white-space: pre !important;
word-break: keep-all;
/* text-overflow: clip; */
background-color: initial !important;
border: 0 !important;
}
.cnblogs-markdown .csv-data td,
.cnblogs-markdown .csv-data th {
padding: 5px !important;
overflow: hidden !important;
font-size: 12px !important;
line-height: 1 !important;
text-align: left !important;
white-space: nowrap !important;
}
.cnblogs-markdown .csv-data .blob-num {
padding: 10px 8px 9px !important;
text-align: right !important;
background: #fff !important;
border: 0 !important;
}
.cnblogs-markdown .csv-data tr {
border-top: 0 !important;
}
.cnblogs-markdown .csv-data th {
font-weight: 600 !important;
background: #f6f8fa !important;
border-top: 0 !important;
}
}
/************** github markdown 结束 ***************/
/************** 博文互动开始 ***************/
@media screen and (min-width:0px) {
#BlogPostCategory,
#EntryTag {
font-family: element-icons;
margin: 10px 0;
font-size: 0;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-start;
}
#BlogPostCategory a,
#EntryTag a {
margin: 4px 8px 4px 0;
display: inline-block;
font-size: var(--text-h6);
}
#BlogPostCategory:before{
content:"\f07c"" 分类:";
font-size: var(--text-h5);
}
#EntryTag:before{
content:"\f02c" " 标签:";
font-size: var(--text-h5);
}
#BlogPostCategory a {
background: transparent;
/* color: var(--color-warning); */
border: 1px solid var(--border-color-light);
padding: 2px 12px;
border-radius: 4px;
}
#BlogPostCategory a:hover{
background: var(--color-warning);
border: 1px solid var(--color-warning);
color: #fff;
transition:background 300ms;
}
#EntryTag a {
background: transparent;
/* color: var(--color-success); */
border: 1px solid var(--border-color-light);
padding: 2px 12px;
border-radius: 4px;
}
#EntryTag a:hover{
background: var(--color-success);
color: #fff;
border: 1px solid var(--color-success);
transition:background 300ms;
}
#BlogPostCategory a:before,
#EntryTag a:before {
margin-right: 4px;
}
#BlogPostCategory a:before {
/* content: "\e784"; */
}
#EntryTag a:before {
/* content: "#"; */
}
#blog_post_info {
display: flex;
flex-wrap: wrap;
align-items: center;
/* grid-template-columns:100%; */
/* grid-gap:20px; */
margin-top: 40px;
position: relative;
justify-content: flex-start;
border-bottom: 1px solid var(--border-color-extra-linght);
}
#green_channel {
/* width: 100% !important; */
/* padding: 20px 10px; */
border: none;
margin: 20px auto 40px 0px;
display: flex;
align-items: center;
/* grid-template-columns: repeat(3, 1fr); */
/* grid-gap: 30px; */
justify-content: center;
font-family: FontAwesome;
/* flex: auto; */
width: fit-content!important;
order: 1;
float: left;
}
#green_channel a {
padding: 0 20px;
}
#green_channel a {
background: transparent !important;
border: none !important;
box-shadow: none !important;
text-shadow: none !important;
color: var(--color-text-primary) !important;
padding: 0 !important;
margin: 0 10px !important;
}
#green_channel a:link,
#green_channel a:visited,
#green_channel a:active {
color: var(--color-text-primary) !important;
}
#green_channel a {
/* display: flex; */
/* align-items: center; */
font-size: 0;
font-weight: normal;
/* grid-template-columns: 100%; */
margin: 0 20px;
position:relative;
}
#green_channel a:before {
display: flex;
align-items: center;
justify-content: center;
font-size: var(--text-h4);
border-radius: 100px;
line-height: 40px;
height: 40px;
width: 40px;
border: 1px solid var(--BackgroundColor);
/* transition: all 300ms; */
}
#green_channel_digg,
#green_channel span,
#green_channel_follow {
display: none !important;
}
#green_channel_digg:before {
content: "\f087";
}
#green_channel_follow:before {
content: "\f08a";
}
#green_channel_favorite:before {
content: "\f005";
color: var(--color-info-0);
}
#green_channel_favorite:hover:after{
font-size:14px;
content: "收藏本文";
font-size: 10px;
color:var(--color-text-secondary);
top:-50%;
left:-2px;
right:0;
width:max-content;
position:absolute;
animation-name:fadeInUp;
animation-duration:0.3s
}
#green_channel_favorite:hover:before {
content: "\f005";
color: var(--color-warning);
transition:300ms;
}
#green_channel_weibo:before {
content: "\f18a";
color: var(--color-info-0);
}
#green_channel_weibo:hover:before {
content: "\f18a";
color: #F44336;
transition:300ms;
}
#green_channel_weibo img {
display: none;
}
#green_channel_weibo:after {
content: "微博分享"
}
#green_channel_weibo:hover:after{
font-size:14px;
content: "微博分享";
font-size: 10px;
color:var(--color-text-secondary);
top:-50%;
left:-2px;
right:0;
width:max-content;
position:absolute;
animation-name:fadeInUp;
animation-duration:0.3s
}
#green_channel_wechat:before {
content: "\f1d7";
color: var(--color-info-0);
}
#green_channel_wechat:hover:after{
font-size:14px;
content: "微信分享";
font-size: 10px;
color:var(--color-text-secondary);
top:-50%;
left:-2px;
right:0;
width:max-content;
position:absolute;
animation-name:fadeInUp;
animation-duration:0.3s
}
#green_channel_wechat:hover:before {
content: "\f1d7";
color: var(--color-success);
}
#green_channel_wechat img {
display: none;
}
#green_channel_wechat:after {
content: "微信分享"
}
#div_digg {
margin: 20px 10px 40px auto;
padding: 0;
width: fit-content;
color: var(--color-text-primary) !important;
/* flex-grow: 1; */
text-align: center;
display: flex;
/* flex-direction: column; */
/* position: absolute; */
}
.diggit {
background:transparent!important;
color: var(--color-info-0);
margin: 0;
padding: 0;
width: fit-content;
height: fit-content;
transition: 300ms;
/* position:relative; */
}
.diggit:hover:after{
font-size:14px;
content: "支持一下";
font-size: 10px;
color:var(--color-text-secondary);
top:10px;
margin: 0 auto 0 -24px;
width:max-content;
position:absolute;
animation-name:fadeInUp;
animation-duration:0.3s;
}
.zan .diggit:before{
color:#FA7298;
animation-name:zan;
animation-duration: 0.5s;
}
#digg_tips{
font-size:0;
}
#digg_tips a {/* position: relative; */font-size:0px;/* right:0; */margin: -2px!important;padding:0!important;display: flex;align-items:center;justify-content:center;width: 44px;height: 44px;/* z-index: -2; */text-decoration:none;}
#digg_tips a:before {font-size:14px;content: "\f004";width: 40px;line-height: 40px;height: 40px;color:#FA7298;font-size: var(--text-h4);}
#digg_tips a:hover:after{
font-size:14px;
content: "取消支持";
font-size: 10px;
color:var(--color-text-secondary);
top:-50%;
width:max-content;
position:absolute;
animation-name:fadeInUp;
animation-duration:0.3s
}
.diggnum {
/* display:none; */
color: var(--tect-color-regular)!important;
font-family:inherit;
position: absolute;
top: 80px;
margin: 0 auto;
left: 0;
right: 0;
width: max-content;
pointer-events: none;
}
.diggnum:after{
content:" 人觉得很赞";
}
.buryit {
display: none;
}
.diggit:hover:before{
color:#FA7298
}
@keyframes zan {
from {
opacity: 0;
-webkit-transform: scale(1.2);
transform: scale(1.2);
}
to {
opacity:1;
-webkit-transform: none;
transform: none;
}
}
.diggit:before {
content: "\f004";
font-size: var(--text-h4);
/* font-family: 'Material Icons'; */
display: flex;
align-items: center;
justify-content: center;
font-size: var(--text-h4);
border-radius: 100px;
line-height: 40px;
height: 40px;
width: 40px;
border: 1px solid var(--BackgroundColor);
}
/*:after {
position:absolute;
top:0;
content: "+1";
font-size: var(--text-h4);
display: flex;
align-items: center;
justify-content: center;
font-size: var(--text-h4);
border-radius: 100px;
line-height: 40px;
height: 40px;
width: 40px;
display:none;
animation-name:fadeOutUp;
animation-duration: 0.5s;
} */
@media screen and (max-width:540px) {
#div_digg {
margin: 20px 10px 40px auto;
}
#author_profile_honor {
display: none;
}
}
/* 博主信息 */
#author_profile {
order: 1;
width: 100%;
display: flex;
align-items: center;
margin: 20px 0;
border:1px solid var(--BackgroundColor);
padding:20px;
border-radius:4px;
}
.author_profile_info {
flex-grow: 1;
color: var(--color-text-primary);
}
#author_profile a:hover {
text-decoration: none;
}
.author_avatar {
margin: 0;
padding: 0;
height: 54px;
height: 54px;
border-radius: 100px;
}
#author_profile_detail {
margin: 0 20px ;
}
#author_profile_honor {
padding: 4px 12px;
border-radius:4px;
margin: 0 20px;
font-size: var(--text-h6);
color:#fff;
background: var(--color-primary);
cursor:pointer
}
#author_profile_honor:empty{
display:none;
}
#author_profile_honor:before{
content:"\f091";
margin-right:10px;
/* color:#FF9800 */
/* font-family:element-icons; */;
}
#author_profile_follow {
font-size: 0;
}
#author_profile_follow a,
#author_profile_follow span {
background: #fdedf1;
border: 1px solid #ffe1ea;
color: #ff5182!important;
padding: 6px 12px;
border-radius: 4px;
font-size: var(
--text-h6);
transition:all 300ms;
}
#author_profile_follow a:hover {
background: var(--color-danger-0);
border: 1px solid var(--color-danger-0);
transition:all 300ms;
color:#fff!important;
}
/*上下篇*/
#post_next_prev {
font-size: var(--text-h5);
text-overflow: ellipsis;
width: 100% !important;
display: grid;
padding: 20px 0 0;
border-radius: 6px;
grid-template-columns: 0 auto 1fr 14px auto 1fr;
justify-content: space-between;
overflow: hidden;
}
#post_next_prev a {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#post_next_prev br {
width: 0 !important;
display: none;
margin: 0 7px !important;
}
.p_n_p_prefix {
font-size: 0;
}
}
/************** 博文互动结束 ***************/
/************** 评论开始 ***************/
@media screen and (min-width:0px) {
.login_tips {
padding: 20px;
background: none;
text-align: center;
}
#blog-comments-placeholder div[style="color:green;margin:50px 0;font-weight:normal;"] {
margin: 0 !important;
padding: 20px;
text-align: center;
}
#blog-comments-placeholder div[style="color:green;margin:50px 0;font-weight:normal;"]:before {
content: "\e6cf";
font-family: element-icons;
margin-right: 6px;
}
#comment_form_container span[style="color:red"] {
text-align: center !important;
padding: 20px !important;
display: block;
}
#comment_form_container span[style="color:red"]:before {
content: "\f071";
font-family: FontAwesome;
margin-right: 6px;
}
.commentbox_tab:hover,
.commentbox_tab.active {
border-bottom-color: var(--color-primary);
}
#comment_form {
border: 0px solid var(--border-color-light);
}
#comment_form,
#blog-comments-placeholder {
margin: 20px 0;
background: var(--color-white);
border-radius: 0;
}
#blog-comments-placeholder br {
display: none;
}
#comment_nav {
padding: 20px;
text-align: center;
display: none;
/* border-bottom: 1px solid var(--border-color-extra-linght); */
}
#commentform_title {
background: none;
padding: 0;
margin: 0;
}
#commentform_title,
.feedback_area_title {
margin: 0;
font-size: var(--text-h4);
font-weight: 500;
/* text-indent:10px; */
padding: 14px 14px 14px;
/* border-top: 1px solid var(--border-color-extra-linght); */
/* border-bottom: 1px solid var(--border-color-extra-linght); */
position: relative;
order: 1;
}
#commentform_title:before,
.feedback_area_title:before {
/* content: ""; */
border-left: solid 4px var(--color-primary);
margin-right: 10px;
width: fit-content;
}
#commentform_title:after,
.feedback_area_title:after {
/* content: ""; */
width: 40px;
height: 2px;
border-radius: 4px;
display: block;
background: var(--color-primary);
position: absolute;
bottom: -1px;
left: 20px;
z-index: 4;
transition: width 500ms;
}
#commentform_title:hover:after,
.feedback_area_title:hover:after {
width: 80px;
}
.feedbackItem {
border-bottom: 1px solid var(--border-color-extra-linght);
padding: 20px;
box-sizing: border-box;
position: relative;
}
.feedbackListSubtitle {
display: flex;
/* line-height:2; */
color: var(--color-text-secondary);
font-size: 0;
white-space: nowrap;
overflow-x: auto;
/* width: 100%; */
flex-wrap: wrap;
/* position: relative; */
}
.comment_vote {
color: var(--color-text-secondary);
font-size: var(--text-h5) !important;
}
.feedbackListSubtitle a {
font-size: var(--text-h5);
}
.layer {
/* width:100%; */
order: 1;
margin-right: 10px;
}
.feedbackManage {
order: 2;
position: absolute;
left: 20px;
bottom: 20px;
}
.comment_date {
order: 3;
width: 100%;
font-size: var(--text-h5);
}
.feedbackListSubtitle a[id^="a_comment_author"] {
order: 2;
overflow: hidden;
/* width: 100%; */
/* margin-right: 120px; */
white-space: nowrap;
text-overflow: ellipsis;
color: var(--color-text-regular);
/* padding-right: 200px!important; */
}
.louzhu {
order: 3;
display:flex;
align-items:center;
justify-content:center;
}
.louzhu:before {
content: "博主";
font-size:10px!important;;
color:#fff;
margin-left: 4px;
background: #ea7197;
height:14px;
line-height:14px;
padding:2px 4px;
border-radius:2px;
font-family: fontawesome;
/* font-size: var(--text-h5) !important; */
}
.comment_textarea {
width: calc(100% - 28px)!important;
margin: 10px 14px 14px!important;
border: 1px solid var(--border-color-extra-linght);
background: var(--color-white);
transition: none;
}
#tbCommentBody {
background: var(--color-white);
color: var(--text-color-regular);
max-height: 200px;
font-size: 16px;
}
.commentbox_title,
.commentbox_tab:hover,
.commentbox_tab.active {
/* border-color: var(--color-primary); */
color: var(--color-text-regular);
}
.commentbox_title {
border-bottom: 1px solid var(--border-color-extra-linght) !important;
}
#commentbox_opt {
padding: 0 14px;
margin:0!important;
}
#comment_form_container p:nth-child(7) {
padding: 10px 20px;
font-size: var(--text-h6);
color: var(--color-text-secondary);
}
#tbCommentBodyPreviewBody {
max-height: 200px;
overflow-y: auto;
margin: 0;
height: 250px;
padding: 0;
}
#btn_comment_submit {
background: transparent;
border-radius: 4px;
border: 1px solid var(--BackgroundColor);
color: var(--text-color-regular);
cursor: pointer;
outline: none;
line-height:30px;
height: 30px;
width: 80px;
}
#btn_comment_submit:hover{
color:#fff;
transition:all 300ms;
border: 1px solid var(--color-primary);
background: var(--color-primary);
}
.blog_comment_body {
padding: 20px 0;
}
#tip_comment,
#tip_comment2 {
display: none;
}
.comment_my_posted,
.new-comment-block {
padding: 20px;
border-bottom: 1px dashed var(--border-color-base);
}
.bq_post_comment {
border: none;
}
}
/************** 评论结束 ***************/
/************** 弹窗开始 ***************/
@media screen and (min-width:0px) {
.ui-popup {
max-width: calc(100vw - 28px) !important;
}
.art-dialog-content,
.alert-dialog-grid,
.alert-dialog-header,
.alert-dialog-body,
.alert-dialog-footer {
max-width: calc(100vw - 70px) !important;
}
.art-dialog-title {
max-width: 100px !important;
}
.art-dialog-content iframe {
overflow-y: auto !important;
}
}
/************** 弹窗结束 ***************/
.cnblogs-markdown .hljs,
.cnblogs-markdown pre {
background: #1E1E1E !important;
color: #DCDCDC !important;
}
.hljs::-webkit-scrollbar {
width: 8px;
height: 8px;
transition: height 3000ms;
}
.hljs::-webkit-scrollbar-thumb {
//border-radius: 10px;
background-color: #c1c1c1;
}
/*** Atom OneDark 开始**/
/*
@media screen and (min-width:0px) {
.cnblogs-markdown .hljs,.cnblogs-post-body .hljs {
display: block;
overflow-x: auto;
padding: .5em;
color: #abb2bf;
}
.cnblogs-markdown .hljs-comment,.cnblogs-markdown .hljs-quote,.cnblogs-post-body .hljs-comment,.cnblogs-post-body .hljs-quote {
color: #5c6370;
}
.cnblogs-markdown .hljs-doctag,.cnblogs-markdown .hljs-formula,.cnblogs-markdown .hljs-keyword,.cnblogs-post-body .hljs-doctag,.cnblogs-post-body .hljs-formula,.cnblogs-post-body .hljs-keyword {
color: #c678dd
}
.cnblogs-markdown .hljs-deletion,.cnblogs-markdown .hljs-name,.cnblogs-markdown .hljs-section,.cnblogs-markdown .hljs-selector-tag,.cnblogs-markdown .hljs-subst,.cnblogs-post-body .hljs-deletion,.cnblogs-post-body .hljs-name,.cnblogs-post-body .hljs-section,.cnblogs-post-body .hljs-selector-tag,.cnblogs-post-body .hljs-subst {
color: #e06c75
}
.cnblogs-markdown .hljs-literal,.cnblogs-post-body .hljs-literal {
color: #56b6c2
}
.cnblogs-markdown .hljs-addition,.cnblogs-markdown .hljs-attribute,.cnblogs-markdown .hljs-meta-string,.cnblogs-markdown .hljs-regexp,.cnblogs-markdown .hljs-string,.cnblogs-post-body .hljs-addition,.cnblogs-post-body .hljs-attribute,.cnblogs-post-body .hljs-meta-string,.cnblogs-post-body .hljs-regexp,.cnblogs-post-body .hljs-string {
color: #98c379
}
.cnblogs-markdown .hljs-built_in,.cnblogs-markdown .hljs-class .hljs-title,.cnblogs-post-body .hljs-built_in,.cnblogs-post-body .hljs-class .hljs-title {
color: #e6c07b
}
.cnblogs-markdown .hljs-attr,.cnblogs-markdown .hljs-number,.cnblogs-markdown .hljs-selector-attr,.cnblogs-markdown .hljs-selector-class,.cnblogs-markdown .hljs-selector-pseudo,.cnblogs-markdown .hljs-template-variable,.cnblogs-markdown .hljs-type,.cnblogs-markdown .hljs-variable,.cnblogs-post-body .hljs-attr,.cnblogs-post-body .hljs-number,.cnblogs-post-body .hljs-selector-attr,.cnblogs-post-body .hljs-selector-class,.cnblogs-post-body .hljs-selector-pseudo,.cnblogs-post-body .hljs-template-variable,.cnblogs-post-body .hljs-type,.cnblogs-post-body .hljs-variable {
color: #d19a66
}
.cnblogs-markdown .hljs-bullet,.cnblogs-markdown .hljs-link,.cnblogs-markdown .hljs-meta,.cnblogs-markdown .hljs-selector-id,.cnblogs-markdown .hljs-symbol,.cnblogs-markdown .hljs-title,.cnblogs-post-body .hljs-bullet,.cnblogs-post-body .hljs-link,.cnblogs-post-body .hljs-meta,.cnblogs-post-body .hljs-selector-id,.cnblogs-post-body .hljs-symbol,.cnblogs-post-body .hljs-title {
color: #61aeee
}
.cnblogs-markdown .hljs-emphasis,.cnblogs-post-body .hljs-emphasis {
font-style: italic
}
.cnblogs-markdown .hljs-strong,.cnblogs-post-body .hljs-strong {
font-weight: 700
}
.cnblogs-markdown .hljs-link,.cnblogs-post-body .hljs-link {
text-decoration: underline
}
.cnblogs-markdown .hljs-tag,.cnblogs-post-body .hljs-tag {
color: #abb2bf
}
}
*/
/** vscode **/
@media screen and (min-width:0px) {
.hljs-keyword,
.hljs-literal,
.hljs-symbol,
.hljs-name {
color: #569CD6 !important;
}
.hljs-link {
color: #569CD6 !important;
text-decoration: underline !important;
}
.hljs-built_in,
.hljs-type {
color: #4EC9B0 !important;
}
.hljs-number,
.hljs-class {
color: #B8D7A3 !important;
}
.hljs-string,
.hljs-meta-string {
color: #D69D85 !important;
}
.hljs-regexp,
.hljs-template-tag {
color: #9A5334 !important;
}
.hljs-subst,
.hljs-function,
.hljs-title,
.hljs-params,
.hljs-formula {
color: #DCDCDC !important;
}
.hljs-comment,
.hljs-quote {
color: #57A64A !important;
}
.hljs-doctag {
color: #608B4E !important;
}
.hljs-meta,
.hljs-meta-keyword,
.hljs-tag {
color: #9B9B9B !important;
}
.hljs-variable,
.hljs-template-variable {
color: #BD63C5 !important;
}
.hljs-attr,
.hljs-attribute,
.hljs-builtin-name {
color: #9CDCFE !important;
}
.hljs-section {
color: gold !important;
}
.hljs-emphasis {
font-style: italic !important;
}
.hljs-strong {
font-weight: bold !important;
}
.hljs-bullet,
.hljs-selector-tag,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #D7BA7D !important;
}
.hljs-addition {
color: inherit !important;
background-color: #144212 !important;
display: inline-block !important;
width: 100% !important;
}
.hljs-deletion {
background-color: #600 !important;
display: inline-block !important;
width: 100% !important;
}
}
/******* Atom OneDark 结束 ********/
/*** 代码复制 开始**/
@media screen and (min-width:0px) {
.codeType {
position: absolute;
top: 0;
right: 0px;
padding: 2px 10px;
border-radius: 4px;
/* background:#1e1e1e; */
color: #dcdcd0;
z-index: 2;
font-size: small;
/* box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.1); */
}
.clipboard-button {
position: absolute;
display: none;
z-index: 2;
right: 10px;
top: 7px;
border-radius: 4px;
font-size: 12px !important;
color: #333;
padding: 2px 6px;
box-sizing: border-box;
background-color: #fff;
box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.1);
cursor: pointer;
}
.clipboard-button:before {
content: "复制"
}
.copyItem:hover .clipboard-button {
display: block;
z-index: 2;
}
}
/*** 代码复制 结束**/
/*** 评论头像开始**/
@media screen and (min-width:0px) {
.feedbackListSubtitle_right,
.feedbackCon_right {
margin-left: 60px;
}
.comment_avatar {
width: 48px;
height: 48px;
border-radius: 100%;
border: 1px solid var(--DividColor);
}
.comment_avatar img {
box-shadow: 0 0 1px 0px rgba(51, 51, 51, .1) !important;
}
}
/*** 评论头像 结束**/
/**** owo开始 ****/
@media screen and (min-width:0px) {
.OwO {
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none
}
.OwO:hover .OwO-logo {
color: #444
}
.OwO.OwO-open .OwO-logo {
border-radius: 4px 4px 0 0;
/* border-bottom: none; */
color: #444;
}
.OwO.OwO-open .OwO-body {
display: block
}
.OwO.OwO-up .OwO-body {
top: inherit;
bottom: 40px;
border-radius: 4px 4px 4px 0;
width: 290px!important;
/* height: 150px; */
}
.OwO .OwO-body{
animation-name:fadeOutUp;
animation-duration:0.4s;
}
.OwO-open .OwO-body{
animation-name:fadeInDown;
animation-duration:0.4s;
}
.OwO.OwO-up .OwO-body .OwO-bar .OwO-packages li:nth-child(1) {
border-radius: 0
}
.OwO.OwO-up.OwO-open .OwO-logo {
border: none;
border-radius: 0 0 4px 4px;
/* border-top: none; */
}
.OwO .OwO-logo {
position: relative;
display: inline-block;
color: #888;
background: var(--color-white);
border: none;
border-radius: 4px;
font-size: 16px;
padding: 2px 5px;
cursor: pointer;
height: 22px;
box-sizing: border-box;
z-index: 2;
line-height: 16px;
}
.OwO .OwO-logo:hover span {
display: inline-block;
-webkit-animation: a 5s infinite ease-in-out;
animation: a 5s infinite ease-in-out
}
.OwO .OwO-body {
display: none;
position: absolute;
width: 400px;
background: var(--color-white);
border: 1px solid var(--border-color-extra-linght);
z-index: 1;
top: 21px;
border-radius: 0 4px 4px 4px;
}
.OwO .OwO-body .OwO-items {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
display: none;
padding: 10px;
margin: 0;
overflow: scroll;
font-size: 0
}
.OwO .OwO-body .OwO-items .OwO-item {
list-style-type: none;
background: var(--background-color-base);
padding: 5px 10px;
border-radius: 5px;
display: inline-block;
font-size: 12px;
line-height: 14px;
margin: 0 10px 12px 0;
cursor: pointer;
-webkit-transition: .3s;
transition: .3s;
}
.OwO .OwO-body .OwO-items .OwO-item:hover {
background: var(--background-color-base);
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
-webkit-animation: a 5s infinite ease-in-out;
animation: a 5s infinite ease-in-out;
}
.OwO .OwO-body .OwO-items-emoji .OwO-item {
font-size: 20px;
line-height: 19px
}
.OwO .OwO-body .OwO-items-image .OwO-item {
max-width: calc(25% - 10px);
box-sizing: border-box
}
.OwO .OwO-body .OwO-items-image .OwO-item img {
max-width: 100%
}
.OwO .OwO-body .OwO-items-show {
display: block
}
.OwO .OwO-body .OwO-bar {
width: 100%;
height: 30px;
border-top: 1px solid var(--border-color-extra-linght);
background: var(--color-white);
border-radius: 0 0 4px 4px;
color: var(--color-text-regular);
}
.OwO .OwO-body .OwO-bar .OwO-packages {
margin: 0;
padding: 0;
font-size: 0
}
.OwO .OwO-body .OwO-bar .OwO-packages li {
list-style-type: none;
display: inline-block;
line-height: 30px;
font-size: 14px;
padding: 0 10px;
cursor: pointer;
margin-right: 3px
}
.OwO .OwO-body .OwO-bar .OwO-packages li:nth-child(1) {
border-radius: 0 0 0 3px
}
.OwO .OwO-body .OwO-bar .OwO-packages li:hover {
background: var(--border-color-light);
}
.OwO .OwO-body .OwO-bar .OwO-packages .OwO-package-active {
background: var(--background-color-base);
-webkit-transition: .3s;
transition: .3s;
}
/* 表情 */
img[src^="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/smilies"],
img[src^="https://images.cnblogs.com/cnblogs_com/gshang/1626876/"],
img[src^="https://images.cnblogs.com/cnblogs_com/gshang/1663431/"] {
width: 22px;
height: 22px;
margin-bottom: -4px;
}
}
/**** owo结束****/
/********* 悬浮按钮 ********/
@media screen and (min-width:0px) {
.float-btn {
position: fixed;
bottom: 20px;
right: 10px;
z-index: 97;
transition: 0.3s transform;
}
.float-btn-hide {
transform: translateX(200%);
transition: 0.3s transform;
}
.float-btn ul {
display: flex;
flex-direction: column;
/* grid-template-columns: 100%; */
/* grid-gap: 10px; */
padding: 0;
margin: 0;
}
.float-btn li {
background: var(--color-white);
color: var(--color-text-regular);
font-family: FontAwesome;
list-style-type: none;
width: 40px;
height: 40px;
display: flex;
line-height: 40px;
text-align: center;
align-items: center;
justify-content: center;
border-radius: 100px;
box-shadow: var(--light-shadow);
position: relative;
overflow: visible;
margin-bottom: 10px;
}
.float-btn li a {
display: block;
width: 40px;
height: 40px;
}
@media screen and (min-width:1200px) {
.float-btn li:before {
content: "";
position: absolute;
right: calc(100% + 10px);
display: block;
white-space: nowrap;
background: #222527;
border-radius: 4px;
height: 36px;
display: none;
color: white;
font-size: var(--text-h6);
align-items: center;
padding: 0 14px;
transformX: 0%;
transition: all 300ms;
}
.float-btn li:after {
content: "";
position: absolute;
right: calc(100% + 5px);
width: 10px;
height: 10px;
z-index: -1;
color: white;
background: #222527;
transform: rotate(45deg);
display: none;
transformX: 0%;
transition: all 300ms;
}
.float-btn li:hover:before,
.float-btn li:hover:after {
display: flex !important;
transition: all 300ms;
transformX: 100%;
}
.btn-top:before {
content: "返回顶部" !important;
}
.btn-content:before {
content: "切换到目录" !important;
}
.btn-content.btn-content-open:before {
content: "切换到默认" !important;
}
.btn-comment:before {
content: "发表评论" !important;
}
.btn-main:before {
content: "打开侧边" !important;
}
.btn-share:before {
content: "当前网址二维码" !important;
}
.btn-theme:before {
content: "夜间模式" !important;
}
html[theme='dark'] .btn-theme:before {
content: "日间模式" !important;
}
.btn-comment:before {
content: "发表评论" !important;
}
.main-widthout-sidebar .btn-main:before {
content: "隐藏侧边" !important;
}
}
.btn-top a:before {
content: "\f0d8"
}
.btn-content {
display: none;
}
.btn-content a:before {
content: "\f0ec";
}
.btn-content.btn-content-open a:before {
content: "\f0ec";
}
.btn-sidebar a:before {
content: "\f0c9"
}
.btn-sidebar.btn-sidebar-open a:before {
content: "\f00d" !important;
}
.btn-comment a:before {
content: "\f075";
}
.btn-main a:before {
content:"\f03c"
}
.main-widthout-sidebar .btn-main a:before {
content: "\f03b"!important;
}
.btn-commet a:before {
content: "\f27a"
}
@media screen and (max-width:1200px) {
.btn-main {
/* display: none !important; */
}
}
@media screen and (min-width:1200px) {
.btn-sidebar {
display: none !important;
}
.btn-main.btn-main-open a:before {
content: "\f0c9" !important;
}
.main-hide {
grid-template-columns: 100% !important;
transition: width 300ms;
}
.main-hide #sideBar {
display: none;
}
}
}
/******** 导航目录 *********/
@media screen and (min-width: 0px) {
.scroller-offset1{
content: "";
padding-left: 0px;
}
.scroller-offset2 {
content: "";
padding-left: 20px!important;
}
.scroller-offset3 {
content: "";
padding-left: 30px!important;
}
.scroller-offset4{
content: "";
padding-left: 40px!important;
}
.scroller-offset5{
content: "";
padding-left: 50px!important;
}
.scroller-offset6{
content: "";
padding-left: 60px!important;
}
.nav {
/* height: calc(100vh - 90px); */
overflow-y: auto;
padding: 10px;
white-space: nowrap;
}
.nav li.active:before {
background: var(--color-primary) !important;
}
.nav .active a {
background-color: #dfedf8;
border-radius: 6px;
color: var(--color-primary);
animation:blink 1s infinite;
}
@keyframes blink {
0% {
border:2px solid var(--color-primary);
/* box-shadow:0px 2px 10px #F44336; */
}
50% {
border:2px solid transparent;
}
100% {
border:2px solid var(--color-primary);
}
}
.nav .active a:hover {
/* background-color: var(--color-primary); */
border-radius: 4px;
/* color: #fff; */
border:1px solid var(--color-primary);
}
.nav a:hover {
color: var(--color-primary);
/* background: var(--BackgroundColor); */
border-radius: 4px;
/* border:2px solid var(--color-primary); */
transition: all .5s
}
@media screen and (min-width:1200px) {
.nav {
/* height: calc(100vh - 50px); */
}
}
.nav li {
padding: 0px;
display: flex;
/* border-left: 1px solid var(--border-color-extra-linght); */
justify-content: center;
align-items: center;
line-height: 2.4;
overflow: hidden;
}
/* .nav li:before {
content: "";
width: 8px;
height: 8px;
display: block;
border: 2px solid var(--background-color-base);
z-index: 2;
margin: 4px 4px 4px -6px;
border-radius: 8px;
background: var(--border-color-extra-linght);
} */
.nav {
position: relative;
padding: 14px 14px 14px 20px !important;
}
/* .nav:before,
.nav:after {
content: "";
left: 36px;
width: 6px;
height: 6px;
display: block;
margin: 4px 4px 4px -4px;
border-radius: 8px;
background: var(--background-color-base);
border: 2px solid var(--color-primary);
} */
.nav li a {
text-overflow: ellipsis !important;
display: block !important;
flex: 1;
overflow: hidden;
width:100%!important;
height: 100% !important;
white-space: nowrap;
margin: 1px 0px;
padding: 0 10px !important;
border: 2px solid transparent;
}
}
/****** 信息提示 *******/
@media screen and (min-width: 0px) {
.newscard {
border-radius: 4px;
margin: 0px 0px 10px;
padding: 0px 10px;
line-height: 40px;
height: 40px;
overflow: hidden;
background-color: #dfedf8;
color: #3162ae;
box-shadow: 0 0.05rem 1rem rgba(50, 50, 50, .04);
}
.newscard ul {
height: 40px;
margin: 0;
padding: 0;
}
.newstext {
word-break: keep-all;
white-space: nowrap;
overflow: hidden;
height: 40px;
line-height: 40px;
text-overflow: ellipsis;
}
.newscard i {
float: left;
margin: 0 10px;
font-size: inherit;
line-height: 40px;
vertical-align: middle !important;
}
.infocard {
border-radius: 4px;
margin: 10px 0;
padding: 10px 16px;
text-align: justify;
word-break: break-all;
line-height: inherit !important;
display: inline-grid;
grid-template-columns: auto 1fr;
width: 100%;
align-items: center;
justify-content: center;
}
.infocard i {
/*float: left;*/
margin-right: 16px;
font-size: inherit;
line-height: inherit !important;
vertical-align: middle !important;
display: inline-block;
}
.infocard p {
padding: 0 !important;
margin: 0 !important;
text-align: left;
}
.tip {
background-color: #d5f1e5;
color: #20704d;
}
.warning {
background-color: #f9e8de;
color: #a84229;
}
.normal {
background-color: #dfedf8;
color: #3162ae;
}
}
/* 插入媒体 */
@media screen and (min-width: 0px) {
#cnblogs_post_body .video {
height: 0;
margin: 10px auto;
padding-bottom: 56.25%;
/* 16:9 */
position: relative;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
border: 1px solid var(--DividColor);
border-radius: 4px;
overflow: hidden;
}
#cnblogs_post_body .video iframe,
#cnblogs_post_body .video video {
position: absolute;
/*left: 0;*/
top: 0;
/*right:0;*/
width: 100%;
height: 100%;
z-index: 0;
}
#cnblogs_post_body .music {
height: 140px;
/*padding-bottom: 14.39%;*/
/* 16:9 */
position: relative;
width: 100%;
}
#cnblogs_post_body .music iframe {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.imgtext {
font-size: var(--text7);
text-align: center;
color: var(--color-text-regular);
}
}
#MySignature {
font-size: var(--text-h5);
color: var(--color-text-secondary);
margin: 0;
/* padding: 14px; */
}
#the-end {
text-align: center;
display: flex;
margin: 14px auto;
align-items: center;
justify-content: center;
}
#the-end:before {
content: "";
width: 60px;
height: 1px;
display: inline-block;
opacity: 0.8;
border-bottom: 1px solid var(--border-color-base);
margin-right: 6px;
}
#the-end:after {
content: "";
width: 60px;
opacity: 0.8;
height: 1px;
display: inline-block;
border-bottom: 1px solid var(--border-color-base);
margin-left: 6px;
}
pre {
display: flex;
/* grid-template-columns: auto 1fr; */
}
.cnblogs_code pre{
display:inherit;
}
pre code {
flex-grow: 1;
}
ul.pre-numbering {
/* min-width: 20px !important; */
width: fit-content !important;
padding: 20px 10px !important;
border-right: 0px solid #abb2bf;
/* background-color: #282c34 !important; */
color: #898e96;
text-align: right;
margin-bottom: 0px !important;
font-size: var(--text-h6) !important;
line-height: 1.5 !important;
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
order: -1;
}
ul.pre-numbering li {
list-style-type: none !important;
padding: 0;
margin: 0 !important;
white-space: nowrap;
}
ul.pre-numbering li:before {
content: attr(data-number);
}
.sidebar-fixed #sidebar_scroller {
margin: 0
}
.theme {
width: 60px;
height: 60px;
line-height: 60px;
text-align: center;
font-size: var(--text-h4);
}
html[theme="dark"] #theme:before,
html[theme="dark"] .btn-theme a:before {
content: "\f185" !important;
}
@media screen and (max-width:767px) {
.main-widthout-sidebar #mainContent {
height: 100% !important;
overflow: hidden !important;
}
.main-widthout-sidebar .mask {
z-index: 98;
background: rgba(0, 0, 0, .5);
position: fixed;
height: 100vh;
width: 100vw;
top: 0;
left: 0;
display: block;
}
}
.mask {
display: none;
}
.MathJax {
outline: none;
}
@media screen and (min-width:1200px) {
#navList li {
position: relative;
}
#navList li a {
width: 50px;
}
#navList li:before {
content: "";
position: absolute;
top: calc(100% + 10px);
left: 0;
right: 0;
display: none;
white-space: nowrap;
background: #222527;
border-radius: 4px;
width: fit-content;
margin: 0 auto;
color: white;
font-size: var(--text-h6);
align-items: center;
padding: 4px 6px;
transition: all 300ms;
}
#navList li:after {
content: "";
position: absolute;
top: calc(100% + 6px);
left: 0;
right: 0;
margin: 0 auto;
width: 10px;
height: 10px;
z-index: -1;
color: white;
background: #222527;
transform: rotate(45deg);
display: none;
transformX: 0%;
transition: all 300ms;
}
#navList li:hover:before,
#navList li:hover:after {
display: block !important;
transition: all 300ms;
transformX: 100%;
}
#navList li:nth-child(1):before {
content: "博客园" !important;
}
#navList li:nth-child(2):before {
content: "首页" !important;
}
#navList li:nth-child(3):before {
content: "新随笔" !important;
}
#navList li:nth-child(4):before {
content: "联系" !important;
}
#navList li:nth-child(5):before {
content: "订阅" !important;
}
#navList li:nth-child(6):before {
content: "管理" !important;
}
}
/*
.forFlow:after{
content:'Copyright © 2021 GShang';
display:block;
text-align: center;
padding: 30px 14px;
background: var(--color-white);
color: var(--color-text-secondary);
}
*/
.tablebox {
margin:20px 0;
}
.post-header {
background-repeat: no-repeat!important;
background-size:cover!important;
background-position: center!important;
min-height: 300px;
/* max-height: 300px; */
position:relative;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
/*padding:20px;*/
/* text-shadow: 2px 2px 10px #0000008a; */
text-shadow: 0 3px 6px rgba(0,0,0,0.3);
}
.post-header .postTitle,
.post-header .postDesc{z-index: 0;}
.post-header * {
color:#fff!important;
}
.post-header:before{
content: "";
background: rgba(0,0,0,.3);
/* backdrop-filter: blur(4px); */
display: block;
width: 100%;
height: 100%;
position: absolute;
z-index: 0;
}
.post-header .entrylistDescription{
border:none
}
.entrylistTitle:nth-child(2) {
display: none;
}
.entrylistDescription .desc_img{display: none!important;}
.post-navbar{
display:table-cell;
width:100%;
line-height:70px;
transition:transform 300ms;
}
#blogTitle,#navigator{
transition:transform 300ms;
}
.post-navbar-show #blogTitle,
.post-navbar-show #navigator,
.post-navbar-show .post-navbar
{
transform: translatey(-70px)!important;
transition:transform 300ms;
}
.post-title {font-size: 24px;font-weight:500;max-width: 800px;margin: 0 auto;z-index: 1;white-space: nowrap;text-overflow: ellipsis;width: 100%;overflow: hidden;padding: 0 20px;text-align: center;}
.day .postTitle2 span{display: inline-block;/* align-items: center; *//* flex-wrap: wrap; */vertical-align: text-bottom;margin-bottom: 4px;}
.day .postTitle2 span span{
font-size:0;
}
.day .postTitle2 img{
margin-left:10px;
}
.day .postTitle2 span span:after{
content:"置顶";
display:inline-block;
/* margin-right: 0px; */
text-align: center;
font-size: 12px;
color: #ff81aa;
border: 1px solid #ff81aa;
border-radius: 3px;
min-width: 30px;
line-height: var(--text-h3);
}
div#blog-comments-placeholder {
display: flex;
flex-direction: column-reverse;
}
div#comment_form {
display: flex;
flex-direction: column-reverse;
order: -1;
}
div#post_detail {
order: -2;
}
/*******/
@media screen and (min-width:0) {
.bq_post_comment {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji !important;
font-size: 16px !important;
line-height: 1.8 !important;
/* word-wrap: break-word !important; */
}
.bq_post_comment kbd {
display: inline-block !important;
padding: 3px 5px !important;
font: 11px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace !important;
line-height: 10px !important;
color: #444d56 !important;
vertical-align: middle !important;
background-color: #fafbfc !important;
border: 1px solid #d1d5da !important;
border-radius: 3px !important;
box-shadow: inset 0 -1px 0 #d1d5da !important;
}
.bq_post_comment:after,
.bq_post_comment:before {
display: table !important;
content: "" !important;
}
.bq_post_comment:after {
clear: both !important;
}
.bq_post_comment>:first-child {
margin-top: 0 !important
}
.bq_post_comment>:last-child {
margin-bottom: 0 !important
}
.bq_post_comment a:not([href]) {
color: inherit !important;
text-decoration: none !important;
}
.bq_post_comment .absent {
color: #cb2431 !important;
}
.bq_post_comment .anchor {
float: left !important;
padding-right: 4px !important;
margin-left: -20px !important;
line-height: 1 !important;
}
.bq_post_comment .anchor:focus {
outline: none !important;
}
.bq_post_comment blockquote,
.bq_post_comment details,
.bq_post_comment dl,
.bq_post_comment ol,
.bq_post_comment p,
.bq_post_comment pre,
.bq_post_comment ul {
margin-top: 0 !important;
margin-bottom: 16px !important;
}
.bq_post_comment hr {
height: .25em !important;
padding: 0 !important;
margin: 24px 0 !important;
background-color: #e1e4e8 !important;
border: 0 !important;
}
.bq_post_comment blockquote {
padding: 0 1em !important;
color: #6a737d !important;
border-left: .25em solid #dfe2e5 !important;
}
.bq_post_comment blockquote>:first-child {
margin-top: 0 !important;
}
.bq_post_comment blockquote>:last-child {
margin-bottom: 0 !important;
}
.bq_post_comment h1,
.bq_post_comment h2,
.bq_post_comment h3,
.bq_post_comment h4,
.bq_post_comment h5,
.bq_post_comment h6 {
margin-top: 24px !important;
margin-bottom: 16px !important;
font-weight: 500 !important;
line-height: 1.8 !important;
}
.bq_post_comment h1 .octicon-link,
.bq_post_comment h2 .octicon-link,
.bq_post_comment h3 .octicon-link,
.bq_post_comment h4 .octicon-link,
.bq_post_comment h5 .octicon-link,
.bq_post_comment h6 .octicon-link {
color: #1b1f23 !important;
vertical-align: middle !important;
visibility: hidden !important;
}
.bq_post_comment h1:hover .anchor,
.bq_post_comment h2:hover .anchor,
.bq_post_comment h3:hover .anchor,
.bq_post_comment h4:hover .anchor,
.bq_post_comment h5:hover .anchor,
.bq_post_comment h6:hover .anchor {
text-decoration: none !important;
}
.bq_post_comment h1:hover .anchor .octicon-link,
.bq_post_comment h2:hover .anchor .octicon-link,
.bq_post_comment h3:hover .anchor .octicon-link,
.bq_post_comment h4:hover .anchor .octicon-link,
.bq_post_comment h5:hover .anchor .octicon-link,
.bq_post_comment h6:hover .anchor .octicon-link {
visibility: visible !important;
}
.bq_post_comment h1 code,
.bq_post_comment h1 tt,
.bq_post_comment h2 code,
.bq_post_comment h2 tt,
.bq_post_comment h3 code,
.bq_post_comment h3 tt,
.bq_post_comment h4 code,
.bq_post_comment h4 tt,
.bq_post_comment h5 code,
.bq_post_comment h5 tt,
.bq_post_comment h6 code,
.bq_post_comment h6 tt {
font-size: inherit !important;
}
.bq_post_comment h1 {
font-size: 2em !important;
}
.bq_post_comment h1,
.bq_post_comment h2 {
padding-bottom: .3em !important;
border-bottom: 1px solid var(--border-color-extra-linght) !important;
}
.bq_post_comment h2 {
font-size: 1.5em !important;
}
.bq_post_comment h3 {
font-size: 1.25em !important;
}
.bq_post_comment h4 {
font-size: 1em !important;
}
.bq_post_comment h5 {
font-size: .875em !important;
}
.bq_post_comment h6 {
font-size: .85em !important;
color: #6a737d !important;
}
.bq_post_comment ol,
.bq_post_comment ul {
padding-left: 2em !important;
}
.bq_post_comment ol.no-list,
.bq_post_comment ul.no-list {
padding: 0 !important;
list-style-type: none !important;
}
.bq_post_comment ol ol,
.bq_post_comment ol ul,
.bq_post_comment ul ol,
.bq_post_comment ul ul {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
.bq_post_comment li {
word-wrap: break-all !important;
}
.bq_post_comment li>p {
margin-top: 16px !important;
}
.bq_post_comment li+li {
margin-top: .25em !important;
}
.bq_post_comment dl {
padding: 0 !important;
}
.bq_post_comment dl dt {
padding: 0 !important;
margin-top: 16px !important;
font-size: 1em !important;
font-style: italic !important;
font-weight: 600 !important;
}
.bq_post_comment dl dd {
padding: 0 16px !important;
margin-bottom: 16px !important;
}
.bq_post_comment table {
display: table !important;
width: 100% !important;
overflow-x: auto !important;
border-collapse: collapse;
}
.bq_post_comment table th {
font-weight: 600 !important;
}
.bq_post_comment table td,
.bq_post_comment table th {
padding: 6px 13px !important;
border: 1px solid #dfe2e5 !important;
background: transparent !important;
/* border-spacing: 0!important; */
}
.bq_post_comment table tr {
background-color: var(--color-white);
border-top: 1px solid #c6cbd1 !important;
}
.bq_post_comment table tr:nth-child(2n) {
background-color: var(--background-color-base) !important;
}
.bq_post_comment table img {
background-color: initial !important;
}
.bq_post_comment img {
max-width: 100% !important;
box-sizing: initial !important;
background-color: var(--color-white) !important;
}
.bq_post_comment img[align=right] {
padding-left: 20px !important;
}
.bq_post_comment img[align=left] {
padding-right: 20px !important;
}
.bq_post_comment .emoji {
max-width: none !important;
vertical-align: text-top !important;
background-color: initial !important;
}
.bq_post_comment span.frame {
display: block !important;
overflow: hidden !important;
}
.bq_post_comment span.frame>span {
display: block !important;
float: left !important;
width: auto !important;
padding: 7px !important;
margin: 13px 0 0 !important;
overflow: hidden !important;
border: 1px solid #dfe2e5 !important;
}
.bq_post_comment span.frame span img {
display: block !important;
float: left !important;
}
.bq_post_comment span.frame span span {
display: block !important;
padding: 5px 0 0 !important;
clear: both !important;
color: #24292e !important;
}
.bq_post_comment span.align-center {
display: block !important;
overflow: hidden !important;
clear: both !important;
}
.bq_post_comment span.align-center>span {
display: block !important;
margin: 13px auto 0 !important;
overflow: hidden !important;
text-align: center !important;
}
.bq_post_comment span.align-center span img {
margin: 0 auto !important;
text-align: center !important;
}
.bq_post_comment span.align-right {
display: block !important;
overflow: hidden !important;
clear: both !important;
}
.bq_post_comment span.align-right>span {
display: block !important;
margin: 13px 0 0 !important;
overflow: hidden !important;
text-align: right !important;
}
.bq_post_comment span.align-right span img {
margin: 0 !important;
text-align: right !important;
}
.bq_post_comment span.float-left {
display: block !important;
float: left !important;
margin-right: 13px !important;
overflow: hidden !important;
}
.bq_post_comment span.float-left span {
margin: 13px 0 0 !important;
}
.bq_post_comment span.float-right {
display: block !important;
float: right !important;
margin-left: 13px !important;
overflow: hidden !important;
}
.bq_post_comment span.float-right>span {
display: block !important;
margin: 13px auto 0 !important;
overflow: hidden !important;
text-align: right !important;
}
.bq_post_comment code,
.bq_post_comment tt {
padding: 0.2em .4em !important;
margin: 0 4px !important;
/* font-size: 85% !important; */
display: inline;
border: none !important;
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
background-color: rgba(27, 31, 35, .05) !important;
border-radius: 3px !important;
}
.bq_post_comment code br,
.bq_post_comment tt br {
display: none !important;
}
.bq_post_comment del code {
text-decoration: inherit !important;
}
.bq_post_comment pre>code {
padding: 0 !important;
margin: 0 !important;
font-size: 100% !important;
/*word-break: normal !important;
white-space: pre !important;*/
background: transparent !important;
border: 0 !important;
}
.bq_post_comment .highlight {
margin-bottom: 16px !important;
}
.bq_post_comment .highlight pre {
margin-bottom: 0 !important;
/*word-break: normal !important;*/
}
.bq_post_comment .highlight pre,
.bq_post_comment pre {
/* padding: 16px !important; */
overflow-x: auto !important;
font-size: 85% !important;
width: 100%;
line-height: 1.45 !important;
background-color: #282c34 !important;
border-radius: 3px !important;
}
.bq_post_comment pre code,
.bq_post_comment pre tt {
/*display: inline !important;*/
/*max-width: auto !important;*/
padding: 20px 10px !important;
/* padding: 16px !important; */
/* line-height: inherit !important; */
white-space: pre !important;
word-break: keep-all;
/* text-overflow: clip; */
background-color: initial !important;
border: 0 !important;
color: #dcdcdc;
}
.bq_post_comment .csv-data td,
.bq_post_comment .csv-data th {
padding: 5px !important;
overflow: hidden !important;
font-size: 12px !important;
line-height: 1 !important;
text-align: left !important;
white-space: nowrap !important;
}
.bq_post_comment .csv-data .blob-num {
padding: 10px 8px 9px !important;
text-align: right !important;
background: #fff !important;
border: 0 !important;
}
.bq_post_comment .csv-data tr {
border-top: 0 !important;
}
.bq_post_comment .csv-data th {
font-weight: 600 !important;
background: #f6f8fa !important;
border-top: 0 !important;
}
}
.feedbackItem table {
border-collapse: collapse;
}
.day .postTitle2.vertical-middle {
display: inline-flex;
align-items: center;
flex-wrap: wrap;
}
#profile_block{
display:none!important;
}
/***********/
#my-profile{
padding:20px 20px 0px;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
}
.my-logo {
width: 100%;
height: 100%;
}
.my-name{
font-weight:bold;
font-size:18px;
line-height: 1.5;
}
.my-name-container{
display:flex;
align-items:center;
}
#age{
background: var(--color-danger-2);
color: var(--color-danger-0);
border: 1px solid var(--color-danger-0);
font-size:smaller;
padding:0px 8px;
line-height: 20px;
width: fit-content;
white-space: nowrap;
margin-left:10px;
border-radius:20px;
}
.my-desc{
font-size:small;
margin-top: 10px;
}
.my-detaial ul{
display:flex;
width:100%;
padding:0;
margin: 4px auto;
justify-content: center;
}
.my-detaial ul li{
list-style-type:none;
margin-right:20px;
max-width: calc(50% - 25px);
display:flex;
align-items:baseline;
}
.my-detaial ul li:last-child{
margin-right:0;
/* float: right; */
}
.my-detaial a{
display:block;
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
}
.my-detaial ul li:after{
font-size: 10px;
white-space:nowrap;
}
#fans:after{
content:'粉丝';
margin-left:4px;
}
#follow:after{
content:'关注';
margin-left:4px;
}
.my-stats ul{
/* display: flex; */
/* grid-template-columns:1fr 1fr 1fr; */
/* width: 100%; */
/* padding:0; */
/* margin:10px 0; */
}
.my-stats ul li{
list-style-type:none;
/* margin-right: 10px; */
/* background: var(--background-color-base); */
font-size:small;
padding:0 12px;
width: 100%;
max-width: 100%;
border-radius:20px;
display:block;
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
}
.my-stats ul li:last-child{
margin-right:0;
}
.my-stats ul li:before{
font-family:fontawesome;
}
#post:before{
content:"随笔:";
margin-right:4px;
}
#article:before{
content:"文章:";
margin-right:4px;
}
#comment:before{
content:"评论:";
margin-right:4px;
}
#follow-btn{
/* position:absolute; */
width: 180px;
font-size:small;
top: 30px;
right:20px;
}
.entrylist .entrylistTitle{/* display:none; */margin-bottom: -20px;}
.recent_comment_body, .recent_comment_author{
font-size:var(--text-h6);
}
.recent_comment_author:last-child {
border: none;
}
.commentbox_footer {
border-top: 1px solid var(--border-color-extra-linght);
}
.login_tips{
background-color: #f9e8de;
color: #a84229;
border-radius:6px;
padding:16px 20px;;
}
.login_tips{
margin: 0 20px;
}
#blog-news{
overflow:unset;
}
.my-stats{
position:relative;
/* line-height: 40px; */
display: flex;
align-items: baseline;
}
.btn-more:before{
/* font-size: 10px; */
/* line-height: 30px; */
cursor:pointer;
content:"\e7a8";
/* color: var(--color-); */
}
ul.dropwon-content{
display:none;
}
.my-stats:hover .dropwon-content {
display:flex;
flex-direction:column;
position:absolute;
top:70%;
right:0!important;
width:120px;
z-index:10;
background: var(--color-white);
box-shadow:var(--light-shadow) ;
padding:12px 0 4px;
border-radius:4px;
animation:fadeInUp 0.3s
}
#view:before{
content:"总阅读:";
}
li.recent_comment_body {
margin-top:10px;
background: var(--border-color-extra-linght);
padding:4px 8px;
border-radius:2px;
position:relative;
}
li.recent_comment_body:before{
content:"";
display:block!important;
width:10px;
height:10px;
background:var(--background-color-base);
position:absolute;
top:-5px;
left:20px;
transform:rotate(45deg);
}
#GalleryThumbNailViewer1_ThumbNails td {
width: 25%;
}
#comment_pager_bottom {
border-bottom: 1px solid var(--border-color-extra-linght);
}
.comment_avatar_container{
width:48px;
height:48px;
overflow:hidden;
border-radius:50px;
display: block;
position: absolute;
}
.comment_avatar_container img{
transform:scale(1);
transition:transform 300ms;
}
.comment_avatar_container:hover img{
transform:scale(1.5) translateY(6px);
transition:transform 300ms;
}
.my-logo-container{
width: 180px;
height: 180px;
overflow:hidden;
border-radius: 10px;
display: block;
border: 1px solid var(--border-color-extra-linght);
/* position: absolute; */
/* margin-bottom:10px; */
margin-bottom: 20px;
}
.my-logo-container img{
transform:scale(1);
transition:transform 300ms;
}
.my-logo-container:hover img{
/*transform: scale(1.5) translateY(12%);
transition:transform 300ms;*/
}
@media screen and (max-width:767px){
.day .postDesc, .PostList .postDesc2, .entrylistItemPostDesc{
font-size:0!important;
}
.entrylistItemPostDesc a[title='permalink']{
display:none;
}
}
a[href="https://github.com/GShang2018"]:before{
content:"\f113"!important;
}
a[href="https://web.51.la/report/visit_details?comId=21054727"]:before{
content:"\f201"!important;
}
.comment_option {
color: var(--color-text-secondary);
fill: var(--color-text-secondary);
}
.comment_option:hover{
color: var(--color-text-primary);
fill: var(--color-text-primary);
}
/****loading***********/
@-webkit-keyframes ball-scale-multiple {
0% {
-webkit-transform: scale(0);
transform: scale(0);
opacity: 0;
}
5% {
opacity: 1;
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 0;
}
}
@keyframes ball-scale-multiple {
0% {
-webkit-transform: scale(0);
transform: scale(0);
opacity: 0;
}
5% {
opacity: 1;
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 0;
}
}
.ball-scale-multiple {
transform: scale(6);
position: relative;
-webkit-transform: translateY(-30px);
transform: translateY(-30px);
}
.ball-scale-multiple>div:nth-child(2) {
-webkit-animation-delay: -0.4s;
animation-delay: -0.4s;
}
.ball-scale-multiple>div:nth-child(3) {
-webkit-animation-delay: -0.2s;
animation-delay: -0.2s;
}
.ball-scale-multiple>div {
background-color: var(--ThemeColor);
width: 15px;
height: 15px;
border-radius: 100%;
margin: 2px;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
position: absolute;
left: -90px;
top: -70px;
opacity: 0;
margin: 0;
width: 180px;
height: 180px;
-webkit-animation: ball-scale-multiple 1s 0s linear infinite;
animation: ball-scale-multiple 1s 0s linear infinite;
}
#loading {
opacity: 1;
width: 100vw;
height: 100vh;
position: fixed;
z-index: 999999999999999;
display: flex;
align-items: center;
justify-content: center;
background: var(--blur-bg);
backdrop-filter: blur(50px);
}
#loading-container{
display:none;
}
.fa-smile-o:before {
content: "\f118";
font-weight: normal;
}
#blogCalendar tr:nth-child(n+3) td:hover{
background:var(--border-color-base);
border-radius:4px;
cursor:pointer;
}
.CalTodayDay{
background:var(--color-primary)!important;
border-radius:4px;
color: #fff;
}
#digg_tips{/* display: none; */align-items: center;justify-content: center;position: absolute;font-family: inherit;top: 31px;/* left: 100%; *//* right: 0; */margin: 0 0 0 1px;/* background: #ff000052; *//* width: 40px; */border-radius: 80px;/* height: 40px; *//* animation-name:fadeInUp; *//* animation-duration:0.4s; *//* z-index: -1; */}
@keyframes fade-in {
0% {
opacity: 0;
}
/*初始状态 透明度为0*/
40% {
opacity: 0;
}
/*过渡状态 透明度为0*/
100% {
opacity: 1;
}
/*结束状态 透明度为1*/
}
@-webkit-keyframes fade-in {
/*针对webkit内核*/
0% {
opacity: 0;
}
40% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-webkit-keyframes fadeInUp {
from {
opacity: 0;
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
to {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}
@keyframes fadeInUp {
from {
opacity: 0;
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
to {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}
@keyframes fadeOutUp {
from {
opacity: 0;
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
to {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}
@keyframes fadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
to {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}
@keyframes fadeInLeft {
from {
opacity: 0;
-webkit-transform: translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0);
}
to {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}
@keyframes fadeInRight {
from {
opacity: 0;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
to {
opacity: 1;
-webkit-transform: none;
transform: none;
}
}
@keyframes fadeOutLeft {
from {
opacity: 1;
-webkit-transform: translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0);
}
to {
opacity: 0;
-webkit-transform: none;
transform: none;
}
}
@keyframes fadeOutRight {
from {
opacity: 1;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
to {
opacity: 0;
-webkit-transform: none;
transform: none;
}
}
#post_detail{
animation-name: fadeIn;
animation-duration: 0.5s;
}
#sidebar_scroller{
animation-name: fadeInLeft;
animation-duration: 0.5s;
}
#sideBarMain{
animation-name: fadeInRight;
animation-duration: 0.5s;
}
#blog-comments-placeholder,.OwO-body{
animation-name: fadeIn;
animation-duration: 0.3s;
}
.day,.PostList,.entrylistItem,.entrylistTitle,.entrylistDescription,.postSeparator{
animation-name: fadeInUp;
animation-duration: 1s;
}
img.medium-zoom-image.medium-zoom-image--opened {
z-index: 99999999999;
}
.medium-zoom-overlay {
z-index: 999;
}
@media only screen and (max-width: 767px){
.cnblogs-post-body img, .feedbackItem .blog_comment_body img{/* max-width: unset; */max-width: 100%!important;}
}
.title-parent .title-link:before{
content:"¶";
font-size:0.9em;
margin-left:6px;
line-height:inherit;
display:none;
}
.title-parent:hover .title-link:before{
display:inline-block;
}
/******************/
.link-block a {
display: flex;
width: 100%;
background: var(--background-color-base);
padding: 10px 20px;
box-sizing: border-box;
margin: 10px 0;
border-radius: 4px;
align-items: center;
justify-content: center;
/* color: #333 !important; */
text-decoration: none;
}
.link-url:before {
content: "\f0c1";
font-family: FontAwesome;
margin-right: 6px;
}
.link-url,
.link-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.link-url {
color: var(--TextColor2);
}
.link-text {
flex: 1;
max-width: calc(100% - 40px);
}
.link-text span {
line-height: 2;
font-size: 20px;
color: var(--TextColor1);
}
.link-pic {
/* width: 40px; */
/* height: 40px; */
/* color: #fff; */
margin-left: 10px;
}
.link-pic i {
/* color: #333; */
width: 100%;
height: 100%;
}
hr.footnotes-sep {
display:none;
}
.footnote-item::marker{
content:"[" counter(list-item) "] ";
}
/***************/
h2[id="主要工作"]:before{
content:"\f024";margin-right:4px;
}
h2[id="网络结构"]:before{
content:"\f1b2";margin-right:4px;
}
h2[id="数据集"]:before{
content:"\f1c0";margin-right:4px;
}
h2[id="损失函数"]:before{
content:"\f12b";margin-right:4px;
}
h2[id="训练与测试"]:before{
content:"\f1da";margin-right:4px;
}
h2[id="对比实验"]:before{
content:"\f0c3";margin-right:4px;
}
h2[id="论文代码"]:before{
content:"\f09b";margin-right:4px;
}
.mermaid {
text-align:center;
margin:10px 0;
}
本主题CSS来源于CnBook主题,只是稍微更改一部分罢了。
记住勾选"禁用模板默认CSS"。
将下面这段代码填入“页首HTML”中:
<div class="cover center">
<h1 class="pageTitleText"><a href="https://www.cnblogs.com/adkinsm">Adkinsm</a></h1>
<span id="typed"></span>
</div>
<script src='https://cdn.bootcdn.net/ajax/libs/nprogress/0.2.0/nprogress.min.js'></script>
<div id="m_top" onclick="gototop();">
<span>0</span>
</div>
<div id="bg" style="position: fixed;z-index: -1;top: 0;right: 0;bottom: 0;left: 0;width: 100%;background-repeat: no-repeat;background-size: cover;-webkit-background-size: cover;-o-background-size: cover;background-position: center 0;"></div>
其中h1标签中的a标签内容需要自己配置,Adkinsm
替换为你的昵称,https://www.cnblogs.com/adkinsm
替换为你的博客地址。
壁纸在CSS中的第198行。
将下面这段代码填入“页脚HTML部分”:
<canvas id="fireworks" style="z-index:999;position:fixed;left:0;top:0;pointer-events:none"></canvas>
<script src="https://cdn.bootcdn.net/ajax/libs/animejs/2.2.0/anime.min.js"></script>
<script src="https://cdn.bootcss.com/jquery.pjax/2.0.1/jquery.pjax.min.js"></script>
<script>
THEME_CONFIG = {
click: true, // 点击特效
cover_dec: "God wills it.", // 打字机文字
pjax: true, // jq无刷新
nprocess: true // 只有pjax开启才会生效
}
</script>
<script defer src="https://files.cnblogs.com/files/adkinsm/Theme.js"></script>
THEME_CONFIG
是一个对象,用来存储主题的变量。click用于决定是否使用点击特效,cover_dec 用于决定首页cover打字机将要打字的文字,pjax 用于无刷新访问页面,nprocess只有在pjax开启时才有效。
设置完成后,保存设置即可。
(本主题无侧边栏HTML)
主题特性:
-
动画,老牛逼了
-
透明效果,老牛逼了
都老牛逼了
本文来自博客园,作者:Adkinsm,转载请注明原文链接:https://www.cnblogs.com/adkinsm/p/15167327.html