zoukankan      html  css  js  c++  java
  • 博客主题美化(进阶版)

    博客园主题美化:
    雪花特效+鼠标点击特效+背景图片自设+背景透明虚化;

    1.准备

    首先需要进入博客设置中设定一款博客皮肤:

    2.页面定制CSS代码

    (1)修改css代码,禁用模板默认CSS:

    (2)css代码参数修改:

    (1)Avatar:博客头像地址;(代码开头几行,设置为自己头像的图片地址,一般上传到博客园相册之后引用自己图片地址)
    (2)BackgroundIMG:背景图片地址;(代码开头几行)
    (3)找到如下代码:
    #home,
    body {
    	/*设置背景图*/
    	background: var(--BackgroundIMG);
    	/*background: var(--BackgroundColor);*/
    	/*background-size: 100%;*/
    	background-repeat: round;
    	font-size: var(--text7);
    	color: var(--TextColor1);
    	line-height: 1.6;
    }
    background:修改主题背景图片;(需要先设置好BackgroundIMG参数)
    (4)找到如下代码:
    #home {
    	font-size: var(--text7);
    	overflow: hidden !important;
    	opacity: 0.9;
    }	
    opacity:设置主题透明度;
    

    (3)css代码:

    @charset "utf-8";
    @import url(https://cdn.jsdelivr.net/npm/font-awesome/css/font-awesome.min.css) screen and (min-0px);
    @import url(https://blog-static.cnblogs.com/files/gshang/gshang.OwO.3.css) screen and (min-0px);
    @import url(https://cdn.bootcss.com/fancybox/3.5.7/jquery.fancybox.css) screen and (min-0px);
    @import url("//unpkg.com/element-ui@2.13.0/lib/theme-chalk/index.css");
    //html{ filter: grayscale(100%);} 
    /* 主题全局变量 */
    :root {
    	/* 色卡 */
    	--default: #00a1d6;
    	/* 默认 */
    	--green: #109D58;
    	/* 酷安绿 */
    	--red: #DC4437;
    	/* 姨妈红 */
    	--pink: #FA7298;
    	/* 哔哩粉 */
    	--cyan: #009788;
    	/* 水鸭青 */
    	--orange: #FF9700;
    	/* 伊藤橙 */
    	--purple: #673BB7;
    	/* 基佬紫 */
    	--blue: #2196F3;
    	/* 知乎蓝 */
    	--gray: #607D8B;
    	/* 低调灰 */
    
    	/* 主题基础色调 */
    	--ThemeColor: var(--blue);
    	--TextColor1: #141418;
    	--TextColor2: #5f5f6b;
    	--TextColor3: #97979f;
    	--DividColor: #e7eaf0;
    	--BlockColor: #fff;
    	--BackgroundColor: #f4f6fa;
    	--HoverColor: rgba(0, 0, 0, .07);
    	/* 主题辅助色调 */
    	--AidColor1: #fa7d00;
    	--AidColor2: #ff2e2e;
    	--AidColor3: #36c67d;
    
    	/* 字号大小 */
    	--text1: 28px;
    	--text2: 26px;
    	--text3: 24px;
    	--text4: 22px;
    	--text5: 20px;
    	--text6: 18px;
    	--text7: 16px;
    	--text8: 14px;
    	--text9: 12px;
    	--text10: 10px;
    
    	/* 博客头像 */
    	--Avatar: url("https://images.cnblogs.com/cnblogs_com/liaowuhen1314/1578120/o_200424071728ac124cae4ef12f9891b4bebc9b1654c8.jpg");
    	--BackgroundIMG: url("https://images.cnblogs.com/cnblogs_com/liaowuhen1314/1751921/o_200427062253test.jpg");
    }
    
    :root[theme='dark'] {
    	--TextColor1: #cfcecf;
    	--TextColor2: #89888c;
    	--TextColor3: #57565a;
    	--DividColor: #323236;
    	--BackgroundColor: #282c34;
    	--BlockColor: #20242b;
    }
    
    body::-webkit-scrollbar {
    	 8px;
    	height: 8px;
    }
    
    body::-webkit-scrollbar-track-piece {
    	background-color: transparent;
    }
    
    body::-webkit-scrollbar-track {
    	background-color: transparent;
    }
    
    body::-webkit-scrollbar-thumb {
    	background-color: rgba(0, 0, 0, .2);
    	transition: background-color 0.3s;
    	border-radius: 10px;
    	max-height: 100px;
    	min-height: 50px;
    }
    
    body::-webkit-scrollbar-button {
    	background-color: var(--DividColor);
    	display: none;
    	transition: background-color 0.3s;
    }
    
    
    
    /**************************/
    @media screen and (min-0px) {
    
    
    	#cnblogs_c1,
    	#cnblogs_c2 {
    		display: none
    	}
    
    	.c_ad_block {
    		margin: 0;
    	}
    
    	img {
    		max- 100% !important;
    		vertical-align: middle;
    	}
    
    	body,
    	h1,
    	h2,
    	h3,
    	h4,
    	h5,
    	h6,
    	h7,
    	p,
    	ul {
    		margin: 0;
    		padding: 0;
    	}
    
    	body {
    		/*background: var(--BackgroundIMG);*/
    		background: var(--BackgroundColor);
    		/*background:var(--BlockColor)*/
    	}
    
    	html,
    	#home {
    		color: var(--TextColor1);
    		font-size: var(--text7);
    	}
    
    	.div_my_zzk {
    		margin: 0 !important;
    	}
    
    	* {
    		box-sizing: border-box;
    		margin: 0;
    		padding: 0;
    		outline: none;
    		transition: background, background-color 0.2s;
    	}
    
    
    	#home {
    		font-size: var(--text7);
    		overflow: hidden !important;
    		opacity: 0.9;
    	}
    
    	a {
    		text-decoration: none;
    		color: inherit;
    		word-break: break-all;
    	}
    
    	a {
    		-webkit-tap-highlight-color: transparent;
    	}
    
    	a:hover {
    		color: inherit;
    	}
    
    	#home blockquote {
    		border: none;
    		color: var(--TextColor2) !important;
    		margin: 10px 0;
    		padding: 0 0 0 10px;
    		height: auto !important;
    		min-height: 20px;
    		border-left: 4px solid var(--TextColor2);
    	}
    
    	#home ul {
    		list-style-type: disc;
    		word-break: break-all;
    	}
    
    	#home ul ul {
    		list-style-type: circle;
    	}
    
    	#home ul ul ul {
    		list-style-type: square;
    	}
    
    	#home ul ul li {
    		list-style-type: circle;
    	}
    
    	#home ul ul ul li {
    		list-style-type: square;
    	}
    
    	#home pre {
    		color: #cfcecf;
    		background-color: #2d3748;
    		border-radius: 4px;
    		margin: 10px 0;
    		font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    		border: none !important;
    		padding: 30px 10px 20px !important;
    		position: relative;
    	}
    
    	#home pre:after {
    		content: attr(class)!important;
    		position: absolute;
    		display: block;
    		z-index: 3;
    		right: 8px;
    		top: 4px;
    		font-size: var(--text8);
    	}
    
    	#home pre:before {
    		content: "";
    		display: block;
    		 8px;
    		position: absolute;
    		top: 8px;
    		left: 8px;
    		height: 8px;
    		background-color: #f56565;
    		border-radius: 9999px;
    		box-shadow: 10px 0 0 0 #fbd38d, 20px 0 0 0 #48bb78
    	}
    
    	pre code {
    		background-color: inherit !important;
    		color: inherit !important;
    	}
    
    
    	#home fieldset {
    		border- 0 0 0 4px;
    		padding: 0 0 0 10px;
    		margin: 6px 0;
    		color: var(--TextColor2);
    		border-color: var(--TextColor2);
    	}
    
    	#home fieldset legend {
    		display: none;
    	}
    }
    
    #home,
    body {
    	/*设置背景图*/
    	background: var(--BackgroundIMG);
    	/*background: var(--BackgroundColor);*/
    	/*background-size: 100%;*/
    	background-repeat: round;
    	font-size: var(--text7);
    	color: var(--TextColor1);
    	line-height: 1.6;
    }
    
    #main {
    	padding: 0 !important;
    	margin: 0;
    }
    
    
    /* 侧边折叠 */
    #header,
    #mainContent,
    #footer,
    #page_end_html {
    	padding-left: 240px;
    	/* padding-right: 14px; */
    	transition: padding 0.3s;
    }
    
    #sideBar {
    	 240px;
    	position: fixed;
    	left: 0;
    	top: 0;
    	bottom: 0;
    	z-index: 5;
    	overflow: hidden;
    	overflow-y: auto;
    	transition: 0.3s transform;
    	background: var(--BlockColor);
    	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.08);
    }
    
    
    .lyear-layout-sidebar-close #sideBar {
    	transform: translateX(-100%);
    	-webkit-box-shadow: none;
    	-moz-box-shadow: none;
    	box-shadow: none;
    }
    
    .lyear-layout-sidebar-close #header,
    .lyear-layout-sidebar-close #mainContent,
    .lyear-layout-sidebar-close #footer,
    .lyear-layout-sidebar-close #page_end_html {
    	padding-left: 0px;
    }
    
    @media screen and (max-1024px) {
    
    	#sideBar {
    		 240px !important;
    		transform: translateX(-100%);
    	}
    
    	#header,
    	#mainContent,
    	#footer {
    		padding-left: 0px;
    	}
    
    	#sideBar.sideBar-open {
    		transform: translateX(0);
    	}
    
    	/* 遮罩层 */
    	.lyear-mask-modal {
    		background-color: rgba(0, 0, 0, 0.5);
    		height: 100%;
    		left: 0;
    		opacity: 1;
    		top: 0;
    		visibility: visible;
    		 100%;
    		z-index: 5;
    		position: fixed;
    		-webkit-transition: visibility 0 linear 0.4s, opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    		transition: visibility 0 linear 0.4s, opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    		-webkit-transform: translateZ(0);
    		transform: translateZ(0);
    	}
    }
    
    
    #blogTitle {
    	display: flex;
    	align-items: center;
    	flex-direction: row-reverse;
    	padding: 0 14px;
    }
    
    #header {
    	display: flex;
    	-webkit-box-align: center;
    	align-items: center;
    	min-height: 64px;
    	background-color: var(--BlockColor);
    	 100%;
    	position: fixed;
    	padding-right: 14px;
    	top: 0;
    	z-index: 4;
    	-webkit-box-shadow: 4px 0 5px rgba(0, 0, 0, 0.035);
    	-moz-box-shadow: 4px 0 5px rgba(0, 0, 0, 0.035);
    	box-shadow: 4px 0 5px rgba(0, 0, 0, 0.15);
    }
    
    #lnkBlogLogo {
    	display: block;
    	 40px;
    	height: 40px;
    	margin-right: 15px;
    	border-radius: 50%;
    	background-image: var(--Avatar) fixed;
    	background-position: center;
    	background-size: cover;
    	/* display: none; */
    }
    
    #blogTitle h1 {
    	order: -1;
    	font-size: var(--text7);
    	font-weight: normal;
    	/* padding-right: 15px; */
    }
    
    #blogTitle h1 a {
    	display: block;
    	max- 100px;
    	overflow: hidden;
    	text-overflow: ellipsis;
    	line-height: 48px;
    	text-decoration: none;
    }
    
    #blogTitle h2 {
    	display: none;
    }
    
    .blogTitle-search {
    	flex-grow: 1;
    	/* margin-right:15px; */
    	display: inline-flex;
    	align-items: center;
    }
    
    
    #navigator {
    	display: flex;
    	min-height: 64px;
    	flex-grow: 1;
    	/* flex-direction: row-reverse; */
    	align-items: center;
    	position: relative;
    	 fit-content;
    	/* margin-right: 15px; */
    }
    
    @media screen and (max-767px) {
    
    	.blogStats,
    	#blogTitle h1 {
    		display: none;
    	}
    }
    
    #navList {
    	display: none;
    	flex-grow: 1;
    	list-style-type: none !important;
    	position: absolute;
    	left: 0;
    	top: 100%;
    	z-index: 1000;
    	float: left;
    	min- 160px;
    	padding: 5px 0;
    	border-radius: 5px;
    	margin: 2px 0 0;
    	font-size: 14px;
    	text-align: left;
    	list-style: none;
    	background: var(--BlockColor);
    	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.075);
    	box-shadow: 0 0 4px rgba(0, 0, 0, 0.075);
    }
    
    #navList li:hover {
    	background: var(--HoverColor);
    	transition: background 0.3s;
    }
    
    #navList li a {
    	display: block;
    	padding: 0px 20px;
    	height: 32px;
    	line-height: 32px;
    	clear: both;
    	font-weight: 400;
    	/* line-height: 1.42857143; */
    	white-space: nowrap;
    }
    
    #navList li a:before {
    	margin-right: 8px;
    }
    
    #blog_nav_sitehome:before {
    	content: "f29a";
    	font-family: FontAwesome;
    }
    
    #blog_nav_myhome:before {
    	content: "f024";
    	font-family: FontAwesome;
    }
    
    #blog_nav_newpost:before {
    	content: "f040";
    	font-family: FontAwesome;
    }
    
    #blog_nav_contact:before {
    	content: "f0e0";
    	font-family: FontAwesome;
    }
    
    #blog_nav_wz:before {
    	content: "f005";
    	font-family: FontAwesome;
    }
    
    #blog_nav_rss:before {
    	content: "f09e";
    	font-family: FontAwesome;
    }
    
    #blog_nav_inbox:before {
    	content: "f01c";
    	font-family: FontAwesome;
    }
    
    #blog_nav_home:before {
    	content: "f086";
    	font-family: FontAwesome;
    }
    
    #blog_nav_admin:before {
    	content: "f013";
    	font-family: FontAwesome;
    }
    
    #blog_nav_exit:before {
    	content: "f011";
    	font-family: FontAwesome;
    }
    
    #blog_nav_login:before {
    	content: "f2be";
    	font-family: FontAwesome;
    }
    
    
    .navList-divider {
    	 100%;
    	height: 1px;
    	background: var(--DividColor);
    }
    
    #sidebar-toggler {
    	 48px;
    	height: 48px;
    	/* margin-left: 15px; */
    	text-align: center;
    	line-height: 48px;
    	cursor: pointer;
    }
    
    #sidebar-toggler:before {
    	content: "f03b";
    	font-family: FontAwesome;
    }
    
    @media screen and (min-1024px) {
    	.sidebar-toggler-reverse:before {
    		content: "f03c" !important;
    		font-family: FontAwesome;
    	}
    }
    
    .blogTitle-btn {
    	display: block;
    	 48px;
    	height: 48px;
    	flex-shrink: 1;
    	/* margin-right: 15px; */
    	text-align: center;
    	line-height: 48px;
    	cursor: pointer;
    }
    
    @media screen and (min-1024px){
    .navList-search {
    	 auto;
    	flex-grow: 1;
    	margin: 0 15px;
    	display: flex;
    	align-items: center;
    	background-color: var(--BackgroundColor);
    	border-radius: 90px;
    	overflow: hidden;
    	max- 300px;
    }
    
    .search-input {
    	height: 34px;
    	/* margin:0 15px; */
    	background-color: var(--BackgroundColor);
    	border: none;
    	outline: none;
    	padding: 4px 14px;
    	 100%;
    	color: var(--TextColor2);
    }
    
    .search-submit:before {
    	 48px;
    	display: block;
    	text-align: center;
    	font-weight: 100;
    	content: "f002";
    	color: var(--TextColor3);
    	font-family: FontAwesome;
    	cursor: pointer;
    }
    
    }
    
    @media screen and (max-1024px){
    	.navList-search{
    		display:none;
    	}
    }
    .theme:before {
    	content: "f185";
    	font-family: FontAwesome;
    	font-weight: 600;
    }
    
    .theme-dark:before {
    	content: "f186";
    	font-family: FontAwesome;
    	font-weight: 600;
    }
    
    .nav-home:before {
    	content: "f0d7";
    	font-family: FontAwesome;
    }
    
    #footer {
    	font-size: var(--text9);
    	text-align: center;
    	display: grid;
    	grid-template-columns: 100%;
    	text-align: center;
    }
    
    #sidebar_news {
    	padding: 14px;
    }
    
    #sidebar_news .catListTitle {
    	font-size: 0;
    }
    
    #sideBar:before {
    	content: "";
    	height: 64px;
    		background-image: url(https://images.cnblogs.com/cnblogs_com/liaowuhen1314/1749764/o_200427012833%E5%8D%9A%E5%AE%A2%E5%9B%AD.png);
    	background-repeat: no-repeat;
    	background-position: center;
    	background-size: auto 100%;
    	z-index: 5;
    	 100%;
    	position: absolute;
    	border-bottom: 1px solid var(--DividColor);
    }
    
    #profile_block {
    	margin: 0;
    	font-size: 0;
    	display: flex;
    	flex-wrap: wrap;
    }
    
    #profile_block:before {
    	content: "";
    	display: table;
    	 60px;
    	height: 60px;
    	margin: 10px auto 10px 0;
    	border-radius: 40px;
    	background-image: var(--Avatar) fixed;
    	background-position: center;
    	background-size: cover;
    }
    
    #profile_block a:nth-child(1) {
    	font-size: var(--text5);
    	 100%;
    	display: block;
    	text-align: left;
    	margin-bottom: 14px;
    }
    
    #profile_block a:nth-child(3),
    #profile_block a:nth-child(5),
    #profile_block a:nth-child(7) {
    	font-size: var(--text8);
    	 33.3333333%;
    	display: block;
    	padding: 0 4px;
    	white-space: nowrap;
    	text-overflow: ellipsis;
    	overflow: hidden;
    	color: var(--TextColor1);
    	text-align: center;
    }
    
    #profile_block a:nth-child(3):after {
    	content: "园龄";
    	color: var(--TextColor3);
    	font-size: var(--text9);
    	display: block;
    	text-overflow: ellipsis;
    	overflow: hidden;
    	 100%;
    	font-weight: normal;
    }
    
    #profile_block a:nth-child(5):after {
    	content: "粉丝";
    	color: var(--TextColor3);
    	font-size: var(--text8);
    	display: block;
    	font-weight: normal;
    	 100%;
    }
    
    #profile_block a:nth-child(7):after {
    	content: "关注";
    	font-weight: normal;
    	color: var(--TextColor3);
    	font-size: var(--text8);
    	display: block;
    	 100%;
    }
    
    #p_b_follow {
    	display: block !important;
    	 100%;
    	margin-top: 14px;
    	text-align: center!important;
    }
    
    #p_b_follow a {
    	display: block !important;
    	 100%;
    	line-height: 2.8;
    	font-size: var(--text7) !important;
    	color: rgba(50, 149, 238, 1) !important;
    	background: rgba(50, 149, 238, 0.15) !important;
    	border-radius: 4px;
            text-align:center!important;
    	font-weight: normal !important;
    }
    
    
    #p_b_follow span {
    	display: block !important;
    	 100%;
    	line-height: 2.8;
    	font-size: var(--text7) !important;
    	color: rgba(254, 84, 117, 1) !important;
    	background: rgba(254, 84, 117, 0.15);
    	border-radius: 4px;
    	font-weight: normal !important;
    }
    
    /*日历*/
    @media screen and (min-0px) {
    	#blog-calendar:before {
    		/* content:"工作日历"; */
    		font-size: var(--text8);
    		color: var(--TextColor3);
    		padding: 14px;
    		display: block;
    	}
    
    	#blogCalendar {
    		padding: 10px 14px;
    		border-top: 1px solid var(--DividColor);
    		
    		font-size: var(--text8) !important;
    	}
    
    	.CalTitle {
    		line-height: 2.4;
    		font-size: var(--text7);
    		color: var(--TextColor1);
    	}
    
    	.CalDayHeader {
    		line-height: 2.4;
    		/* font-size: var(--text8); */
    		font-weight: normal;
    		color: var(--TextColor2);
    		border-bottom: 0px solid var(--DividColor);
    	}
    
    
    	.CalTodayDay u,
    	.CalTodayDay {
    		color: rgba(30, 177, 50, 1) !important;
    		background: var(--BackgroundColor);
    		line-height: 2.15;
    		/* border-radius: 50%; */
    	}
    
    	#blog-calendar a {
    		display: block;
    		 100%;
    		height: 100%;
    		background: rgba(30, 177, 50, 1);
    	}
    
    	#blog-calendar u {
    		color: rgba(30, 177, 50, 1);
    		font-weight: 600;
    		text-decoration: none !important;
    		height: 22px;
    		position: relative;
    	}
    
    	#blog-calendar u:hover {
    		color: #fff;
    	}
    
    	#blogCalendar td.CalOtherMonthDay {
    		color: var(--BlockColor);
    		background: var(--BlockColor) !important;
    	}
    
    	#blogCalendar td.CalOtherMonthDay:hover {
    		color: var(--BlockColor) !important;
    	}
    
    	/*
    	#blog-calendar u:after {
    		content: '●';
    		display: block;
    		font-size: 4px;
    		position: absolute;
    		top: 20px;
    		text-align: center;
    		left: 0;
    		right: 0;
    		line-height: 0;
    	}
    */
    	#blogCalendar td.CalNextPrev a {
    		background: var(--BlockColor);
    		color: var(--TextColor1) !important;
    	}
    
    	#blogCalendar .CalTitle td[align="center"] {
    		background: var(--BlockColor);
    		color: var(--TextColor1) !important;
    	}
    
    	#blog-calendar * {
    		z-index: 1 !important;
    		;
    	}
    
    	#blogCalendar td {
    		line-height: 2;
    		background: var(--BackgroundColor);
    		color: var(--BackgroundColor);
    		border: 1px solid var(--BlockColor);
    		cursor: pointer;
    		z-index: 1 !important;
    	}
    
    	#blogCalendar td:hover {
    		color: var(--TextColor2);
    	}
    
    	.CalTitle .CalNextPrev {
    		font-size: 0px;
    	}
    
    	.CalTitle .CalNextPrev:nth-child(1) a:before {
    		content: "f0d9";
    		font-size: 18px;
    		text-align: center;
    		font-family: FontAwesome;
    		line-height: 2;
    	}
    
    	.CalTitle .CalNextPrev:nth-child(3) a:before {
    		content: "f0da";
    		text-align: center;
    		font-size: 18px;
    		font-family: FontAwesome;
    		line-height: 2;
    	}
    }
    #leftcontentcontainer{
        border-top:1px solid var(--DividColor);
    }
    
    #leftcontentcontainer .catListTitle {
    	font-size: var(--text7);
    	font-weight: normal;
    	color: var(--TextColor1);
    	display: block;
    	padding: 8px 14px;
    	cursor: pointer;
    }
    
    #leftcontentcontainer .catListTitle:after {
    	content: "f105";
    	font-family: FontAwesome;
    	float: right;
    }
    
    .catListTitle-active:after {
    	float: right;
    	content: "f107" !important;
    	font-family: FontAwesome;
    }
    
    #leftcontentcontainer .sidebar-block {
    	 100%;
    	overflow: hidden;
    }
    
    #leftcontentcontainer .sidebar-block ul {
    	padding: 8px 14px 8px 40px;
    	list-style-type: none;
    	font-size: var(--text8);
    	line-height: 2;
    	 100%;
    	color: var(--TextColor2);
    }
    
    #sidebar_toptags li {
    	display: inline-table;
    	display: flex;
    }
    
    #leftcontentcontainer .sidebar-block ul a {
    	transition: color .3s;
    	white-space: nowrap;
    	text-overflow: ellipsis;
    	overflow: hidden;
    	 100%;
    	display: inline-block !important;
    }
    
    
    #leftcontentcontainer .sidebar-block ul a:hover {
    	color: var(--ThemeColor);
    	transition: color .3s;
    }
    
    .sidebar-block .catListTitle+* {
    	display: none;
    }
    
    #leftcontentcontainer .catListTitle:before {
    	margin-right: 10px;
    }
    
    #leftcontentcontainer .catListTitle:hover {
    	background: var(--HoverColor);
    }
    
    #sidebar_scroller .catListTitle:before {
    	content: "f0ca";
    	font-family: FontAwesome;
    }
    
    
    #sidebar_search .catListTitle:before {
    	content: "f002";
    	font-family: FontAwesome;
    }
    
    
    #sidebar_shortcut .catListTitle:before {
    	content: "f0c1";
    	font-family: FontAwesome;
    }
    
    #sidebar_recentposts .catListTitle:before {
    	content: "f040";
    	font-family: FontAwesome;
    }
    
    #sidebar_toptags .catListTitle:before {
    	content: "f02c";
    	font-family: FontAwesome;
    }
    
    #sidebar_scorerank .catListTitle:before {
    	content: "f091";
    	font-family: FontAwesome;
    }
    
    
    #sidebar_postcategory .catListTitle:before {
    	content: "f02d";
    	font-family: FontAwesome;
    }
    
    #sidebar_articlearchive .catListTitle:before,
    #sidebar_postarchive .catListTitle:before {
    	content: "f073";
    	font-family: FontAwesome;
    }
    
    #sidebar_recentcomments .catListTitle:before {
    	content: "f075";
    	font-family: FontAwesome;
    }
    
    
    #sidebar_topviewedposts .catListTitle:before {
    	content: "f06e";
    	font-family: FontAwesome;
    }
    
    #sidebar_topcommentedposts .catListTitle:before {
    	content: "f086";
    	font-family: FontAwesome;
    }
    
    #sidebar_imagecategory .catListTitle:before {
    	content: "f03e";
    	font-family: FontAwesome;
    }
    
    #sidebar_topdiggedposts .catListTitle:before {
    	content: "f164";
    	font-family: FontAwesome;
    }
    
    #sidebar_links1575513 .catListTitle:before,
    .catList .catListTitle:before {
    	content: "f0c2";
    	font-family: FontAwesome;
    }
    
    #sidebar_recentposts li {
    	 100%;
    	position: relative;
    }
    
    .div_my_zzk {
    	display: flex;
    	padding: 0 14px;
    
    	align-items: center;
    }
    
    .input_my_zzk {
    	 0 !important;
    	border-radius: 4px;
    	flex-grow: 1;
    	border: 1px solid var(--DividColor);
    	height: 30px;
    	margin: 4px 0;
    	padding: 0 10px;
    	outline: none;
    	color: var(--TextColor1);
    	background: var(--BackgroundColor);
    }
    
    .btn_my_zzk {
    	height: 30px !important;
    	background: var(--ThemeColor);
    	border: none;
    	color: #fff;
    	border-radius: 4px;
    	padding: 0 10px !important;
    }
    
    .btn_my_zzk:hover {
    	opacity: .8;
    }
    
    #sideBarMain {
    	position: absolute;
    	top: 64px;
    	 100%;
    	height: calc(100vh - 64px);
    	overflow-y: auto;
    }
    
    #sideBarMain::-webkit-scrollbar {
    	display: none;
    }
    
    .recent_comment_title {
    	font-weight: bold;
    	overflow: hidden;
    	 100%;
    	text-overflow: ellipsis;
    }
    
    .recent_comment_title a {
    	text-overflow: ellipsis;
    	word-break: break-all;
    
    }
    
    .recent_comment_author {
    	border-bottom: 1px dashed var(--DividColor);
    	padding-bottom: 8px;
    	margin-bottom: 8px;
    }
    
    .recent_comment_author:last-child {
    	border-bottom: 0px dashed var(--DividColor);
    	padding-bottom: 0px;
    	margin-bottom: 0px;
    }
    
    
    
    
    /* .forFlow*/
    @media screen and (min-0px) {
    	.forFlow {
    		display: grid;
    		grid-template-columns: 100%;
    		grid-gap: 10px;
    		 100%;
    		padding: 78px 10px 14px !important;
    		margin: 0 auto !important;
    	}
    }
    
    /***************/
    /* .day*/
    @media screen and (min-0px) {
    	.day {
    		background: var(--BlockColor);
    		display: grid;
    		grid-template-columns: 100%;
    		/*grid-gap:10px;*/
    		border-radius: 6px;
    		padding: 0px !important;
    		margin: 0 !important;
    	}
    
    	.postSeparator {
    		 100%;
    		height: 10px;
    		background: var(--BackgroundColor);
    	}
    }
    
    /***********************/
    /* 随笔翻页 */
    @media screen and (min-0px) {
    	.topicListFooter {
    		padding: 0 !important;
    		margin: 0 !important;
    		background: var(--BlockColor);
    		border-radius: 6px;
    	}
    
    	#homepage_bottom_pager,
    	#homepage_top_pager {
    		padding: 10px 14px !important;
    		border-radius: 6px;
    	}
    
    	#homepage_bottom_pager {
    		margin-top: -10px !important;
    	}
    
    	#nav_next_page a {
    		display: block !important;
    		padding: 10px 14px;
    		text-align: center;
    	}
    
    	#nav_next_page a:after {
    		content: "f105";
    		font-family: FontAwesome;
    	}
    
    	#nav_next_page a:hover {
    		color: inherit;
    	}
    }
    
    /***************/
    /* 翻页 */
    @media screen and (min-0px) {
    	.pager {
    		padding: 0 !important;
    		margin: 0 !important;
    		line-height: 1.5;
    	}
    
    	.Pager,
    	#homepage_top_pager .pager,
    	#homepage_bottom_pager .pager {
    		background: var(--BlockColor);
    		padding: 10px 14px;
    		margin: 0;
    		text-align: center !important;
    		color: var(--TextColor2) !important;
    		font-size: var(--text7);
    		border-radius: 6px;
    	}
    
    	.Pager a,
    	.pager a,
    	#homepage_top_pager .pager a,
    	#homepage_bottom_pager .pager a {
    		border: 1px solid var(--DividColor);
    		margin: 8px 4px !important;
    		display: inline-table;
    		color: var(--TextColor1) !important;
    		border-radius: 2px;
    		padding: 4px 8px !important;
    	}
    
    	.pager .current {
    		border: 1px solid var(--ThemeColor) !important;
    		margin: 6px 4px !important;
    		display: inline-table;
    		color: #fff !important;
    		;
    		font-weight: normal !important;
    		border-radius: 2px;
    		background-color: var(--ThemeColor) !important;
    		padding: 4px 8px !important;
    	}
    
    	#comment_pager_top,
    	#comment_pager_bottom {
    		padding: 14px !important;
    		border-radius: 6px;
    		background: var(--BlockColor);
    		min-height: 0 !important;
    	}
    
    	/*
    #comment_pager_bottom{
    border-top:1px solid var(--DividColor);
    }
    */
    }
    
    /* 随笔分类 */
    @media screen and (min-0px) {
    	.entrylist {
    		margin: 0;
    		padding: 0;
    		overflow: hidden;
    	}
    
    	.entrylistTitle {
    		margin: 0 !important;
    		padding: 14px !important;
    		font-size: var(--text5);
    		color: var(--TextColor1);
    		text-align: center;
    		border-radius: 6px 6px 0 0;
    		font-weight: normal !important;
    		background: var(--BlockColor);
    	}
    
    	.entrylistTitle a:hover {
    		color: var(--ThemeColor);
    	}
    
    	.entrylistItem {
    		margin: 0;
    		border-radius: 6px;
    		padding: 0 14px 14px 14px;
    		background: var(--BlockColor);
    	}
    
    	.entrylistItem:nth-child(3) {
    		border-radius: 0 0 6px 6px !important;
    	}
    
    	.entrylistDescription {
    		font-size: var(--textNormal);
    		color: var(--TextColor2);
    		padding: 0 14px 14px 14px;
    		border-bottom: 1px solid var(--DividColor);
    		margin: 0;
    		text-align: left !important;
    		background-color: var(--BlockColor);
    	}
    
    	.entrylistDescription img {
    		max- 100% !important;
    		margin: 4px auto;
    		border-radius: 4px;
    	}
    
    	.entrylistPosttitle {
    		font-size: var(--text5) !important;
    		color: var(--TextColor1);
    		padding: 14px 0 10px;
    	}
    
    	.entrylistItemPostDesc {
    		font-size: var(--text8) !important;
    		color: var(--TextColor3);
    		padding: 0;
    		margin: 14px 0 0 0;
    		text-indent: -60px;
    		overflow: hidden;
    		text-overflow: ellipsis;
    		/*display:none;*/
    	}
    
    	.entrylistItemPostDesc a:last-child {
    		display: none
    	}
    
    	.entrylistPostSummary {
    		font-size: var(--text7) !important;
    		color: var(--TextColor2);
    	}
    }
    
    /**********************/
    /* 首页随笔 */
    @media screen and (min-0px) {
    	.dayTitle {
    		display: none;
    	}
    
    	.day .postTitle {
    		font-size: var(--text5);
    		color: var(--TextColor1) !important;
    		padding: 14px 14px 10px 14px;
    	}
    
    	.postTitle a:hover {
    		color: var(--ThemeColor);
    	}
    
    	.postCon {
    		font-size: var(--text7) !important;
    		color: var(--TextColor2) !important;
    		padding: 0 14px 14px 14px;
    	}
    
    	.postCon ul {
    		margin-left: 14px;
    	}
    
    	.postCon img {
    		max- 100% !important;
    		border-radius: 4px;
    	}
    
    	.postDesc {
    		font-size: var(--text8);
    		color: var(--TextColor3) !important;
    		margin: -4px 14px 14px 14px;
    		text-indent: -62px;
    		overflow: hidden;
    		text-overflow: ellipsis;
    		background: var(--BlockColor);
    		/*display:none;*/
    	}
    
    	.day .postDesc {
    		white-space: nowrap;
    		overflow: hidden;
    		text-overflow: ellipsis;
    		/* border-radius: 6px; */
    		/* background: red; */
    	}
    
    	.day .postDesc a {
    		/*display:none;*/
    	}
    
    	.clear {
    		display: none;
    	}
    }
    
    /***************/
    @media screen and (max-540px) {
    	.c_b_p_desc {
    		display: block;
    		display: -webkit-box;
    		/* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
    		-webkit-box-orient: vertical;
    		-webkit-line-clamp: 3;
    		text-overflow: ellipsis;
    		overflow: hidden;
    	}
    
    	.desc_img {
    		 100px;
    		height: 70px;
    		border-radius: 4px;
    		margin-left: 14px;
    		float: right;
    		background-color: var(--BackgroundColor);
    		object-fit: cover;
    		display: grid;
    		align-items: center;
    		text-align: center;
    		justify-content: center;
    	}
    
    	.desc_img:before {
    		content: "f071"" 图片加载失败!";
    		font-family: FontAwesome;
    		font-size: var(--text10);
    		color: var(--TextColor2);
    		display: block;
    		line-height: 70px;
    		padding-bottom: 70px;
    	}
    
    	.c_b_p_desc_readmore {
    		display: none;
    	}
    }
    
    /***************/
    
    @media screen and (min-541px) {
    	.c_b_p_desc {
    		display: block;
    		display: -webkit-box;
    		/* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
    		/*display: -webkit-flex; */
    		-webkit-box-orient: vertical;
    		-webkit-line-clamp: 5;
    		text-overflow: ellipsis;
    		overflow: hidden;
    	}
    
    	.desc_img {
    		 190px;
    		height: 116px;
    		border-radius: 4px;
    		margin-left: 14px;
    		float: right;
    		object-fit: cover;
    		background-color: var(--BackgroundColor);
    		display: grid;
    		align-items: center;
    		text-align: center;
    		justify-content: center;
    	}
    
    	.desc_img:before {
    		content: "f071"" 图片加载失败!";
    		font-family: FontAwesome;
    		font-size: var(--text9);
    		color: var(--TextColor2);
    		display: block;
    		line-height: 120px;
    		padding-bottom: 120px;
    	}
    
    	.c_b_p_desc_readmore {
    		display: none;
    	}
    }
    
    /************/
    /* 我的标签 */
    @media screen and (min-0px) {
    	#taglist_main {
    		display: grid;
    		grid-template-columns: 100%;
    		margin: 0;
    		padding: 0;
    		grid-gap: 10px;
    
    	}
    
    	#taglist_title_wrap {
    		margin: 0;
    		padding: 0;
    
    	}
    
    	#taglist {
    		margin: 0;
    		padding: 0;
    		border-radius: 6px;
    		background: var(--BlockColor);
    	}
    
    	#taglist_title {
    		margin: 0 !important;
    		padding: 14px !important;
    		font-size: var(--text5) !important;
    		color: var(--TextColor1);
    		text-align: center;
    		background: var(--BlockColor);
    		font-weight: normal !important;
    		border-radius: 6px;
    	}
    
    	#taglist td {
    		padding: 14px 7px 14px 14px;
    		font-size: var(--text8);
    		color: var(--TextColor2);
    		text-align: center;
    		border: none !important;
    	}
    }
    
    /*************/
    /* 我的随笔 */
    @media screen and (min-0px) {
    	.PostListTitle {
    		margin: 0 !important;
    		padding: 14px !important;
    		font-size: var(--text5);
    		color: var(--TextColor1);
    		text-align: center;
    		border-radius: 6px;
    		font-weight: normal !important;
    		background: var(--BlockColor);
    	}
    
    	#myposts {
    		margin: 0 !important;
    		padding: 0 !important;
    		/*background:red;*/
    		display: grid;
    		grid-template-columns: 100%;
    		grid-gap: 10px;
    	}
    
    	.PostList {
    		margin: 0 !important;
    		padding: 0 14px !important;
    		display: grid;
    		border-radius: 6px;
    		grid-template-columns;
    		100%;
    		background: var(--BlockColor);
    	}
    
    	.postTitl2 {
    		font-size: var(--text5) !important;
    		color: var(--TextColor1);
    		padding: 14px 0 0px;
    	}
    
    	.postTitl2 a:hover {
    		color: var(--ThemeColor);
    	}
    
    	.postDesc2 {
    		font-size: var(--text8) !important;
    		color: var(--TextColor3);
    		padding: 0px 0 14px;
    		order: 1;
    	}
    
    	.postText2 {
    		font-size: var(--text7) !important;
    		color: var(--TextColor2);
    		word-break: break-all !important;
    		overflow: hidden;
    	}
    
    	.postText2 ol {
    		margin-left: 14px;
    	}
    }
    
    /***********************/
    /* #post_detail,#blog-comments-placeholder,#comment_form */
    @media screen and (min-0px) {
    
    	#post_detail,
    	#blog-comments-placeholder,
    	#comment_form {
    		/*background:green;*/
    		padding: 0 !important;
    		margin: 0 !important;
    	}
    
    	#comment_form,
    	#blog-comments-placeholder {
    		display: grid;
    		grid-template-columns: 100%;
    	}
    
    	#blog-comments-placeholder br {
    		display: none;
    	}
    
    	.feedbackItem br {
    		display: block !important;
    	}
    }
    
    /***************/
    a[name="!comments"] {
    	display: none !important;
    }
    
    /***********************/
    
    /***************/
    /* 评论列表 */
    @media screen and (min-0px) {
    	#blog-comments-placeholder br:nth-child(1) {}
    
    	#blog-comments-placeholder {
    		/*border-radius:6px;
    display:grid;
    grid-template-columns:100%;
    grid-gap:10px;
    overflow:hidden;*/
    	}
    
    	.feedback_area_title {
    		order: -1;
    		margin-bottom: 10px;
    		padding: 14px;
    		font-size: var(--text5);
    		text-align: center;
    		font-weight: normal !important;
    		color: var(--TextColor1);
    		/*border-bottom:1px solid var(--DividColor);*/
    		background: var(--BlockColor);
    		border-radius: 6px;
    	}
    
    	.feedbackItem {
    		padding: 14px;
    		background-color: var(--BlockColor);
    		position: relative;
    		overflow: hidden;
    		margin-bottom: 10px;
    		border-radius: 6px;
    	}
    
    	.feedbackItem:nth-child(5) {
    		margin-top: 10px;
    		/*border-top:1px solid var(--DividColor);*/
    	}
    
    	/*
    .feedbackItem{
    border-top:1px solid var(--DividColor);
    }
    .feedbackItem:last-child(2){
    border:none!important;
    }
    */
    	.feedbackItem img {
    		max- 100% !important;
    	}
    
    	.feedbackListSubtitle {
    		font-size: 0;
    		display: flex;
    		flex-wrap: wrap;
    		position: relative;
    		margin-bottom: 4px;
    	}
    
    	.feedbackListSubtitle a,
    	.feedbackManage,
    	.feedbackListSubtitle .comment_date {
    		font-size: var(--text8);
    		line-height: 1.5;
    	}
    
    	.feedbackListSubtitle a {
    		margin-right: 4px;
    	}
    
    	.feedbackListSubtitle .layer {
    		order: 1;
    		 auto;
    		padding: 0;
    		margin-right: 10px;
    		word-break: keep-all;
    	}
    
    	.louzhu {
    		order: 3;
    	}
    
    	.louzhu:before {
    		content: "f058";
    		line-height: 1.5;
    		color: #F07316;
    		font-size: var(--text8) !important;
    		font-family: FontAwesome
    	}
    
    	.feedbackListSubtitle a:last-child {
    		font-weight: bold;
    		order: 2;
    		word-break: keep-all;
    		max- calc(100% - 180px);
    		white-space: nowrap;
    		overflow: hidden;
    		display: block;
    		text-overflow: ellipsis;
    		border-radius: 2px;
    	}
    
    	.feedbackListSubtitle .comment_date {
    		display: block !important;
    		 100% !important;
    		color: var(--TextColor3);
    		order: 5;
    		word-break: keep-all;
    	}
    
    	.feedbackManage {
    		position: absolute;
    		right: 0;
    		top: 0;
    		display: inline-block;
    		color: var(--TextColor3);
    	}
    
    	.feedbackManage a:last-child {
    		font-weight: normal !important;
    		 auto !important;
    		display: inline-flex !important;
    		max- fit-content !important;
    	}
    
    	.comment_vote {
    		margin-top: 4px;
    		color: var(--TextColor3);
    		font-size: var(--text8);
    	}
    
    	.feedbackCon .blog_comment_body {
    		height: fit-content !important;
    		margin: 0;
    		display: block;
    		justify-content: center;
    		word-break: break-all;
    		 100% !important;
    		overflow: hidden !important;
    	}
    
    	.feedbackCon .blog_comment_body a[title="查看所回复的评论"]:before {
    		content: '回复'
    	}
    
    	.blog_comment_body a {
    		color: var(--ThemeColor)
    	}
    }
    
    /***************/
    /* 发表评论 */
    @media screen and (min-0px) {
    	#comment_nav {
    		text-align: center;
    		font-size: var(--text8);
    		color: var(--TextColor1);
    		padding: 14px !important;
    		margin: 0 !important;
    		background-color: var(--BlockColor);
    		border-radius: 6px;
    		/*border-top:1px solid var(--DividColor);*/
    	}
    
    	#comment_nav a {
    		display: inline-block;
    		margin: 0 6px;
    	}
    
    	#comment_nav a:nth-child(2):before {
    		content: "f01e";
    		margin-right: 4px;
    		font-family: FontAwesome;
    	}
    
    	#comment_nav a:nth-child(3):before {
    		content: "f021";
    		margin-right: 4px;
    		font-family: FontAwesome;
    	}
    
    	#comment_nav a:nth-child(4):before {
    		content: "f077";
    		margin-right: 4px;
    		font-family: FontAwesome;
    	}
    
    
    	#comment_form_container {
    		padding: 0 !important;
    		margin: 0 !important;
    		background-color: transparent;
    	}
    
    	.login_tips {
    		background-image: url();
    		text-align: center;
    		font-size: var(--text7);
    		font-weight: normal !important;
    		padding: 14px !important;
    		background-color: var(--BlockColor);
    		border-radius: 6px;
    		margin-top: 10px;
    	}
    
    	#commentform_title {
    		padding: 14px !important;
    		background: url();
    		margin: 10px 0 0 0 !important;
    		font-size: var(--text5) !important;
    		font-weight: normal !important;
    		background-color: var(--BlockColor);
    		border-radius: 6px 6px 0 0;
    	}
    
    	.comment_textarea {
    		 100%;
    		border-radius: 0 !important;
    		height: fit-content !important;
    		background: var(--BlockColor);
    		color: var(--TextColor2);
    		padding: 8px 14px;
    		margin: 0;
    		border: none !important;
    		/*border:1px solid var(--DividColor);*/
    	}
    
    	.commentbox_title {
    		border-bottom-color: var(--DividColor);
    		color: var(--TextColor3) !important;
    	}
    
    	#tbCommentBody {
    		padding: 8px;
    		color: var(--TextColor1);
    		background: var(--BlockColor);
    		word-break: break-all;
    	}
    
    	/* 贴吧表情 */
    	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/"] {
    		 26px;
    		height: 26px;
    	}
    
    	/*
      .commentbox_footer{
        border:none!important;
      }
    */
    	.commentbox-tab {
    		color: var(--TextColor3) !important;
    	}
    
    	.commentbox_tab:hover,
    	.commentbox_tab.active {
    		border-bottom-color: var(--ThemeColor);
    		color: var(--TextColor1) !important;
    	}
    
    	#commentbox_opt {
    		padding: 14px;
    		margin: 0;
    		border-top: 1px solid var(--DividColor);
    		background: var(--BlockColor);
    
    	}
    
    	#btn_comment_submit {
    		 auto;
    		height: auto;
    		border- 0;
    		cursor: pointer;
    		color: rgba(50, 149, 238, 1) !important;
    		background: rgba(50, 149, 238, 0.15) !important;
    		padding: 4px 8px;
    		border-color: rgba(50, 149, 238, 0.15);
    		user-select: none;
    		border-radius: 4px;
    	}
    
    	#btn_comment_submit:hover {
    		opacity: 0.8
    	}
    
    	#tip_comment2 {
    		display: none;
    	}
    
    	#tip_comment {
    		background-color: var(--BlockColor);
    		font-size: var(--text8) !important;
    		margin: 0;
    		padding: 0px 14px !important;
    		font-size: var(--text9);
    		line-height: 1.8;
    		display: block;
    		 100%;
    	}
    
    	#comment_form_container p:nth-child(7) {
    		color: var(--TextColor3);
    		font-size: var(--text9);
    		 100%;
    		display: block;
    		margin: 0;
    		padding: 6px 14px 14px;
    		background-color: var(--BlockColor);
    		border-radius: 0 0 6px 6px;
    	}
    }
    
    /***************/
    /* 相关博文 */
    @media screen and (min-0px) {
    	#under_post_news {
    		margin: 10px 0 0 0 !important;
    		padding: 0 !important;
    		 100% !important;
    		max- 100% !important;
    		display: block !important;
    	}
    
    	.recomm-block {
    		padding: 0 0 14px 0 !important;
    		border-radius: 6px;
    		margin: 0 !important;
    		font-size: 0;
    		 100% !important;
    		max- 100% !important;
    		background: var(--BlockColor);
    		word-break: keep-all;
    		white-space: nowrap;
    		overflow: hidden;
    		text-overflow: ellipsis;
    	}
    
    	.recomm-block b:before {
    		content: "相关博文";
    		display: block !important;
    		padding: 14px;
    		font-size: var(--text5) !important;
    		font-weight: normal !important;
    		color: var(--TextColor1);
    		border-bottom: 1px solid var(--DividColor);
    		background: var(--BlockColor);
    		margin-bottom: 10px;
    	}
    
    	.recomm-block br,
    	#ad_t2 br {
    		display: none;
    	}
    
    
    	.recomm-block a:last-child {
    		display: none !important;
    	}
    
    	.recomm-block a:before {
    		content: "f0f6";
    		margin-right: 4px;
    		font-family: FontAwesome;
    	}
    
    	.recomm-block a:nth-last-child(2):before {
    		content: "f101" !important;
    		margin-right: 8px;
    		font-family: FontAwesome;
    	}
    
    
    	/** 广告部分 **/
    	.ad_text_commentbox,
    	#ad_t2 {
    		margin: 0;
    	}
    
    	#ad_t2 {
    		display: none;
    		background: var(--BlockColor);
    		border-radius: 6px;
    		line-height: 1.8;
    		overflow: hidden;
    		padding-bottom: 14px;
    		 100% !important;
    		color: var(--TextColor2);
    		font-size: var(--text7) !important;
    	}
    
    	#ad_t2:before {
    		content: "推荐";
    		display: block !important;
    		padding: 14px;
    		font-size: var(--text5) !important;
    		font-weight: normal !important;
    		color: var(--TextColor1);
    		border-bottom: 1px solid var(--DividColor);
    		background: var(--BlockColor);
    		margin-bottom: 10px;
    	}
    
    	#ad_t2 a,
    	#HistoryToday  a,
    	.recomm-block a,
    	.itnews.c_ad_block a 
    	{
    		line-height: 1.8;
    		 100% !important;
    		color: var(--TextColor2);
    		font-size: var(--text7) !important;
    		padding: 0 14px !important;
    		text-overflow: ellipsis;
    		word-break: keep-all;
    		white-space: nowrap;
    		display: block !important;
    		overflow: hidden;
    		 auto;
    		transition: color 0.3s;
    	}
    
    	#ad_t2 a:before {
    		content: "f1d9";
    		font-family: FontAwesome;
    	}
    
    
    
    	#ad_t2 a:hover,
    	.recomm-block a:hover,
    	#HistoryToday a:hover,
    	.itnews.c_ad_block a:hover {
    		color: var(--ThemeColor);
    		transition: color 0.3s;
    	}
    
    
    	.itnews.c_ad_block{
    		padding: 0 0 14px 0 !important;
    		border-radius: 6px;
    		margin-top: 10px !important;
    		font-size: 0;
    		 100% !important;
    		max- 100% !important;
    		background: var(--BlockColor);
    		word-break: keep-all;
    		white-space: nowrap;
    		overflow: hidden;
    		text-overflow: ellipsis;
    	}
    
    	#HistoryToday{
    		padding: 0 0 14px 0 !important;
    		border-radius: 6px;
    		margin-top: 10px !important;
    		 100% !important;
    		font-size: 0;
    		max- 100% !important;
    		background: var(--BlockColor);
    		word-break: keep-all;
    		white-space: nowrap;
    		overflow: hidden;
    		text-overflow: ellipsis;
    	}
    
    #HistoryToday b:before {
    		content: "历史上的今天";
    		display: block !important;
    		padding: 14px;
    		font-size: var(--text5) !important;
    		font-weight: normal !important;
    		color: var(--TextColor1);
    		border-bottom: 1px solid var(--DividColor);
    		background: var(--BlockColor);
    		margin-bottom: 10px;
    	}
    
    	.itnews.c_ad_block b:before {
    		content: "最新 IT 新闻";
    		display: block !important;
    		padding: 14px;
    		font-size: var(--text5) !important;
    		font-weight: normal !important;
    		color: var(--TextColor1);
    		border-bottom: 1px solid var(--DividColor);
    		background: var(--BlockColor);
    		margin-bottom: 10px;
    	}
    
    	.itnews.c_ad_block a {
    		line-height: 1.8;
    		 100% !important;
    		color: var(--TextColor2);
    		font-size: var(--text7) !important;
    		padding: 0 14px !important;
    		text-overflow: ellipsis;
    		word-break: keep-all;
    		white-space: nowrap;
    		display: block !important;
    		overflow: hidden;
    		 auto;
    	}
    
    	.itnews.c_ad_block a:before {
    		content: "f1ea";
    		margin-right: 4px;
    		font-family: FontAwesome;
    	}
    
    	.itnews.c_ad_block a:nth-last-child(1):before {
    		content: "f101" !important;
    		margin-right: 8px;
    		font-family: FontAwesome;
    	}
    
    	
    }
    
    /***************/
    /* Markdown */
    @media screen and (min-0px) {
    	table::-webkit-scrollbar {
    		display: none !important;
    	}
    
    	.post .postBody {
    		color: var(--TextColor1);
    		word-break: break-all;
    		line-height: 1.7;
    		letter-spacing: 0px;
    	}
    
    	.post .postBody h1,
    	.blog_comment_body h1 {
    		color: var(--TextColor1);
    		font-size:var(--text1)!important;
    		font-weight:400!important;
    		
    	}
    
    	.post .postBody h2,
    	.blog_comment_body h2 {
    		color: var(--TextColor1);
    		font-size:var(--text2)!important;
    		font-weight:400!important;
    	}
    
    	.post .postBody h3,
    	.blog_comment_body h3 {
    		color: var(--TextColor1);
    		font-size:var(--text3)!important;
    		font-weight:400!important;
    	}
    
    	.post .postBody h4,
    	.blog_comment_body h4 {
    		color: var(--TextColor1);
    		font-size:var(--text4)!important;
    		font-weight:400!important;
    	}
    
    
    	.post .postBody h5,
    	.blog_comment_body h5 {
    		color: var(--TextColor1);
    		 font-size:var(--text5)!important;
    		 font-weight:400!important;
    	}
    
    	.post .postBody h6,
    	.blog_comment_body h6 {
    		color: var(--TextColor1);
    		font-size:var(--text6)!important;
    		font-weight:400!important;
    	}
    
    	.post .postBody p,
    	.blog_comment_body p {
    		margin: 17px auto;
    	}
    	#cnblogs_post_body p img{
    		margin: 0 auto!important;
    		display: flex;
    	}
    	.post .postBody img,
    	.blog_comment_body img {
    		margin: 4px auto;
    		border-radius: 4px;
    		position: relative;
    		/* display:flex; */
    		max- 100%;
    		text-align: center;
    	}
    
    	#home code {
    		border: none !important;
    		color: var(--AidColor2);
    		padding: 0 .5em;
    		line-height: 1.5 !important;
    		font-size: var(--text8) !important;
    		font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    		background-color: var(--BackgroundColor);
    	}
    
    	.cnblogs-markdown a {
    		color: var(--ThemeColor);
    	}
    
    	.cnblogs-markdown ul {
    		margin: 0 !important;
    		padding-left: 24px !important;
    	}
    
    	.contains-task-list li,
    	.contains-task-list {
    		list-style-type: none;
    		margin: 0;
    		padding: 0 !important;
    	}
    
    	.MathJax {
    		outline: none;
    	}
    
    	.MathJax_Display {
    		overflow-x: auto;
    		overflow-y: hidden;
    	}
    
    	.forFlow {
    		display: grid;
    		max- 900px;
    		margin: 0 auto;
    		grid-template-columns: 100%;
    	}
    
    	.forFlow hr {
    		border: 1px solid var(--DividColor);
    	}
    
    	.forFlow .tablebox {
    		display: block;
    		margin: 0 auto;
    	}
    
    	.forFlow table {
    		margin: 10px 0;
    		font-size: var(--text8);
    		border-collapse: collapse;
    		border-spacing: 0;
    		empty-cells: show;
    		border: none !important;
    		overflow: auto;
    		 100% !important;
    		/*display:block!important;*/
    		word-break: keep-all !important;
    	}
    
    	.forFlow table th {
    		font-weight: bold;
    		padding: .5em 1em;
    		border: 1px solid var(--DividColor) !important;
    		background-color: var(--BackgroundColor) !important;
    	}
    
    	.forFlow table tr:nth-child(2n) {
    		background-color: var(--BackgroundColor) !important;
    	}
    
    	.forFlow table tr {
    		background-color: var(--BlockColor) !important;
    	}
    
    	.forFlow table td {
    		border: 1px solid var(--DividColor) !important;
    		padding: .5em 1em;
    	}
    }
    
    /***************/
    @media screen and (min-0px) {
    	#post_detail {
    		margin-bottom: -10px !important;
    	}
    
    	.post {
    		padding: 0;
    		display: grid;
    		margin-bottom: 10px;
    		grid-template-columns: 100%;
    	}
    
    	#topics .postTitle {
    		margin: 0 !important;
    		text-align: left;
    		background: var(--BlockColor);
    		color: var(--TextColor1);
    		border-radius: 6px 6px 0 0;
    		font-size: var(--text5) !important;
    		padding: 14px;
    	}
    
    	.post .postDesc {
    		display: block !important;
    		padding: 0 14px !important;
    		text-indent: 0 !important;
    		margin: 0 !important;
    		background-color: var(--BlockColor);
    	}
    
    	/* 调整 */
    	.post .postBody {
    		order: 1;
    		padding: 0px;
    		overflow: hidden;
    		/*background-color:var(--BlockColor);*/
    	}
    
    	/* 博文信息 */
    	.post .postDesc {
    		font-size: 0;
    		line-height: 1.5;
    		position: relative !important;
    		display: flex !important;
    		flex-wrap: wrap !important;
    	}
    
    	.post .postDesc {}
    
    	.post .postDesc:before {
    		content: "";
    		position: absolute;
    		 40px;
    		height: 40px;
    		top: 0;
    		left: 14px;
    		border-radius: 100px;
    		background-image: url(https://images.cnblogs.com/cnblogs_com/liaowuhen1314/1578120/o_200424071728ac124cae4ef12f9891b4bebc9b1654c8.jpg);
    		background-position: center;
    		background-size: cover;
    	}
    
    	#topics #post-date,
    	lativ #topics .postDesc a,
    	#topics #post_view_count,
    	#topics #post_comment_count {
    		color: var(--TextColor3);
    		font-size: var(--text8) !important;
    		display: block !important;
    		word-break: keep-all !important;
    	}
    
    	#topics .postDesc a:hover {
    		color: var(--ThemeColor);
    	}
    
    	#topics #post-date {
    		 100% !important;
    		padding-left: 50px !important;
    		padding-bottom: 14px;
    		border-bottom: 1px solid var(--DividColor)
    	}
    
    	/*#topics #post-date:before {
        content: "f017";
        margin-right: 4px;
        font-family: FontAwesome;
      }*/
    	#topics .postDesc a:nth-child(2) {
    		 100% !important;
    		padding-left: 50px !important;
    		font-size: var(--text8) !important;
    		order: -1;
    	}
    
    	/*
      #topics .postDesc a:nth-child(2):before {
        content: "f2be";
        margin-right: 4px;
        100%;
        font-family: FontAwesome;
      }
    */
    
    	#topics .postDesc #post_view_count:before {
    		content: "f06e";
    		margin-right: 4px;
    		font-family: FontAwesome;
    	}
    
    	#topics .postDesc #post_view_count {
    		padding: 0 0 0 14px !important;
    		margin: -12px 0 0 auto !important;
    		background: var(--BackgroundColor);
    		border-radius: 40px 0 0 40px;
    		z-index: 2;
    	}
    
    	#topics #post_comment_count {
    		padding: 0 14px 0 14px !important;
    		background: var(--BackgroundColor);
    		border-radius: 0 40px 40px 0;
    		z-index: 2;
    		margin-top: -12px;
    	}
    
    	#topics #post_comment_count:before {
    		content: "f27b";
    		margin-right: 4px;
    		font-family: FontAwesome;
    	}
    
    	#topics .postDesc a:nth-last-child(3):before {
    		content: 'f121';
    		font-family: FontAwesome;
    		margin-right: 4px;
    	}
    
    	#topics .postDesc a:nth-last-child(3) {
    		background: rgba(41, 151, 248, 0.15);
    		padding: 4px 6px;
    		border-radius: 4px;
    		color: rgba(41, 151, 248, 1);
    		font-size: var(--text8) !important;
    		position: absolute;
    		top: 6px;
    		right: 80px;
    	}
    
    	#topics .postDesc a:nth-last-child(2) {
    		background: rgba(18, 185, 41, 0.15);
    		padding: 4px 6px;
    		border-radius: 4px;
    		color: rgba(18, 185, 41, 1);
    		margin-right: 14px;
    		/* font-size: var(--text8) !important; */
    		position: absolute;
    		font-size: 0;
    		top: 6px;
    		right: 0;
    	}
    
    	#topics .postDesc a:nth-last-child(2):before {
    		content: 'f040'' 编辑';
    		font-family: FontAwesome;
    		margin-right: 4px;
    		font-size: var(--text8);
    	}
    
    	#topics .postDesc a:nth-last-child(1) {
    		display: none !important;
    		content: 'f02e';
    		font-family: FontAwesome;
    		margin-right: 4px;
    	}
    
    	#cnblogs_post_body {
    		background: var(--BlockColor);
    		padding: 14px;
    		margin: 0;
    	}
    
    	#MySignature {
    		font-size: var(--text9);
    		color: var(--TextColor3);
    		margin: 0;
    		background: var(--BlockColor);
    		padding: 14px;
    	}
    
    	#the-end {
    		text-align: center;
    		display: flex;
    		margin: 14px auto;
    		align-items: center;
    		justify-content: center;
    	}
    
    	#the-end:before {
    		content: "";
    		 60px;
    		height: 1px;
    		display: inline-block;
    		opacity: 0.8;
    		border-bottom: 1px solid var(--TextColor3);
    		margin-right: 6px;
    	}
    
    	#the-end:after {
    		content: "";
    		 60px;
    		opacity: 0.8;
    		height: 1px;
    		display: inline-block;
    		border-bottom: 1px solid var(--TextColor3);
    		margin-left: 6px;
    	}
    
    	/* 分类 标签*/
    	#BlogPostCategory,
    	#EntryTag {
    		color: var(--TextColor2);
    		margin: 0;
    		background: var(--BlockColor);
    		padding: 8px 14px;
    		font-size: 0;
    	}
    
    	#BlogPostCategory a,
    	#EntryTag a {
    		display: inline-table;
    		font-size: var(--text9);
    		border-radius: 100px;
    		padding: 4px 10px;
    		margin-right: 6px;
    	}
    
    	#BlogPostCategory a:hover,
    	#EntryTag a:hover {
    		box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 3px 3px inset;
    	}
    
    	#BlogPostCategory a:nth-child(1) {
    		background: rgba(59, 148, 224, 0.15);
    		color: rgba(59, 148, 224, 1);
    	}
    
    	#BlogPostCategory a:nth-child(2) {
    		background: rgba(227, 132, 62, 0.15);
    		color: rgba(227, 132, 62, 1);
    	}
    
    	#BlogPostCategory a:nth-child(3) {
    		background: rgba(42, 169, 59, 0.15);
    		color: rgba(42, 169, 59, 1);
    	}
    
    	#BlogPostCategory a:before {
    		content: 'f115';
    		font-family: FontAwesome;
    		margin-right: 4px;
    	}
    
    	#EntryTag a {
    		background: var(--BackgroundColor);
    		color: #888888;
    	}
    
    	#EntryTag a:before {
    		content: '#';
    		/*   font-family: FontAwesome;*/
    		margin-right: 4px;
    	}
    
    	/* 博文发布信息*/
    	#blog_post_info_block {
    		margin: 0;
    	}
    
    	#blog_post_info {
    		display: flex !important;
    		flex-wrap: wrap;
    		margin: 0;
    	}
    
    	#blog_post_info:before {
    		content: "喜欢就支持一下吧";
    		font-size: var(--text8);
    		color: var(--TextColor3);
    		text-align: center;
    		display: block !important;
    		 100% !important;
    		background: var(--BlockColor);
    		padding: 14px 14px 0;
    	}
    
    	#green_channel {
    		border: none !important;
    		 100% !important;
    		display: inline-flex;
    		align-items: center;
    		justify-content: center;
    		margin: 0 0 auto 0 !important;
    		flex-wrap: wrap;
    		padding: 0;
    		background: var(--BlockColor);
    		padding: 8px 14px;
    	}
    
    
    
    	#green_channel a:hover {
    		/*color: var(--ThemeColor);*/
    		color: var(--TextColor3) !important;
    	}
    
    	#green_channel a {
    		background: url();
    		font-weight: normal;
    		margin-right: 20px;
    		color: var(--TextColor3) !important;
    		text-shadow: none !important;
    	}
    
    
    	#green_channel #green_channel_follow:before {
    		/*display: none;*/
    		content: "f004";
    		font-size: var(--text6) !important;
    		font-family: FontAwesome;
    		 100%;
    	}
    
    	#green_channel_follow:after {
    		/*content:"关注博主";*/
    	}
    
    	#green_channel_favorite:hover {
    		color: var(--TextColor3) !important;
    	}
    
    	#green_channel #green_channel_favorite:before {
    		content: "f005";
    		font-size: var(--text6) !important;
    		font-family: FontAwesome;
    		 100%;
    	}
    
    	#green_channel #green_channel_follow {
    		display: none;
    	}
    
    
    	#green_channel #green_channel_digg,
    	#green_channel #green_channel_favorite,
    	#green_channel #green_channel_weibo,
    	#green_channel #green_channel_wechat {
    		color: var(--TextColor3) !important;
    		background-color: transparent;
    		border: none !important;
    		padding: 0px;
    		display: grid !important;
    		grid-template-columns: 100%;
    		font-size: var(--text9) !important;
    		-webkit-border-radius: 4px;
    		-webkit-box-shadow: none !important;
    		box-shadow: none !important;
    	}
    
    	#green_channel #green_channel_digg:before {
    		content: "f164";
    		font-family: FontAwesome;
    		margin: 0;
    		font-size: var(--text6) !important;
    	}
    
    	/*
    #green_channel #green_channel_digg:after{
              content:"好文要顶";
               font-size:var(--text9)!important;
    }*/
    
    	#green_channel #green_channel_weibo:hover {
    		background-color: #00000000 !important;
    	}
    
    	#green_channel_weibo img {
    		margin-left: 0 !important;
    	}
    
    
    
    	#green_channel #green_channel_wechat:hover {
    		background-color: #00000000 !important;
    	}
    
    	#green_channel_wechat img {
    		margin-left: 0 !important;
    	}
    
    	/*
    
    	#green_channel #green_channel_follow:hover,
    	#green_channel #green_channel_favorite:hover {
    		color: var(--ThemeColor) !important;
    	}
    */
    
    	#green_channel_weibo img,
    	#green_channel_wechat img {
    		display: none;
    	}
    
    	#green_channel_weibo:before {
    		content: "f18a";
    		font-family: FontAwesome;
    		margin: 0;
    		font-size: var(--text6) !important;
    	}
    
    	#green_channel_weibo:after {
    		content: "微博分享";
    	}
    
    	#green_channel_wechat {
    		margin-right: 0 !important;
    	}
    
    	#green_channel_wechat:before {
    		content: "f1d7";
    		font-family: FontAwesome;
    		margin: 0;
    		font-size: var(--text6) !important;
    	}
    
    	#green_channel_wechat:after {
    		content: "微信分享";
    		font-size: var(--text9) !important;
    	}
    
    	#div_digg {
    		margin: 0px auto !important;
    		 100% !important;
    		display: inline-flex;
    		height: fit-content !important;
    		float: none !important;
    		background: var(--BlockColor);
    		border-radius: 0 0 6px 6px;
    		padding: 0 14px;
    		flex-wrap: wrap;
    		align-items: center;
    		justify-content: center;
    	}
    
    	.buryit:hover,
    	.diggit:hover {
    		opacity: 0.8;
    		color: var(--ThemeColor) !important;
    	}
    
    	.diggit {
    		background: none !important;
    		padding: 0 !important;
    		margin: 0 auto;
    		 fit-content !important;
    		height: fit-content !important;
    		color: var(--TextColor2) !important;
    		background-color: #00000000 !important;
    		/*font-size:var(--text9)!important;*/
    		border: 0px solid #00000000 !important;
    		-webkit-tap-highlight-color: transparent !important;
    		pointer-events: none;
    		cursor: default;
    		text-align: center;
    	}
    
    	#digg_count {
    		pointer-events: none;
    		cursor: default;
    		color: var(--TextColor3) !important;
    		font-size: var(--text9) !important;
    	}
    
    	#digg_count:before {
    		content: "f004";
    		color: #F55C78;
    		margin-right: 4px;
    		font-size: var(text6) !important;
    		 100%;
    		font-family: FontAwesome;
    	}
    
    	#digg_count:after {
    		content: "人觉得很赞";
    	}
    
    	#green_channel span {
    		margin-top: 10px;
    		font-size: var(--text9) !important;
    		order: 6;
    		 100%;
    	}
    
    	#green_channel span:before {
    		content: "f05a";
    
    		margin-right: 4px;
    		font-size: var(--text9) !important;
    		font-family: FontAwesome;
    	}
    
    
    	/*#green_channel span{
    display:grid;
    margin-right:20px;
    font-size:0;
    text-align:center!important;
    color:#F55C78!important;
    grid-template-columns:100%;
    }
    #green_channel span:after{
    content:"已推荐";
        color:var(--TextColor3);
    font-size:var(--text9)!important;
    }*/
    	.diggword {
    		 100%;
    		padding-bottom: 14px;
    		margin: 2px 4px;
    		color: var(--TextColor3);
    		font-size: var(--text9) !important;
    	}
    
    	/*
             .diggit:after{
          content:"";
          border-top:40px solid #FEECEA;
         border-right:40px solid transparent;
    }*/
    	.buryit {
    		display: none !important;
    		background: none !important;
    		padding: 0 !important;
    		margin: 0 0 0 -15px;
    		height: 40px;
    		 auto !important;
    		color: var(--TextColor2) !important;
    		background-color: #00000000 !important;
    		display: inline-flex;
    		align-items: center;
    		justify-content: center;
    		-webkit-tap-highlight-color: transparent !important;
    		border: 1px solid #00000000 !important;
    	}
    
    	#bury_count {
    		color: #3792DB !important;
    		background: #E8F5FE;
    		height: 40px !important;
    		font-size: var(--text7) !important;
    		display: inline-flex;
    		align-items: center;
    		justify-content: center;
    		border-radius: 0 40px 40px 0;
    		padding: 0 20px 0 10px !important;
    		line-height: 40px !important;
    	}
    
    	.buryit:before {
    		content: "";
    		border-bottom: 40px solid #E8F5FE;
    		border-left: 40px solid transparent;
    	}
    
    	#bury_count:before {
    		content: 'f088';
    		margin-right: 4px;
    		font-size: var(--text6) !important;
    		font-family: FontAwesome;
    	}
    
    	/* 博主信息*/
    	#author_profile {
    		order: 1;
    		 100%;
    		margin-top: 10px;
    		background-color: var(--BlockColor);
    		border-radius: 6px;
    		padding: 14px;
    		display: inline-flex;
    		align-items: center;
    		justify-content: center;
    		border-radius: 4px;
    	}
    
    	#author_profile_info {
    		flex: 1;
    	}
    
    	.author_avatar {
    		margin: 0 10px 0 0 !important;
    		padding: 0;
    		border-radius: 9999px !important;
    	}
    
    	#author_profile_detail {
    		display: grid;
    		 fit-content;
    		column-gap: 0px !important;
    		justify-content: center;
    		color: var(--TextColor1) !important;
    		grid-template-columns: 1fr 1fr;
    		grid-template-rows: auto auto;
    	}
    
    	#author_profile_detail br {
    		display: none;
    	}
    
    	#author_profile_detail a:hover {
    		text-decoration: none;
    	}
    
    	#author_profile_detail a:nth-child(1) {
    		grid-column-start: 1;
    		grid-column-end: 3;
    		font-weight: bold;
    		padding-bottom: 10px;
    		line-height: 1;
    		font-size: var(--text7);
    		grid-row-start: 1;
    		grid-row-end: 2;
    	}
    
    	#author_profile_detail a:nth-child(2) {
    		grid-column-start: 1;
    		grid-column-end: 2;
    		grid-row-start: 2;
    		grid-row-end: 3;
    	}
    
    	#author_profile_detail a:nth-child(5) {
    		color: rgba(254, 84, 116, 1) !important;
    		font-size: var(--text9);
    		padding: 1px 6px;
    		border-radius: 2px;
    		background-color: rgba(254, 84, 116, 0.15) !important;
    	}
    
    	#author_profile_detail a:nth-child(5):before {
    		content: "f08a";
    		font-family: FontAwesome;
    		margin-right: 4px;
    	}
    
    	#author_profile_detail a:nth-child(3) {
    		color: rgba(25, 180, 47, 1) !important;
    		font-size: var(--text9);
    		padding: 1px 6px;
    		border-radius: 2px;
    		background-color: rgba(25, 180, 47, 0.15) !important;
    	}
    
    	#author_profile_detail a:nth-child(3):before {
    		content: "f2c0";
    		font-family: FontAwesome;
    		margin-right: 4px;
    	}
    
    	#author_profile_detail a:nth-child(3) {
    		grid-column-start: 2;
    		grid-column-end: 3;
    		grid-row-start: 2;
    		grid-row-end: 3;
    		margin-left: 10px;
    	}
    
    	#author_profile_follow {
    		font-size: 0;
    	}
    
    	#author_profile_follow a {
    		color: rgba(50, 149, 238, 1) !important;
    		font-size: var(--text8);
    		line-height: 2.4;
    		padding: .5em 1em !important;
    		 fit-content !important;
    		border-radius: 100px;
    		background-color: rgba(50, 149, 238, 0.15);
    	}
    
    	#author_profile_follow a:hover {
    		color: rgba(50, 149, 238, 1) !important;
    		text-decoration: none;
    	}
    
    	/*上下篇*/
    	#post_next_prev {
    		font-size: var(--textNormal);
    		text-overflow: ellipsis;
    		 100% !important;
    		display: grid;
    		background: var(--BlockColor);
    		padding: 14px;
    		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 {
    		 0 !important;
    		display: none;
    		margin: 0 7px !important;
    	}
    
    	.p_n_p_prefix {
    		font-size: 0;
    	}
    
    }
    
    /***************/
    
    /*** Atom OneDark**/
    @media screen and (min-0px) {
    
    	#home .hljs,
    	#home pre code {
    		display: block;
    		white-space: pre;
    		word-break: keep-all;
    		overflow-x: auto !important;
    		padding: .5em;
    		color: #abb2bf;
    		font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    		font-size: var(--text8) !important;
    		border: none !important;
    		background: inherit !important;
    	}
    
    	#home .hljs-comment,
    	#home .hljs-quote {
    		color: #5c6370;
    		font-style: italic
    	}
    
    	#home .hljs-doctag,
    	#home .hljs-formula,
    	#home .hljs-keyword {
    		color: #c678dd
    	}
    
    	#home .hljs-deletion,
    	#home .hljs-name,
    	#home .hljs-section,
    	#home .hljs-selector-tag,
    	#home .hljs-subst {
    		color: #e06c75
    	}
    
    	#home .hljs-literal {
    		color: #56b6c2
    	}
    
    	#home .hljs-addition,
    	#home .hljs-attribute,
    	#home .hljs-meta-string,
    	#home .hljs-regexp,
    	#home .hljs-string {
    		color: #98c379
    	}
    
    	#home .hljs-built_in,
    	#home .hljs-class .hljs-title {
    		color: #e6c07b
    	}
    
    	#home .hljs-attr,
    	#home .hljs-number,
    	#home .hljs-selector-attr,
    	#home .hljs-selector-class,
    	#home .hljs-selector-pseudo,
    	#home .hljs-template-variable,
    	#home .hljs-type,
    	#home .hljs-variable {
    		color: #d19a66;
    	}
    
    	#home .hljs-bullet,
    	#home .hljs-link,
    	#home .hljs-meta,
    	#home .hljs-selector-id,
    	#home .hljs-symbol,
    	#home .hljs-title {
    		color: #61aeee
    	}
    
    	#home .hljs-emphasis {
    		font-style: italic
    	}
    
    	#home .hljs-strong {
    		font-weight: 700
    	}
    
    	#home .hljs-link {
    		text-decoration: underline
    	}
    
    	#home .hljs-tag {
    		color: #abb2bf
    	}
    }
    
    /***************/
    
    /* 相册 */
    @media screen and (min-0px) {
    	.gallery {
    		background-color: var(--BlockColor);
    		text-align: center !important;
    		border-radius: 6px;
    		padding: 14px;
    		align-items: center;
    		font-size: 0;
    	}
    
    	.gallery br {
    		display: none;
    	}
    
    	.gallery .thumbTitle,
    	.galleryTitle {
    		font-size: var(--text5) !important;
    		color: var(--TextColor1);
    		padding: 0 0 14px 0;
    		margin: 0;
    		font-weight: normal;
    	}
    
    	.thumbDescription {
    		font-size: var(--text7) !important;
    		color: var(--TextColor2);
    		padding: 0 14px 14px 14px;
    		text-align: left;
    		border-bottom: 1px dashed var(--DividColor)
    	}
    
    	#GalleryThumbNailViewer1_ThumbNails {
    		margin: 0;
    		 100% !important;
    		/* border: 1px solid var(--DividColor);*/
    		/*background-color:var(--BlockColor);*/
    		padding: 14px !important;
    		/*background:green;*/
    		border-collapse: collapse;
    		border-spacing: 0;
    		cellspacing: 10 !important;
    		table-layout: fixed;
    		overflow: hidden;
    		overflow: hidden;
    	}
    
    	#GalleryThumbNailViewer1_ThumbNails td {
    		 100% !important;
    		overflow: hidden !important;
    		border: none !important;
    		padding: 0px !important;
    		background: var(--BlockColor) !important;
    	}
    
    	.divPhoto {
    		display: block !important;
    		align-item: center;
    		padding: 4px;
    		justify-content: center;
    		 100%;
    	}
    
    	#ViewPicture1_GalleryImage {
    		border-radius: 0 0 4px 4px;
    		padding: 20px;
    		 100%;
    		max- 100% !important;
    		background-color: var(--BlockColor);
    	}
    
    	#ViewPicture1_ReturnUrl,
    	#ViewPicture1_OriginalImage {
    		background-color: var(--BlockColor);
    		padding: 6px 10px;
    		margin: 0 14px;
    		display: inline-table;
    		line-height: 1.5;
    		color: var(--TextColor1);
    		border: 1px solid var(--DividColor);
    		border-radius: 4px;
    		text-align: center !important;
    		font-size: var(--text7);
    	}
    
    	#ViewPicture1_ReturnUrl:hover,
    	#ViewPicture1_OriginalImage:hover {
    		color: white;
    		border: 1px solid var(--ThemeColor);
    		background-color: var(--ThemeColor);
    	}
    }
    
    /***************/
    @media screen and (min-0px) {
    	.commentform {
    		display: grid;
    		padding: 0px !important;
    		margin: 0 !important;
    		grid-template-columns: 100%;
    	}
    
    	#divCommentShow:empty {
    		display: none;
    	}
    
    	#divCommentShow {
    		/*order:1;*/
    		margin: 0;
    		background-color: var(--BlockColor) !important;
    		padding: 0 14px !important;
    		/*border:1px solid var(--DividColor);*/
    		position: relative;
    		border-radius: 6px;
    		margin-bottom: 10px;
    	}
    
    	.new-comment-block {
    		padding: 8px 0;
    		border-bottom: 1px dashed var(--DividColor)
    	}
    
    	.new-comment-block:last-child {
    		border: none !important;
    	}
    
    	.new-comment-title {
    		color: var(--TextColor3);
    		font-size: var(--text7);
    		padding: 0;
    		display: flex;
    		margin-bottom: 8px;
    		flex-wrap: wrap;
    		position: relative;
    		background-color: var(--BlockColor);
    	}
    
    	.new-comment-title a:nth-child(2) {
    		top: 0 !important;
    		left: 8px !important;
    		position: absolute !important;
    	}
    
    	.new-comment-title span {
    		display: block !important;
    		 100% !important;
    		order: 2;
    	}
    
    	.new-comment-title a:nth-child(3) {
    		top: 0 !important;
    		right: 40px !important;
    		position: absolute !important;
    	}
    
    	.new-comment-title a:nth-child(4) {
    		top: 0 !important;
    		right: 0 !important;
    		position: absolute !important;
    	}
    
    	.comment_my_posted {
    		border-bottom: 1px dashed var(--DividColor);
    		padding: 6px 0;
    	}
    
    	.comment_my_posted:last-child {
    		border: none !important;
    	}
    
    	.bq_post_comment {
    		border: none !important;
    	}
    }
    
    /***************/
    /* #footer */
    @media screen and (min-0px) {
    
    	#footer,
    	#page_end_html {
    		text-align: center;
    		margin: 0 !important;
    		font-size: var(--text8);
    		color: var(--TextColor3);
    		/* background:#20242b; */
    		z-index: 2;
    	}
    
    	#footer {
    		padding-top:14px;
    		padding-bottom:14px;
    	}
    
    	#page_end_html {
    		/*padding-bottom:54px;*/
    	}
    }
    
    /***************/
    
    /* 附加 */
    @media screen and (min-0px) {
    	code.language-runCode {
    		display: none !important;
    	}
    
    	/* 代码复制 */
    	.clipboard-button {
    		position: absolute;
    		display: none;
    		z-index: 2;
    		right: 10px;
    		top: 32px;
    		border-radius: 4px;
    		font-size: var(--text9) !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;
    	}
    
    	/* 扩展 */
    	#blog_nav_shortcut:before {
    		content: "f022";
    		color: #fb7299;
    		margin-right: 6px;
    		font-family: FontAwesome;
    	}
    
    	#blog_nav_theme:before {
    		content: "f042";
    		margin-right: 6px;
    		color: #00c091;
    		font-family: FontAwesome;
    	}
    
    	#blog_nav_frieds:before {
    		content: "f0c1";
    		margin-right: 6px;
    		color: #f3a034;
    		font-family: FontAwesome;
    	}
    
    	#blog_nav_maintain:before {
    		content: "f0ad";
    		margin-right: 6px;
    		color: #ff5d47;
    		font-family: FontAwesome;
    	}
    
    	#blog_nav_cnblogs:before {
    		content: "f29a";
    		margin-right: 6px;
    		color: #3c9ed1;
    		font-family: FontAwesome;
    	}
    
    	/* 插入媒体 */
    	@media screen and (min- 0px) {
    
    		#cnblogs_post_body .video {
    			height: 0;
    			margin: 10px auto;
    			padding-bottom: 56.25%;
    			/* 16:9 */
    			position: relative;
    			 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;*/
    			 100%;
    			height: 100%;
    			z-index: 0;
    		}
    
    		#cnblogs_post_body .music {
    			height: 140px;
    			/*padding-bottom: 14.39%;*/
    			/* 16:9 */
    			position: relative;
    			 100%;
    		}
    
    		#cnblogs_post_body .music iframe {
    			position: absolute;
    			left: 0;
    			top: 0;
    			 100%;
    			height: 100%;
    		}
    
    		.imgtext {
    			font-size: var(--text7);
    			text-align: center;
    			color: var(--TextColor3);
    		}
    	}
    
    	/****** 信息提示 *******/
    	@media screen and (min- 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);
    			*/border: 1px solid #3162ae;
    			*/
    		}
    
    		.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;
    			 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- 0px) {
    		.details {
    			border: 1px solid var(--DividColor);
    			border-radius: 4px;
    			padding: .5em .5em 0;
    			margin: 10px 0;
    		}
    
    		.summary {
    			font-weight: bold;
    			margin: -.5em -.5em 0;
    			padding: .5em;
    			outline: none;
    			user-select: none;
    			background-color: var(--BackgroundColor);
    			border-radius: 4px;
    		}
    
    		summary {
    			outline: none;
    		}
    
    		.details[open] {
    			padding: .5em;
    		}
    
    		.details[open] .summary {
    			border-bottom: 1px solid var(--DividColor);
    			margin-bottom: .5em;
    			border-radius: 4px 4px 0 0;
    		}
    	}
    
    
    	/******** 导航目录 *********/
    	@media screen and (min- 0px) {
    /*
    		.scroller-offset1 a {
    			text-indent: 0 !important;
    		}
    
    		.scroller-offset2 a {
    			text-indent: 1.5em !important;
    		}
    
    		.scroller-offset3 a {
    			text-indent: 3em !important;
    		}
    
    		.scroller-offset4 {
    			text-indent: 4.5em !important;
    		}
    
    		.scroller-offset5 a {
    			text-indent: 6em !important;
    		}
    
    		.scroller-offset6 a {
    			text-indent: 7em !important;
    		}
    */
    		.nav li.active:before {
    			background: var(--ThemeColor) !important;
    		}
    
    		.nav .active a {
    			background-color: var(--BackgroundColor);
    			border-radius: 6px;
    			color: var(--ThemeColor);
    		}
    
    		.nav {
    			/*max-height: calc(100vh - 130px);*/
    			overflow-y: auto;
    			padding: 10px;
    			white-space: nowrap;
    		}
    
    		.nav li {
    			padding: 0px;
    			display: flex;
    			border-left: 1px solid var(--DividColor);
    			justify-content: center;
    			align-items: center;
    			line-height: 2.4;
    		}
    
    		.nav li:before {
    			content: "";
    			 8px;
    			height: 8px;
    			display: block;
    			border: 2px solid var(--BlockColor);
    			z-index: 2;
    			margin: 4px 4px 4px -6px;
    			border-radius: 8px;
    			background: var(--DividColor);
    		}
    
    		.nav {
    			position: relative;
    			padding: 14px 14px 14px 20px !important;
    		}
    
    		.nav:before,
    		.nav:after {
    			content: "";
    			left: 36px;
    			 6px;
    			height: 6px;
    			display: block;
    			margin: 4px 4px 4px -4px;
    			border-radius: 8px;
    			background: var(--BlockColor);
    			border: 2px solid var(--ThemeColor);
    		}
    
    		.nav li a {
    			text-overflow: ellipsis !important;
    			display: block !important;
    			flex: 1;
    			/*100%!important;*/
    			height: 100% !important;
    			white-space: nowrap;
    			margin-left: 4px;
    			overflow: hidden;
    			padding: 0 14px !important;
    		}
    	}
    
    	/*	@media screen and (max- 960px) {
    		#sidebar_scroller {
    			position: fixed !important;
    			top: 0 !important;
    			left: 0 !important;
    			right: 0 !important;
    			bottom: 0;
    			opacity: 1;
    			 auto !important;
    			max- 100%;
    			margin-bottom: 0 !important;
    			display: none;
    			max-height: 100vh;
    			padding-bottom: 40px;
    			overflow: auto;
    			border-radius: 0 !important;
    			border: none !important;
    			border-bottom: 1px solid #eee;
    			z-index: 60;
    		}
    	}
    */
    	/******** 移动端目录 *********/
    	@media screen and (min-961px) {
    		.mytoolbar {
    			display: none;
    		}
    	}
    
    	@media screen and (max- 960px) {
    		.mytoolbar {
    			position: fixed;
    			z-index: 62;
    			bottom: 0;
    			left: 0;
    			right: 0;
    			margin: 0 auto !important;
    			padding: 10px;
    			font-size: var(--textNormal);
    		}
    
    		.mytoolbar #toolbtn {
    			display: grid;
    			 fit-content;
    			grid-template-columns: auto auto auto;
    			margin: 0 auto !important;
    			padding: 0 !important;
    		}
    
    		.mytoolbar #toolbtn li a {
    			color: var(--TextColor2);
    			display: block !important;
    			 100%;
    			height: 100%;
    			line-height: 1;
    			padding: 8px 16px;
    			position: relative;
    			overflow: hidden;
    			display: flex;
    			align-items: center;
    			justify-content: center;
    		}
    
    		.closeContent:before {
    			content: "f05e";
    			position: absolute;
    			 100%;
    			height: 100%;
    			z-index: 43;
    			left: 0;
    			right: 0;
    			border-radius: 4px;
    			background: var(--BlockColor);
    			font-family: FontAwesome;
    		}
    
    		.mytoolbar #toolbtn li {
    			text-align: center;
    			margin: 0 10px;
    			background-color: var(--BlockColor);
    			box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.1);
    			border-radius: 4px;
    			overflow: hidden;
    			/* border: 1px solid var(--DividColor); */
    			border-radius: 4px;
    			list-style-type: none !important;
    			/*line-height: 18px;*/
    		}
    	}
    
    	/* 首页轮播 */
    	@media screen and (min- 0px) {
    
    		#slideContainer {
    			display: block;
    		}
    
    		#slideContainer img {
    			max- 100% !important;
    		}
    
    		.cl:after {
    			content: ".";
    			display: block;
    			height: 0;
    			clear: both;
    			visibility: hidden;
    		}
    
    		.cl {
    			zoom: 1;
    		}
    
    		.frame {
    			margin-bottom: 10px;
    			border: 1px solid #e1e1e1;
    			background: #FFF;
    		}
    
    		.title {
    			padding: 0 10px;
    			height: 32px;
    			font-size: 14px;
    			font-weight: 700;
    			line-height: 32px;
    			overflow: hidden;
    		}
    
    		.block {
    			margin: 10px 10px 0;
    		}
    
    		.temp {
    			margin: 1px;
    		}
    
    		.slideshow {
    			clear: both;
    			margin: 0;
    			padding: 0;
    		}
    
    		.slideshow li {
    			position: relative;
    			overflow: hidden;
    		}
    
    		.slideshow li div {
    			 100%;
    			height: 0;
    			padding-bottom: 42.85%;
    			background-position: center center;
    			background-repeat: no-repeat;
    			-webkit-background-size: cover;
    			-moz-background-size: cover;
    			background-size: cover;
    
    		}
    
    		.slideshow span.title {
    			position: absolute;
    			bottom: 0;
    			left: 0;
    			margin-bottom: 0;
    			 100%;
    			height: auto;
    			line-height: 32px;
    			font-size: 16px;
    			text-indent: 10px;
    		}
    
    		.slideshow span.title,
    		.slidebar li {
    			background: rgba(0, 0, 0, 0.3);
    			filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#30000000, endColorstr=#30000000);
    			color: #FFF;
    			overflow: hidden;
    		}
    
    		.slidebar li {
    			float: left;
    			margin-right: 1px;
    			 20px;
    			height: 20px;
    			line-height: 20px;
    			text-align: center;
    			font-size: 10px;
    			cursor: pointer;
    		}
    
    		.slidebar li.on {
    			background: rgba(255, 255, 255, 0.5);
    			filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#50FFFFFF, endColorstr=#50FFFFFF);
    			color: #000;
    			font-weight: 700;
    		}
    
    		.frame {
    			background: none;
    			border: 0px solid #fff;
    			margin-bottom: 0px;
    		}
    
    		.temp {
    			margin: 0;
    		}
    
    		.slidebar {
    			position: absolute;
    			top: 5px;
    			left: 4px;
    		}
    
    		.slidebar ul {
    			margin: 0;
    			padding: 0;
    		}
    
    		.slideshow span.title,
    		.slidebar li {
    			background: rgba(0, 0, 0, 0.3);
    			filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#90000000, endColorstr=#90000000);
    			color: #FFF;
    			overflow: hidden;
    		}
    
    		.slidebar li.on {
    			background: rgba(255, 255, 255, 0.5);
    			filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#90000000, endColorstr=#90000000);
    			color: #b62525;
    			font-weight: 700;
    		}
    
    		.slideshow SPAN.title {
    			text-indent: 0px;
    		}
    
    		.block {
    			margin: 0;
    			position: relative;
    		}
    
    		#frameHlicAe {
    			margin: 0px !important;
    			border: 0px !important;
    		}
    
    		.comiis_wrap960,
    		.comiis_wrapad {
    			margin: 0 auto;
    			background-color: var(--BlockColor);
    			border-radius: 6px;
    		}
    
    		.comiis_wrapad {
    			padding: 10px;
    			margin-bottom: 0px;
    			 100%;
    		}
    
    		.comiis_wrapad {
    			overflow: hidden;
    			/*  box-shadow: 0 0.05rem 1rem rgba(51, 51, 51, .05);*/
    			/*border: 1px solid var(--DividColor);*/
    		}
    
    		.comiis_wrapad img {
    			float: left;
    			margin-top: 0px;
    			 100%;
    		}
    
    		#slidesImgs li {
    			 100%;
    			height: auto;
    			display: none;
    		}
    
    		#slidesImgs img:hover {
    			transform: scale(1.4);
    		}
    
    		#slidesImgs img {
    			cursor: pointer;
    			transition: all 0.6s
    		}
    	}
    
    
    	/*解析*/
    	@media screen and (min- 0px) {
    
    		.__zy_bounce __zy_animated __zy_infinite {
    			display: none;
    		}
    
    		.div-box {
    			display: flex;
    			height: 40px;
    			line-height: 40px;
    			background: #fff;
    			text-align: center;
    			 100%;
    			margin-top: 20px;
    			background-color: var(--BlockColor);
    		}
    
    		.input-url {
    			flex: 1;
    			padding: 10px;
    			outline: none;
    			margin-left: 5px;
    			background: var(--BlockColor);
    			border: 1px solid var(--DividColor);
    			border-radius: 4px;
    			color: inherit;
    		}
    
    		.jiexi {
    			/* 100px;*/
    			background: var(--ThemeColor);
    			border: 1px solid var(--ThemeColor);
    			padding: 10px 20px;
    			border-radius: 4px;
    			margin: 0 4px 0 10px;
    			height: 40px;
    			outline: none;
    			color: #fff;
    		}
    
    		.jiexi:hover {
    			opacity: 0.9;
    		}
    
    		/* 下拉 */
    		.dropdown {
    			position: relative;
    			display: inline-block;
    			margin-right: 10px;
    		}
    
    		.dropdown-content {
    			display: none;
    			z-index: 9999;
    			/*margin-left: 10px;*/
    			position: absolute;
    			background-color: var(--BlockColor);
    			 90px;
    			color: inherit;
    			border-radius: 4px;
    			box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    		}
    
    		.dropdown:hover .dropdown-content {
    			display: block;
    		}
    
    		.dropdown-content p {
    			color: inherit;
    			display: block;
    			cursor: pointer;
    		}
    
    		.dropdown-content p:hover {
    			background-color: var(--BackgroundColor);
    		}
    	}
    
    	/* 悬浮按钮 */
    	@media screen and (min- 0px) {
    
    		.upToNav,
    		.toNav,.toComment,
    		#sidebar-toggler-float {
    			display: block;
    			 40px;
    			height: 40px;
    			background-color: rgba(0,0,0,.2);
    			/*border: 1px solid var(--DividColor);*/
    			border-radius: 4px;
    			line-height: 40px;
    			text-align: center;
    			color: #eee;
    			transition:all .2s;
    			cursor: pointer;
    			/*box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.12);*/
    		}
    
    		.upToNav:hover,
    		.toNav:hover,.toComment:hover,
    		#sidebar-toggler-float:hover {
    			/*background-color: var(--ThemeColor);*/
    			/*border: 1px solid var(--ThemeColor);*/
    			box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.2);
    			color: #fff;
    		}
    
    		.upToNav:before {
    			content: 'f077';
    			font-family: FontAwesome;
    			margin-left: 0px;
    		}
    
    		.toComment:before {
    			content: 'f075';
    			font-family: FontAwesome;
    			margin-left: 0px;
    		}
    		.toNav:before {
    			content: 'f078';
    			font-family: FontAwesome;
    			margin-left: 0px;
    		}
    
    		#sidebar-toggler-float:before {
    			content: 'f03b';
    			font-family: FontAwesome;
    		}
    
    		.float-btn li {
    			margin-bottom: 10px;
    			list-style-type: none;
    		}
    
    		.float-btn {
    			position: fixed;
    			right: 20px;
    			bottom: 20px;
    			z-index: 4;
    		}
    	}
    
    	/* 移动端侧边栏 */
    	@media screen and (max-960px) {
    		@keyframes fadeOut {
    			0% {
    				opacity: 1;
    				transform: translateY(-100h)
    			}
    
    			100% {
    				opacity: 0;
    				transform: translateY(0vh)
    			}
    		}
    
    		@keyframes fadeIn {
    			0% {
    				opacity: 0;
    				transform: translateY(100vh)
    			}
    
    			100% {
    				opacity: 1;
    				transform: translateY(0)
    			}
    		}
    
    		#showBtn {
    			display: block;
    			 60px;
    			height: 60px;
    			text-align: center;
    			position: absolute;
    			top: 0;
    			right: 60px;
    			line-height: 60px !important;
    			z-index: 50;
    		}
    
    		#showBtn:before {
    			content: "f01c";
    			font-family: FontAwesome;
    		}
    
    		#showBtn:hover,
    		#hideBtn:hover {
    			color: inherit;
    		}
    
    		#hideBtn:before {
    			content: "f078";
    			font-size: var(--text5);
    			display: block;
    			font-family: FontAwesome;
    		}
    
    		.sideBarMain_hide {
    			padding: 70px 14px 14px !important;
    			position: fixed;
    			bottom: -100vh;
    			left: 0 100%;
    			height: 100vh;
    			z-index: 10;
    			overflow-y: scroll;
    			background-color: var(--BackgroundColor);
    			transition: bottom 0.25s;
    		}
    
    		.sideBarMain_show {
    			bottom: 0;
    			position: fixed;
    			left: 0;
    			transition: bottom 0.25s;
    		}
    
    		.header-fixed {
    			position: fixed;
    			top: 0;
    			left: 0;
    			 100%;
    			background: var(--BlockColor);
    			z-index: 50;
    			box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.1);
    		}
    
    	}
    
    	@media screen and (min-0px) {
    
    		.feedbackListSubtitle_right,
    		.feedbackCon_right {
    			margin-left: 50px;
    		}
    
    		.comment_avatar {
    			 40px;
    			height: 40px;
    			border-radius: 100%;
    			border: 1px solid var(--DividColor);
    		}
    
    		.comment_avatar img {
    			box-shadow: 0 0 1px 0px rgba(51, 51, 51, .1) !important;
    		}
    	}
    }
    
    
    /********** 自定义matlab语法高亮 **********/
    .matlab-code {
    	white-space: pre;
    	overflow-x: auto;
    	font-size: var(--text8) !important;
    	color: #141418 !important;
    	background: #f4f6fa !important;
    }
    
    .matlab-code .hljs {
    	background-color: var(--BackgroundColor) !important;
    	margin: 0 !important;
    }
    
    .matlab-code .matlab-keyword,
    code .matlab-keyword {
    	color: #0000fe !important;
    }
    
    .matlab-code .matlab-string,
    code .matlab-string {
    	color: #a020ef !important;
    }
    
    .matlab-code .matlab-number,
    code .matlab-number {
    	color: #141418 !important;
    }
    
    .matlab-code .matlab-bracket,
    code .matlab-bracket {
    	color: #141418 !important;
    }
    
    .matlab-code .matlab-comment,
    code .matlab-comment {
    	color: #228b22 !important;
    }
    
    .matlab-code .matlab-comment span,
    code .matlab-comment span {
    	color: #228b22 !important;
    	font-weight: normal !important;
    }
    
    
    
    /***********/
    
    /*.cnblogs_code pre:before{
    content:""!important;
    display:none!important;
    }*/
    .cnblogs_code_hide span {
    	font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    	font-size: var(--text8) !important;
    	background: transparent !important;
    	color: #cfcecf !important;
    }
    
    .syntaxhighlighter {
    	padding: 30px 10px 20px !important;
    	position: relative;
    	background-color: #2d3748 !important;
    	font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    	border: none !important;
    	border-radius: 4px;
    	font-size: var(--text8) !important;
    	margin-top: 10px;
    	 100%;
    	display: block !important;
    	overflow: hidden !important;
    }
    
    .syntaxhighlighter:before {
    	content: "";
    	display: block;
    	 8px;
    	position: absolute;
    	top: 12px;
    	left: 8px;
    	height: 8px;
    	background-color: #f56565;
    	border-radius: 9999px;
    	box-shadow: 10px 0 0 0 #fbd38d, 20px 0 0 0 #48bb78
    }
    
    .syntaxhighlighter {
    	/*margin:0!important;*/
    	position: relative;
    	overflow-x: auto;
    }
    
    .code code {
    	margin: 0 !important;
    }
    
    .syntaxhighlighter:after {
    	content: attr(class);
    	position: absolute;
    	top: 6px;
    	display: block;
    	max- 100%;
    	text-align: right;
    	overflow: hidden;
    	text-indent: -142px;
    	color: #cfcecf !important;
    	right: 8px;
    }
    
    .line code {
    	margin: 0 !important;
    	padding: 0 !important;
    }
    
    .syntaxhighlighter table th,
    .syntaxhighlighter table tr,
    .syntaxhighlighter tbody,
    .syntaxhighlighter table td {
    	border: none !important;
    	background-color: transparent !important;
    }
    
    .syntaxhighlighter table {
    	display: block !important;
    	overflow-x: auto !important;
    }
    
    .syntaxhighlighter .gutter .line {
    	border-right-color: #cfcecf !important;
    	font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    	font-size: var(--text8) !important;
    	/*line-height:1.84!important;*/
    }
    
    .syntaxhighlighter .code {
    	margin: 0 !important;
    	display: block !important;
    	  !important;
    	overflow-x: auto !important;
    	padding: 0 !important;
    }
    
    .syntaxhighlighter .code .line {
    	/*line-height:1.8!important;*/
    	font-size: var(--text8) !important;
    }
    
    .syntaxhighlighter .line.alt1,
    .syntaxhighlighter .line.alt2 {
    	background-color: transparent !important;
    }
    
    .syntaxhighlighter .comments {
    	color: #5c6370 !important;
    	font-style: italic !important
    }
    
    .syntaxhighlighter .keyword {
    	color: #c678dd !important
    }
    
    .syntaxhighlighter .plain {
    	color: #abb2bf !important
    }
    
    .syntaxhighlighter .functions,
    .syntaxhighlighter .color1 {
    	color: #c678dd !important;
    }
    
    .syntaxhighlighter .value {
    	color: #d19a66 !important;
    }
    
    .syntaxhighlighter .string {
    	color: #98c379 !important
    }
    
    /**************/
    .blogTitleSearch {
    	margin: 10px auto;
    	max- 360px;
    	 auto;
    	z-index: 1
    }
    
    .searchInput {
    	height: 40px;
    	border-radius: 60px;
    	padding: 4px 20px;
    	border: 1px solid #fff;
    	background: white;
    	color: #333;
    	outline: none !important;
    	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .searchSubmit {
    	height: 40px;
    	padding: 4px 8px;
    	line-height: 1 !important;
    	background: var(--ThemeColor);
    	border-radius: 4px;
    	color: #fff;
    	border: none !important
    }
    
    
    #green_channel a[data-fancybox="gallery"] {
    	display: none !important;
    }
    
    .OwO-logo {
    	height: 30px !important;
    	 30px !important;
    	display: flex !important;
    	align-items: center;
    	justify-content: center;
    	font-size: var(--text7) !important;
    	line-height: 30px !important;
    }
    
    .OwO-body {
    	bottom: 30px !important;
    	animation: open 0.3s
    }
    
    @keyframes open {
    	0% {
    		opacity: 0;
    		transform: translateY(50%)
    	}
    
    	100% {
    		opacity: 1;
    		transform: translateY(0)
    	}
    }
    
    .ui-popup {
    	max- calc(100vw - 28px) !important;
    }
    
    .art-dialog-content,
    .alert-dialog-grid,
    .alert-dialog-header,
    .alert-dialog-body,
    .alert-dialog-footer {
    	max- calc(100vw - 70px) !important;
    }
    
    
    .art-dialog-title {
    	max- 100px !important;
    }
    
    .art-dialog-content iframe {
    	overflow-y: auto%important;
    }
    
    .fancybox-image {
    	max- 100% !important;
    	margin: 0 auto !important;
    }
    
    .contact {
    	display: flex;
    	align-items: center;
    	justify-content: center;
    }
    
    .contact span {
    	 30px;
    	height: 30px;
    	margin: 4px 8px 4px;
    	display: flex;
    	align-items: center;
    	justify-content: center;
    	box-sizing: border-box;
    	border-radius: 30px;
    	border: 1px solid var(--TextColor3);
    }
    
    #wechat:before {
    	content: "f1d6";
    	font-family: FontAwesome;
    }
    
    #qq:before {
    	content: "f1d7";
    	font-family: FontAwesome;
    }
    
    #email:before {
    	content: "f0e0";
    	font-family: FontAwesome;
    }
    
    /********* loading ************/
    div[style="color:green;margin:50px 0;font-weight:normal;"] {
    	background: var(--BlockColor) !important;
    	color: var(--TextColor2) !important;
    	text-align: center;
    	margin: 0 !important;
    	padding: 10px;
    	border-radius: 6px;
    }
    
    div[style="color:green;margin:50px 0;font-weight:normal;"]:before {
    	content: "f110";
    	margin-right: 10px;
    	font-family: FontAwesome;
    }
    
    
    /************  全屏 ***************/
    .fullscreen {
    	 100%;
    	height: 100%;
    	background-image:url(https://area.sinaapp.com/bingImg/);
    	position: fixed;
    	background-position: center;
    	background-size: cover;
    	overflow-y: auto;
    	top: -100%;
    	left: 0;
    	z-index: 10;
    	transition: 0.3s transform;
    }
    .fullscreen-open{
    	transform: translateY(100%);
    transition: 0.3s transform;
    }
    .screen-close {
    	margin-right:0;
    	float:right;
    	position: absolute;
    	 48px;
    	height: 48px;
    	top:0;
    	right:0;
    	line-height: 48px;
    	text-align: center;
    	z-index: 12;
    }
    
    .screen-close:before {
    	content: "f00d";
    	color:#fff;
    	font-family: FontAwesome;
    	cursor: pointer;
    }
    
    .screen-open:before {
    	content: "f022";
    	font-family: FontAwesome;
    }
    .screen-container{
    	100%;
    	height: 100%;
    	display: flex;
    	flex-wrap:wrap;
    	padding: 14px;
    	align-items:center;
    	justify-content: center;
    	color: #fff;
    	background: rgba(0, 0, 0, 0.4);
    }
    .screen-calendar,.screen-words{
    	100%;
    	height:fit-content;
    	text-align:center;
           word-break:break-all;
            white-space:wrap;
    }
    #calendar-day{
    	font-size:36px;
    	font-weight:bold;
    	line-height:1.6;
    	margin:0 auto;
    }
    #calendar-year:after{
    	content:" . ";
    }
    
    #words-eng{
    	font-size:var(--text5);
    	font-weight:bold;
    	line-height:1.6;
    	font-family:sans-serif;
    	margin:24px 0 8px;
    }
    .fixed{
    	overflow:hidden!important;
    }
    
    .header-hide{
    	transform: translateY(-100%);
    	transition: 0.3s transform;
    }
    
    .float-btn-hide{
    	transform: translateX(200%);
    	transition: 0.3s transform;
    }
    
    #header,.float-btn{
    	transition: 0.3s transform;
    }
    

    3.侧边栏公告

    <script>
    	jQuery(function() {
    		pure({
    			favicon: "https://images.cnblogs.com/cnblogs_com/liaowuhen1314/1749764/o_200424090007ac124cae4ef12f9891b4bebc9b1654c8.jpg",
    			avatar: "https://images.cnblogs.com/cnblogs_com/liaowuhen1314/1578120/o_200424071728ac124cae4ef12f9891b4bebc9b1654c8.jpg",
    			setContact: {
    				enable: true,
    				data: {
    					wechat: 'https://images.cnblogs.com/cnblogs_com/liaowuhen1314/1749764/o_200424085713weixin.jpg',
    					qq: '1181785734',
    					email: '1181785734@qq.com'
    				}
    			},
    			news: {
    				enable: true,
    				data: [
    					'嘿,朋友,在当下这段时间,我们生命当中有了彼此,感谢遇见!',
    					'不知道为什么,我觉得你和别人很不一样',	
    					'希望你接下来的日子里,没有狗血情节,也没有崎岖波折,平平淡淡,顺顺当当,健健康康,喜乐安好!',
    					'不要因为别人的一句话,而夺走你今天的快乐',
    					'你的评论和鼓励像一碗粥,可能不够粘稠,却足以温暖我的心',
                                            '亲爱的朋友,我宁愿看到你伤心愤怒的样子,也不愿意看见你假装高兴',
    					'说了这么多,就想告诉你,我很在乎你,不是因为我执着,而是因为你值得',
    					'你可能想问我过的怎么样?我过得还可以,不好不坏,不惊不喜,一切只是还可以',
    					'一年四季会有很多意外,但最迷人的还是遇见了你',
    					'花开可要欣赏,然后就去远行。唯有不等花谢,才能记得花红',
    					'我的酒量,大概就是三瓶啤酒或者和半杯白酒,亦或者你的微微一笑',
    					'晚安这个词,好像变成了一种礼貌,睡不睡谁知道呢,反正话题是终止了……',
    					'话说多了比较难堪,不如沉默来得可爱, 就这样吧,谢谢你呀 !',
    				]
    			},
    			banner: {
    				enable: false,
    				data: [{
    						url: "https://news.ifeng.com/c/special/7tPlDSzDgVk",
    						img: "https://x0.ifengimg.com/ucms/2020_07/7C3B11DC8FF81E8DE68FD4A610F6CB12A0D04ED6_w1125_h483.png",
    						title: "疫情实时动态"
    					},
    					{
    						url: "https://www.cnblogs.com/gshang/p/biliTheme.html",
    						img: "https://img2018.cnblogs.com/blog/1489774/202001/1489774-20200104194952221-337450693.png",
    						title: "博客主题——Bili2.0"
    					},
    					{
    						url: "https://www.cnblogs.com/gshang/p/tools.html",
    						img: "https://www.kanjiantu.com/images/2019/07/05/post169393a677253c679.png",
    						title: "实用工具分享"
    					},
    					{
    						url: "https://www.cnblogs.com/gshang/p/movie.html",
    						img: "https://www.kanjiantu.com/images/2019/07/05/post4242f1ce89576c2f3.png",
    						title: "动画电影分享"
    					},
    					{
    						url: "https://www.cnblogs.com/gshang/p/11185613.html",
    						img: "https://img2018.cnblogs.com/blog/1489774/201909/1489774-20190923190114426-2061049622.png",
    						title: "VIP视频解析"
    					},
    					{
    						url: "https://www.cnblogs.com/gshang/p/11135154.html",
    						img: "https://www.kanjiantu.com/images/2019/07/05/post2b40b83305f79d463.png",
    						title: "常用网站集合"
    					}
    				]
    			},
    			sidebarContent: true
    		})
    	})
    </script>
    <script src="https://static.tctip.com/tctip-1.0.0.min.js"></script>
    <script>
        new tctip({
            top: '20%',
            button: {
                id: 9,
                type: 'dashang',
            },
            list: [
              {
                  type: 'alipay',
                  qrImg: 'https://images.cnblogs.com/cnblogs_com/liaowuhen1314/1749764/o_200424090734alipay.jpg'
              }, {
                  type: 'wechat',
                  qrImg: 'https://images.cnblogs.com/cnblogs_com/liaowuhen1314/1749764/o_200424090750wechat_pay.png'
              }
            ]
        }).init()
    </script>
    
    
    <!--代码放置于</body>上方-->
    
    <script>
    !function(){
    function n(n,e,t){
    return n.getAttribute(e)||t
    }
    
    function e(n){
    return document.getElementsByTagName(n)
    }
    
    function t(){
    var t=e("script"),o=t.length,i=t[o-1];
    return{
    l:o,z:n(i,"zIndex",-1),o:n(i,"opacity",.5),c:n(i,"color","0,0,0"),n:n(i,"count",99)
    }
    }
    
    function o(){
    a=m.width=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,
    c=m.height=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight
    }
    
    function i(){
    r.clearRect(0,0,a,c);
    var n,e,t,o,m,l;
    s.forEach(function(i,x){
    for(i.x+=i.xa,i.y+=i.ya,i.xa*=i.x>a||i.x<0?-1:1,i.ya*=i.y>c||i.y<0?-1:1,r.fillRect(i.x-.5,i.y-.5,1,1),e=x+1;e<u.length;e++)n=u[e],
    null!==n.x&&null!==n.y&&(o=i.x-n.x,m=i.y-n.y,
    l=o*o+m*m,l<n.max&&(n===y&&l>=n.max/2&&(i.x-=.03*o,i.y-=.03*m),
    t=(n.max-l)/n.max,r.beginPath(),r.lineWidth=t/2,r.strokeStyle="rgba("+d.c+","+(t+.2)+")",r.moveTo(i.x,i.y),r.lineTo(n.x,n.y),r.stroke()))
    }),
    x(i)
    }
    
    var a,c,u,m=document.createElement("canvas"),
    d=t(),l="c_n"+d.l,r=m.getContext("2d"),
    x=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||
    function(n){
    window.setTimeout(n,1e3/45)
    },
    w=Math.random,y={x:null,y:null,max:2e4};m.id=l,m.style.cssText="position:fixed;top:0;left:0;z-index:"+d.z+";opacity:"+d.o,e("body")[0].appendChild(m),o(),window.onresize=o,
    window.onmousemove=function(n){
    n=n||window.event,y.x=n.clientX,y.y=n.clientY
    },
    window.onmouseout=function(){
    y.x=null,y.y=null
    };
    
    for(var s=[],f=0;d.n>f;f++){
    var h=w()*a,g=w()*c,v=2*w()-1,p=2*w()-1;s.push({x:h,y:g,xa:v,ya:p,max:6e3})
    }
    
    u=s.concat([y]),
    setTimeout(function(){i()},100)
    }();
    </script>
    

    4.页首HTML

    增加鼠标点击特效、雪花飘落特效;

    durationFall:调控雪花速度;
    minSize:雪花最小尺寸;
    maxSize:雪花最大尺寸;
    newOn:密集程度;
    
    <style>
    	@-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);
    		 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;
    		 180px;
    		height: 180px;
    		-webkit-animation: ball-scale-multiple 1s 0s linear infinite;
    		animation: ball-scale-multiple 1s 0s linear infinite;
    	}
    
    
    
    	#loading {
    		opacity: 1;
    		 100vw;
    		height: 100vh;
    		position: fixed;
    		z-index: 999999999999999;
    		display: flex;
    		align-items: center;
    		justify-content: center;
    		background: var(--BlockColor);
    	}
    </style>
    
    <div id="loading">
    	<div class="ball-scale-multiple">
    		<div></div>
    		<div></div>
    		<div></div>
    	</div>
    </div>
    
    
    <script type="text/javascript">
    /* 鼠标特效 */
    var a_idx = 0;
    jQuery(document).ready(function($) {
        $("body").click(function(e) {
            var a = new Array("❤富强❤","❤民主❤","❤文明❤","❤和谐❤","❤自由❤","❤平等❤","❤公正❤","❤法治❤","❤爱国❤","❤敬业❤","❤诚信❤","❤友善❤");
            var $i = $("<span></span>").text(a[a_idx]);
            a_idx = (a_idx + 1) % a.length;
            var x = e.pageX,
            y = e.pageY;
            $i.css({
                "z-index": 999999999999999999999999999999999999999999999999999999999999999999999,
                "top": y - 20,
                "left": x,
                "position": "absolute",
                "font-weight": "bold",
                "color": "rgb("+~~(255*Math.random())+","+~~(255*Math.random())+","+~~(255*Math.random())+")"
            });
            $("body").append($i);
            $i.animate({
                "top": y - 180,
                "opacity": 0
            },
            1500,
            function() {
                $i.remove();
            });
        });
    });
    </script>
    
    
    <script type="text/javascript">
    (function($){
        $.fn.snow = function(options){
        var $flake = $('<div id="snowbox" />').css({'position': 'absolute','z-index':'9999', 'top': '-50px'}).html('&#10052;'),
        documentHeight     = $(document).height(),
        documentWidth    = $(document).width(),
        defaults = {
            minSize        : 5,
            maxSize        : 25,
            newOn        : 500,
            flakeColor    : getRandomColor() /* 此处可以定义雪花颜色,若要白色可以改为#FFFFFF */
        },
        options    = $.extend({}, defaults, options);
        var interval= setInterval( function(){
        var startPositionLeft = Math.random() * documentWidth + 200,
        startOpacity = 0.2 + Math.random(),
        sizeFlake = options.minSize + Math.random() * options.maxSize,
        endPositionTop = documentHeight - 200,
        endPositionLeft = startPositionLeft - 500 + Math.random() * 500 + 200,
        durationFall = documentHeight * 50 + Math.random() * 5000; /*调控雪花速度,数值越大越慢*/
        $flake.clone().appendTo('body').css({
            left: startPositionLeft,
            opacity: startOpacity,
            'font-size': sizeFlake,
            color: getRandomColor()
        }).animate({
            top: endPositionTop,
            left: endPositionLeft,
            opacity: 0.2
        },durationFall,'linear',function(){
            $(this).remove()
        });
        }, options.newOn);
        };
    })(jQuery);
    $(function(){
        $.fn.snow({ 
            minSize: 10, /* 定义雪花最小尺寸 */
            maxSize: 35,/* 定义雪花最大尺寸 */
            newOn: 2000  /* 定义密集程度,数字越小越密集 */
        });
    });
    var getRandomColor = function(){
      return '#'+Math.floor(Math.random()*16777215).toString(16); 
    }
    </script>
    

    5.页脚HTML代码

    <script type="text/javascript" src="https://files.cnblogs.com/files/gshang/51La.min.js"></script>
    <script type="text/javascript" src="https://cdn.bootcss.com/fancybox/3.5.7/jquery.fancybox.js"></script>
    <script type="text/javascript" src="https://blog-static.cnblogs.com/files/gshang/highlightMATLABCode.js"></script>
    <script type="text/javascript" src="https://cdn.bootcss.com/clipboard.js/2.0.4/clipboard.min.js"></script>
    <script type="text/javascript" src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
    <script src="//unpkg.com/element-ui@2.13.0/lib/index.js"></script>
    <script type="text/javascript" src="https://blog-static.cnblogs.com/files/gshang/gshang.owo.2020.01.05.1.js"></script>
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery-scrollTo/2.1.2/jquery.scrollTo.js"></script>
    <script type="text/javascript" src="https://blog-static.cnblogs.com/files/gshang/sidebarContent.js"></script>
    <script src="https://cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.js"></script>
    <script src="https://blog-static.cnblogs.com/files/ctgu/perfect-scrollbar.min.js"></script>
    
    <script>
    	function my_zzk_go_enter(n) {
    		if (n.keyCode === 13) return blogSearch(), !1
    	}
    
    	function blogSearch() {
    		var n = encodeURIComponent("blog:" + currentBlogApp + " " + document.getElementById("blog-search").value);
    		window.location = "http://zzk.cnblogs.com/s?w=" + n
    	}
    
    
    	;
    	jQuery(function() {
    
    		//  侧边
    		$(document).ajaxComplete(function(event, xhr, option) {
    			if (option.url.indexOf("TopLists") > -1) {
    				setTimeout(function() {
    					$('#leftcontentcontainer .catListTitle').on('click', function() {
    						//$subnavToggle = jQuery(this);
    						$('#leftcontentcontainer').find('.catListTitle').not(this).next().slideUp();
    						var prevTotal = $(this).parents().prevAll().find('.catListTitle').length - 1;
    						$(this).next().slideToggle(200, function() {
    							$('#sideBarMain').scrollTop($('#blog-calendar').outerHeight() + $('#sidebar_news').outerHeight() + 42 *
    								prevTotal);
    						});
    					});
    				}, 300)
    			}
    		})
    
    
    		// 设置评论区头像
    		$(document).ajaxComplete(function(event, xhr, option) {
    			//评论头像
    			if (option.url.indexOf("GetComments") > -1) {
    				setTimeout(function() {
    
    					owoEmoji();
    					$.each($(".feedbackItem"), function(index, ele) {
    						var self = $(ele);
    						var obj = self.find(".blog_comment_body");
    						var id = obj.attr("id").split("_")[2];
    						var blog = self.find('a[id^="a_comment_author"]');
    						var blogUrl = blog.attr("href");
    						var imgSrc = $("#comment_" + id + "_avatar").html() || "http://pic.cnblogs.com/avatar/simple_avatar.gif";
    						self.prepend('<a href="' + blogUrl + '"><img src="' + imgSrc +
    							'" style="float:left;" class="comment_avatar"></a');
    						$(".feedbackListSubtitle").addClass("feedbackListSubtitle_right");
    						$(".feedbackCon").addClass("feedbackCon_right");
    					});
    
    					myscroll();
    
    				}, 300)
    			}
    		})
    
    		// 引入owo插件
    		owoEmoji = function() {
    			$(".commentbox_footer").before(
    				'<div class="OwO" onclick="load_face(this)"><div class="OwO-logo"><i class="fa fa-smile-o" aria-hidden="true"></i></div></div>'
    			);
    		}
    
    		// 表情按钮按下
    		load_face = function(b) {
    			var c = new OwO({
    				logo: '<i class="fa fa-smile-o" aria-hidden="true"></i>',
    				container: document.getElementsByClassName("OwO")[0],
    				target: document.getElementById("tbCommentBody"),
    				api: "https://cdn.jsdelivr.net/gh/gshang2018/home/gshang.owo.json",
    				position: "up",
    				 "100%",
    				maxHeight: "250px"
    			});
    			b.classList.add("OwO-open");
    			b.onclick = null
    		}
    
    		$('#page_begin_html').append(
    			'<div class="fullscreen"><div class="screen-close"></div><div class="screen-container"><div class="screen-content">' +
    			'<div class="screen-calendar"><p id="calendar-day"></p><div><span id="calendar-year"></span><span id="calendar-month"></span></div></div>' +
    			'<div class="screen-words"><p id="words-eng"></p><p id="words-ch"></p></div></div>' +
    			'</div></div>'
    		);
    
    		$.ajax({
    			url: "https://open.iciba.com/dsapi/",
    			type: "GET",
    			dataType: 'jsonp',
    			success: function(data) {
    				var date = new Date(data.dateline);
    				$("#calendar-day").text(date.toDateString().split(" ")[2]);
    				$("#calendar-month").text(date.toDateString().split(" ")[1]);
    				$("#calendar-year").text(date.toDateString().split(" ")[3]);
    				$("#words-eng").text(data.content);
    				$("#words-ch").text(data.note);
    				$('.fullscreen').css('background-image', 'url(' + data.picture4 + ')');
    			}
    		});
    
    
    		$('.screen-close').click(function() {
    			$('.fullscreen').toggleClass('fullscreen-open');
    			$('body').toggleClass('fixed');
    			$('.fullscreen').toggleClass('fixed');
    		})
    
    		//loading消去
    		$("#loading").fadeToggle('fast');
    
    
    		// 平滑滚动控制
    		myscroll = function() {
    			$('a[href*=\#],area[href*=\#]').click(function() {
    				if (location.pathname.replace(/^//, '') == this.pathname.replace(/^//, '') && location.hostname == this.hostname) {
    					var $target = $(this.hash);
    					$target = $target.length && $target || $('[name=' + this.hash.slice(1) + ']');
    					if ($target.length) {
    						var targetOffset = $target.offset().top;
    						$('html,body').animate({
    								scrollTop: targetOffset - 64
    							},
    							500);
    						return false;
    					}
    				}
    			})
    		}
    
    
    		// 初始化主题
    		$(function() {
    			if ($.cookie('theme') == '') {
    				$.cookie('theme', 'light', {
    					expires: 30
    				});
    			} else {
    				if ($.cookie('theme') == 'dark') {
    					$('.theme').addClass('theme-dark');
    					document.documentElement.setAttribute('theme', 'dark');
    				}
    			}
    		})
    
    		// 运行脚本
    		$('code.language-runCode').each(function() {
    			window.eval($(this).text());
    			$(this).parent('pre').remove();
    		});
    
    		// 侧边目录
    		if ($("#topics").length > 0) {
    			//先获取第一个h标签, 之后循环时作为上一个h标签
    			var $ph = $('#cnblogs_post_body :header:eq(0)');
    			if ($ph.length > 0) {
    				//     $('#sideBarMain').remove();
    				//设置层级为1
    				$ph.attr('offset', '1');
    				//添加导航目录的内容
    				$('#leftcontentcontainer').prepend(
    					'<div id="sidebar_scroller" class="catListPostArchive sidebar-block"><h3 class="catListTitle">导航目录</h3><ul class="nav"></ul></div>'
    				);
    				//取当前边栏的宽度
    				$('#sidebar_scroller').css('width', ($('#sideBar').width()) + 'px');
    				//让导航目录停留在页面顶端
    				//  $('#sidebar_scroller').stickUp();
    				//遍历文章里每个h标签
    				$('#cnblogs_post_body :header').each(function(i) {
    					var $h = $(this);
    					//设置h标签的id, 编号从0开始
    					$h.attr('id', 'scroller-' + i);
    					//比上一个h标签层级小, 级数加1
    					if ($h[0].tagName > $ph[0].tagName) {
    						$h.attr('offset', parseInt($ph.attr('offset')) + 1);
    					} //比上一个h标签层级大, 级数减1
    					else if ($h[0].tagName < $ph[0].tagName) {
    
    						var h = parseInt($h[0].tagName.substring(1));
    						var ph = parseInt($ph[0].tagName.substring(1));
    
    						var offset = parseInt($ph.attr('offset')) - (ph - h);
    						if (offset < 1) {
    							offset = 1
    						};
    						$h.attr('offset', offset);
    					} //和上一个h标签层级相等时, 级数不变
    					else {
    						$h.attr('offset', $ph.attr('offset'));
    					}
    					//添加h标签的目录内容
    					$('#sidebar_scroller ul').append('<li class="scroller-offset' + $h.attr('offset') + '"><a href="#scroller-' +
    						i +
    						'">' + $h.text() + '</a></li>');
    					//最后设置自己为上一个h标签
    					$ph = $h;
    				});
    
    				//开启滚动监听, 监听所有在.nav类下的li
    				$('body').scrollspy({
    					offset: 100
    				});
    				myscroll();
    				$(document).ajaxComplete(function(event, xhr, option) {
    					$('#sidebar_news').css('padding', '0');
    					$('#blog-calendar,#blog-news').remove()
    				})
    			}
    		}
    
    		$('.nav').slideToggle();
    
    		//添加元素
    		$('#header').append(
    			'<a class="blogTitle-btn screen-open" href="javascript:openScreen()" title="打开全屏"/>' +
    			'<a class="blogTitle-btn theme" href="javascript:changeTheme()" title="切换主题"/>' +
    			'<div id="sidebar-toggler"><div>'
    		);
    		$('#navigator').prepend('<div class="blogTitle-btn nav-home" id="nav-home-btn" />');
    		$('#blog_nav_contact').parent().after(
    			'<li><a id="blog_nav_wz" class="menu" href="https://wz.cnblogs.com/"> 我的收藏</a></li>' +
    			'<li><a id="blog_nav_home" class="menu" href="https://home.cnblogs.com/"> 园子</a></li>' +
    			'<li><a id="blog_nav_inbox" class="menu" href="https://msg.cnblogs.com/inbox"> 短消息</a></li>'
    		);
    		$('#blogTitle h1,#lnkBlogLogo').attr('title', $('#blogTitle h2').text());
    		$('#navigator').append(
    			'<div class="navList-search">' +
    			'<input type="text" id="blog-search" onkeydown="return my_zzk_go_enter(event);" class="search-input">' +
    			'<div onclick="blogSearch()" type="button" class="search-submit"/>' +
    			'</div>'
    		);
    
    
    		if (isLogined) {
    			$('#navList').append(
    				'<div class="navList-divider"></div>' +
    				'<li><a id="blog_nav_exit" class="menu" href="javascript:void(0)" onclick="return logout();"> 退出登录</a></li>'
    			);
    		} else {
    			$('#navList').append(
    				'<div class="navList-divider"></div>' +
    				'<li><a id="blog_nav_login" class="menu" href="https://account.cnblogs.com/signin">登录</a></li>'
    			);
    		}
    
    		/*评论模块的滚动隐藏效果*/
    		var windowTop = 0; //初始话可视区域距离页面顶端的距离
    		$(window).scroll(function() {
    			var scrolls = $(this).scrollTop(); //获取当前可视区域距离页面顶端的距离
    			if (scrolls >= windowTop) { //当scrolls>windowTop时,表示页面在向下滑动
    				//需要执行隐藏导航的操作
    					$('#header').addClass('header-hide');
    					$('.float-btn').addClass('float-btn-hide');
    				windowTop = scrolls;
    			} else {
    				$('#header').removeClass('header-hide');
    				$('.float-btn').removeClass('float-btn-hide');
    				windowTop = scrolls;
    			}
    		});
    		
    		
    		//导航下拉
    		$("#nav-home-btn").click(function(event) {
    			$('#navList').slideToggle('fast');
    			$(document).one('click', function() {
    				$('#navList').hide();
    			});
    			event.stopPropagation();
    		});
    		$('#navList').one('click', function(event) {
    			event.stopPropagation();
    		});
    
    
    
    		//侧边收起
    		$("#sidebar-toggler").bind('click', function() {
    			$('#sideBar').toggleClass('sideBar-open');
    			$("body").toggleClass('lyear-layout-sidebar-close');
    			$('#sidebar-toggler').toggleClass('sidebar-toggler-reverse');
    			if ($('.lyear-mask-modal').length == 0) {
    				$('<div class="lyear-mask-modal"></div>').prependTo('body');
    			} else {
    				$('.lyear-mask-modal').remove();
    			}
    			$('.lyear-mask-modal').on('click', function() {
    				$(this).remove();
    				$('#sideBar').toggleClass('sideBar-open');
    				$('body').toggleClass('lyear-layout-sidebar-close');
    			});
    		});
    
    		// 悬浮按钮
    
    		$('#page_end_html').prepend(
    			'<ul class="float-btn"><li><a href="#top" class="upToNav"></a></li><li><div id="sidebar-toggler-float"></div></li><li><a href="#comment_form_container" class="toComment"></a></li><li><a href="#footer" class="toNav"></a></li></ul>'
    		);
    		myscroll();
    
    
    		$("#sidebar-toggler-float").bind('click', function() {
    			$('#sideBar').toggleClass('sideBar-open');
    			$("body").toggleClass('lyear-layout-sidebar-close');
    			$('#sidebar-toggler-float').toggleClass('sidebar-toggler-reverse');
    			if ($('.lyear-mask-modal').length == 0) {
    				$('<div class="lyear-mask-modal"></div>').prependTo('body');
    			} else {
    				$('.lyear-mask-modal').remove();
    			}
    			$('.lyear-mask-modal').on('click', function() {
    				$(this).remove();
    				$('#sideBar').toggleClass('sideBar-open');
    				$('body').toggleClass('lyear-layout-sidebar-close');
    			});
    		});
    
    
    		// 博文辅助功能
    		if ($("#topics") != null) {
    
    			// 表格滚动
    			$("table").each(function() {
    				$(this).css('cssText', '100%!important;display:table;');
    				$(this).wrapAll('<div class="tablebox"></div>');
    				$(".tablebox").css('overflow', 'auto');
    			});
    
    			// 新窗口打开
    			$('#cnblogs_post_body a[href^="http"]').each(function() {
    				$(this).attr('target', '_blank');
    			});
    
    
    			// 代码复制
    
    			for (i = 0; i <= $('pre').length; i++) {
    				$('pre').eq(i).wrapAll('<div class="copyItem"></div>');
    				$(".copyItem").css('position', 'relative');
    				$('pre').eq(i).before('<div class="clipboard-button" id="copy_btn_' + i +
    					' " data-clipboard-target="#copy_target_' +
    					i + '"title="复制"></div>');
    				$('pre').eq(i).attr('id', 'copy_target_' + i);
    			}
    			var clipboard = new ClipboardJS('.clipboard-button');
    			clipboard.on('success', function(e) {
    				e.trigger.innerHTML = '成功';
    				setTimeout(function() {
    					e.trigger.innerHTML = '';
    				}, 2 * 1000);
    				e.clearSelection();
    			});
    			clipboard.on('error', function(e) {
    				e.trigger.innerHTML = '失败';
    				setTimeout(function() {
    					e.trigger.innerHTML = '';
    				}, 2 * 1000);
    				e.clearSelection();
    			});
    
    
    		}
    
    		// fancybox
    		$(".cnblogs-markdown img").each(function() {
    			var element = document.createElement("a");
    			$(element).attr("data-fancybox", "gallery");
    			$(element).attr("href", $(this).attr("src"));
    			$(this).wrap(element);
    		})
    
    	});
    
    	// 设置网页favicon图标
    	setFavicon = function(favicon) {
    		$('head').append($('<link rel="shortcut icon" type="image/x-icon"/>').attr('href', favicon));
    	}
    
    	// 设置滚动通知
    	setNews = function(news) {
    		str1 = "";
    		for (var i = 0; i < news.length; i++) {
    			str1 = str1 + '<li class="newstext"> <i class="fa fa-volume-up fa-2x" aria-hidden="true"></i>' + news[i] +
    				' </li>';
    		}
    		str = '<div class="newscard"><ul>' + str1 + '</ul></div>';
    		$('.forFlow').prepend(str);
    		if (news.length > 1) {
    			setInterval('autoScroll(".newscard")', 6000);
    		}
    	}
    	autoScroll = function(obj) {
    		$(obj).find("ul").animate({
    			marginTop: "-40px"
    		}, 500, function() {
    			$(this).css({
    				marginTop: "0px"
    			}).find("li:first").appendTo(this);
    		})
    	}
    
    	// 设置首页轮播
    	setBanner = function(banner) {
    		var str = '';
    		var str1 = '';
    		var str2 = '';
    		for (var i = 0; i < banner.length; i++) {
    			str1 = str1 + '<li>' + '<a href="' + banner[i].url + '" target=" _blank">' +
    				'<div  style="background-image:url(' + banner[i].img + ')"></div>' +
    				'</a>' +
    				'<span class="title">' + banner[i].title + '</span>' +
    				'</li>';
    		}
    		for (var i = 2; i <= banner.length; i++) {
    			str2 = str2 + '<li>' + i + '</li>';
    		}
    		str = '<div class="comiis_wrapad" id="slideContainer">' +
    			'<div id="frameHlicAe" class="frame cl">' +
    			'<div class="temp"></div>' +
    			'<div class="block">' +
    			'<div class="cl">' +
    			'<ul class="slideshow" id="slidesImgs">' +
    			str1 +
    			'</ul>' +
    			'</div>' +
    			'<div class="slidebar" id="slideBar">' +
    			'<ul>' +
    			'<li class="on">1</li>' +
    			str2 +
    			'</ul>' +
    			'</div>' +
    			'</div>' +
    			'</div>' +
    			'</div>';
    
    		SlideShow = function(c) {
    			var a = document.getElementById("slideContainer"),
    				f = document.getElementById("slidesImgs").getElementsByTagName("li"),
    				h = document.getElementById("slideBar"),
    				n = h.getElementsByTagName("li"),
    				d = f.length,
    				c = c || 3000,
    				e = lastI = 0,
    				j, m;
    
    			b = function() {
    				m = setInterval(function() {
    					e = e + 1 >= d ? e + 1 - d : e + 1;
    					g()
    				}, c)
    			}
    
    			k = function() {
    				clearInterval(m)
    			}
    
    			g = function() {
    				f[lastI].style.display = "none";
    				n[lastI].className = "";
    				f[e].style.display = "block";
    				n[e].className = "on";
    				lastI = e
    			}
    			f[e].style.display = "block";
    			a.onmouseover = k;
    			a.onmouseout = b;
    			h.onmouseover = function(i) {
    				j = i ? i.target : window.event.srcElement;
    				if (j.nodeName === "LI") {
    					e = parseInt(j.innerHTML, 10) - 1;
    					g()
    				}
    			};
    			b()
    		};
    
    		if ($('.day').length > 0) {
    			$('.forFlow').prepend($(str)) //首页轮播
    			SlideShow(3000);
    		}
    	}
    
    
    	// 教学日历
    	getStudyCalendar = function() {
    
    		var start = ["2019-02-25", "2019-09-02", "2020-02-10", "2020-08-31", "2021-02-22", "2021-08-30", "2022-02-21",
    			"2022-08-22", "2023-02-06"
    		];
    		var end = ["2019-07-12", "2020-01-10", "2020-07-03", "2021-01-22", "2021-07-02", "2022-01-21", "2022-07-08",
    			"2023-01-06", "2023-06-23"
    		];
    
    		between = function(time1, time2) {
    			var time = Date.parse(new Date());
    			var date1 = Date.parse(new Date(time1.replace(/-/g, '/')));
    			var date2 = Date.parse(new Date(time2.replace(/-/g, '/')));
    			if (date1 <= time && date2 >= time) {
    				return true;
    			}
    			return false;
    		}
    
    		day = function(s1) {
    			s1 = new Date(s1.replace(/-/g, "/"));
    			s2 = new Date(); //当前日期
    			var days = s2.getTime() - s1.getTime();
    			var time = parseInt(days / (1000 * 60 * 60 * 24)) + 1;
    			return day = Math.ceil(time / 7);
    		}
    
    
    		study = function(s1) {
    			s1 = new Date(s1.replace(/-/g, "/"));
    			s2 = new Date(); //当前日期
    			var days = s2.getTime() - s1.getTime();
    			var time = parseInt(days / (1000 * 60 * 60 * 24)) + 1;
    			return time;
    		}
    
    		for (var i = 0; i < start.length; i++) {
    			if (between(start[i], end[i])) {
    				document.getElementById("week").innerText = "第" + day(start[i]) + "教学周";
    				document.getElementById("day").innerText = "第" + study(start[i]) + "天";
    				break;
    			}
    			if (i == start.length) {
    				document.getElementById("week").innerText = "现在是假期";
    				document.getElementById("day").innerText = "现在是假期";
    			}
    		}
    	}
    
    	// 疫情时间
    	illDay = function() {
    		var s1 = '2020-01-23';
    		s1 = new Date(s1.replace(/-/g, "/"));
    		s2 = new Date();
    		var days = s2.getTime() - s1.getTime();
    		var time = parseInt(days / (1000 * 60 * 60 * 24));
    		$("#illDay").html(time);
    	}
    
    
    	// 切换主题
    	changeTheme = function() {
    		if (document.documentElement.hasAttribute('theme')) {
    			document.documentElement.removeAttribute('theme');
    			$('.theme').removeClass('theme-dark');
    			$.cookie('theme', 'light', {
    				expires: 30
    			});
    		} else {
    			$('.theme').addClass('theme-dark');
    			document.documentElement.setAttribute('theme', 'dark');
    			$.cookie('theme', 'dark', {
    				expires: 30
    			});
    		}
    	}
    
    	// 设置联系方式
    	setContact = function(contact) {
    		$("#footer").append(
    			'<div class="contact">' +
    			'<a href="http://wpa.qq.com/msgrd?v=3&uin=' + contact.qq + '&site=qq&menu=yes"><span id="wechat"></span></a>' +
    			'<a href="' + contact.wechat + '"><span id="qq"></span></a>' +
    			'<a href="mailto:' + contact.email + '"><span id="email"></span></a>' +
    			'</div>'
    		)
    	}
    
    	function openScreen() {
    		$('.fullscreen').toggleClass('fullscreen-open');
    		$('body').toggleClass('fixed');
    		$('.fullscreen').toggleClass('fixed');
    	}
    
    	// 主题调用
    	function pure(obj) {
    		// 设置网页图标
    		if (obj.favicon != null) {
    			setFavicon(obj.favicon);
    		}
    		if (obj.avatar != null) {
    			document.documentElement.style.setProperty("--Avatar", 'url(' + obj.avatar + ')');
    		}
    		//设置滚动通知 
    		if (obj.news.enable == true) {
    			setNews(obj.news.data);
    		}
    		// 设置首页轮播
    		if (obj.banner.enable == true) {
    			setBanner(obj.banner.data);
    		}
    		//设置联系方式
    		if (obj.setContact.enable == true) {
    			setContact(obj.setContact.data);
    		}
    		highlightMATLABCode();
    		//getStudyCalendar();
    		//illDay()
    	}
    </script>
    

    参考:

    https://www.cnblogs.com/lbczzvv/p/7660474.html
    https://www.cnblogs.com/gaoht/p/9141045.html
    https://www.cnblogs.com/yizhangheka/p/12737647.html

  • 相关阅读:
    .NET深入解析LINQ框架(四:IQueryable、IQueryProvider接口详解)
    .NET简谈组件程序设计之(初识NetRemoting)
    .NET简谈组件程序设计之(delegate与event关系)
    .NET简谈组件程序设计之(上下文与同步域)
    .NET简谈特性(代码属性)
    .NET可逆框架设计
    使用KTM(内核事务管理器)进行文件事务处理
    .NET面向上下文、AOP架构模式(实现)
    .NET简谈设计模式之(装饰者模式)
    .NET对存储过程的调用抽象封装
  • 原文地址:https://www.cnblogs.com/liaowuhen1314/p/12788551.html
Copyright © 2011-2022 走看看