主页美化备份log
主页美化备份log
页面定制 CSS 代码
/* 导入符号字体 */
@import url(https://cdn.jsdelivr.net/npm/font-awesome/css/font-awesome.min.css) screen and (min-width:0px);
@import url(https://at.alicdn.com/t/font_438759_kmvtb0te1nd.css) screen and (min-width:0px);
#mainContent .infocard p{
margin:0;
word-break:break all;
}
/*html{ filter: grayscale(100%);}*/
#live2dcanvas {
border: 0 !important;
}
#Snow {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99999;
/* background: rgba(125,137,95,0.1);*/
pointer-events: none;
}
textarea[title=js] {
display: none;
}
/* 设置全局变量 */
@media screen and (min-width:0px) {
:root {
/* 主题色 */
--ThemeColor: #00a1d6;
/*--ThemeColor: #c7443e;*/
/*中国红 */
/* 字体色 */
--TextColor1: #4d4d4d;
--TextColor2: #5f5f6b;
--TextColor3: #97979f;
/* 分割线色 */
--DividColor: #e7eaf0;
--BlockColor: #fff;
/* 板块色 */
--BackgroundColor: #f4f6fa;
/* 辅助色 */
--AidColor1: #fa7d00;
--AidColor2: #ff2e2e;
--AidColor3: #36c67d;
/* 字体级别 */
--text1: 28px;
--text2: 26px;
--text3: 24px;
--text4: 22px;
--text5: 20px;
--text6: 18px;
--textNoraml: 16px;
--text7:14px;
/* 背景图 */
--BackgroundImg: url("https://img2018.cnblogs.com/blog/1514412/202002/1514412-20200216161409460-789346769.jpg");
/*--BackgroundImg: url("https://api.dujin.org/bing/1920.php");*/
--BackgroundImg2: url("https://img2018.cnblogs.com/blog/1489774/201912/1489774-20191228125539538-625693297.jpg");
--Avatar: url("https://img2018.cnblogs.com/blog/1514412/202002/1514412-20200216161138515-208290219.jpg");
/* 背景图透明层 */
--ImgShadow: rgba(0, 0, 0, 0.29);
--screen: 100vh;
--screen1: 20vh;
/* 微信二维码 */
--WeChat: url(https://img2018.cnblogs.com/blog/1514412/202002/1514412-20200216161657345-1951739613.jpg);
}
}
/* 设置全局样式 */
@media screen and (min-width:0px) {
/* 去广告 */
#ad_c1,
#ad_c2,
#ad_t2,
#under_post_news,
.c_ad_block {
display: none
}
* {
box-sizing: border-box;
}
body {
background-color: var(--BackgroundColor);
margin: 0;
padding: 0;
font-size:var(--textNoraml);
color: var(--TextColor1);
letter-spacing:0px;
transition: all 3800ms ease-in-out;
-webkit-transition: all 300ms ease-in-out;
}
a {
text-decoration: none;
color: inherit;
}
a:hover {
color: var(--ThemeColor)
}
img {
max-width: 100%;
}
}
/* 总体布局 */
@media screen and (min-width:0px) {
#home {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
font-size: var(--textNoraml) !important;
}
#home #header {
min-width: 1200px;
position:relative;
margin-bottom: 20px;
display: grid;
grid-template-columns: 100%;
}
#home #main {
width: 100%;
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-gap: 20px;
grid-template-columns: 860px 320px;
}
#home #footer {
margin-top: 20px;
width: 100%;
text-align: center;
}
}
/* 导航栏 */
@media screen and (min-width:0px) {
#header {
background-color: var(--BlockColor);
box-shadow: 0 0.05rem 1rem rgba(51, 51, 51, .05);
}
#header:before {
content: "";
width: auto;
height: var(--screen);
background-image: var(--BackgroundImg);
background-position: center;
background-size: cover;
display: block;
text-align: center;
z-index: 1;
}
#header:after {
content: "";
display: block;
height: var(--screen);
width: 100%;
left: 0;
right: 0;
top: 0;
position: absolute;
background-image: url("https://img2018.cnblogs.com/blog/1646268/201908/1646268-20190806130657359-228955661.png");
background-color: var(--ImgShadow);
z-index: 2;
}
#header #blogTitle {
z-index: 9999;
position: absolute;
left: 0;
right: 0;
top: var(--screen1);
text-align: center;
}
#header #lnkBlogLogo {
padding: 20px 0;
}
#header #blogLogo {
background-image: var(--Avatar);
width: 80px;
height: 80px;
background-size: contain;
border-radius: 50%;
border: 4px solid #fff;
}
#header #blogTitle h1,
#header #blogTitle h1 a {
margin: 0;
padding: 0;
color: #fff;
text-decoration: none;
}
#header #blogTitle h2 {
margin: 0;
padding: 0 10px 20px;
font-size: var(--textNormal);
color: #fff;
min-height: 60px;
line-height: 1.5;
-webkit-box-orient: vertical;
-webkit-line-clamp: 5;
text-overflow: ellipsis;
overflow: hidden;
font-weight: normal;
box-sizing: content-box !important;
}
#blogTitle #lnkBlogLogo,
#blogTitle h1,
#blogTitle h2 {
z-index: 2;
position: relative;
}
#navigator {
width: 100%;
height: 60px;
padding: 0 20px;
max-width: 1200px;
margin: 0 auto;
display: flex;
z-index: 9999;
}
#navigator #navList {
margin: 0;
padding: 0;
overflow-x: auto;
overflow-y: hidden;
flex: auto;
display: inline-flex;
}
#navigator .blogStats {
float: right;
line-height: 60px;
}
#navigator #navList li {
list-style-type: none;
float: left;
margin: 0;
padding: 0;
display: inline-block;
}
#navigator #navList li a {
line-height: 60px;
height: 60px;
color: inherit;
text-decoration: none;
margin-right: 20px;
white-space: nowrap;
display: block;
/*transition: all 300ms ease;
-webkit-transition: all 300ms ease;*/
position: relative;
}
#navList li a:after {
content: "";
width: 0;
margin: auto;
display: block;
height: 3px;
background-color: var(--ThemeColor);
position: absolute;
bottom: 0;
left: 0;
right: 0;
transition: all 3800ms ease;
-webkit-transition: all 300ms ease;
}
#navList li a:hover:after {
width: 100%;
transition: all 300ms ease;
-webkit-transition: all 300ms ease;
}
#blog_nav_sitehome:before {
content: "\e62d";
color: #fb7299;
/*font-size:20px;*/
font-family: iconfont;
}
#blog_nav_myhome:before {
content: "\e626";
color: #00c091;
/*font-size:20px;*/
font-family: iconfont;
}
#blog_nav_newpost:before {
content: "\e628";
color: #3c9ed1;
/*font-size:20px;*/
font-family: iconfont;
}
#blog_nav_contact:before {
content: "\e624";
color: #f3a034;
/*font-size:20px;*/
font-family: iconfont;
}
#blog_nav_rss:before {
content: "\e62a";
color: #ff5d47;
/*font-size:20px;*/
font-family: iconfont;
}
#blog_nav_admin:before {
content: "\e627";
color: #23c9ed;
/*font-size:20px;*/
font-family: iconfont;
}
/* 扩展 */
#blog_nav_shortcut:before {
content: "\f022";
color: #fb7299;
margin-right: 6px;
font-family: FontAwesome;
}
#blog_nav_theme:before {
content: "\f1de";
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 (max-width:767px) {
#home #header {
width: 100%;
min-width: 100% !important;
}
#navigator .blogStats {
display: none;
}
}
/* 主要内容 */
@media screen and (min-width:0px) {
#main {
display: flex;
}
#main #mainContent {
grid-column-start: 1;
grid-column-end: 2;
}
#main #sideBar {
width: 320px;
}
}
@media screen and (max-width:767px) {
#home #main {
width: 100%;
max-width: 100% !important;
margin: 0 auto;
display: grid;
grid-gap: 20px;
grid-template-columns: 100%;
grid-template-rows: auto;
}
}
/* 首页博文 */
@media screen and (min-width:0px) {
#mainContent .day {
padding: 20px;
background-color: var(--BlockColor);
border-radius: 4px;
margin-bottom: 20px;
border: 1px solid var(--DividColor);
}
.day .dayTitle {
line-height: 2.4;
width: 100%;
font-size: var(--text6);
color: var(--TextColor1);
}
.dayTitle a:before {
content: '\f073';
font-family: FontAwesome;
margin-right: 10px;
margin-left: 0px;
}
.day .postTitle {
border-top: 1px solid var(--DividColor);
margin-top: 10px;
padding: 10px 0;
}
.day .postTitle .postTitle2 {
word-wrap: break-word;
word-break: break-all;
font-size: var(--text4);
line-height: 1.5;
padding-left: 10px;
border-left: 4px solid var(--ThemeColor);
}
.day .postTitle .postTitle2:hover {
color: var(--ThemeColor);
}
.day .postCon .c_b_p_desc {
color: var(--TextColor2);
line-height: 24px;
padding: 2px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 5;
text-overflow: ellipsis;
overflow: hidden;
word-break:break-all;
text-align:justify;
}
.day .postDesc {
word-break: keep-all;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: var(--TextColor3);
line-height: 1.8;
}
.day .c_b_p_desc .desc_img {
height: 110px;
margin: 0 10px 10px 20px;
width: 190px;
object-fit: cover;
box-shadow: 0 0 0 1px var(--DividColor);
border-radius: 4px;
}
.day .c_b_p_desc .c_b_p_desc_readmore {
display: none;
}
}
@media screen and (max-width:360px) {
.c_b_p_desc {
display: grid !important;
}
.c_b_p_desc .desc_img {
height: 110px;
margin: 0 0 10px 0 !important;
width: 100% !important;
object-fit: cover;
box-shadow: 0 0 0 1px var(--DividColor);
border-radius: 4px;
order: -1;
}
}
/* 图像加载失败 */
@media screen and (min-width:0px) {
.desc_img,
.postBody img {
text-align: center;
overflow: hidden;
background-color: var(--BackgroundColor);
position: relative;
}
.desc_img:before,
.postBody img:before {
content: '\f03e'' 图片加载失败!';
background-color: var(--BackgroundColor);
font-family: FontAwesome;
line-height: 110px;
font-size: 16px;
color: var(--TextColor2);
}
.desc_img:after,
.postBody img:after {
content: '';
width: 20px;
height: 20px;
position: absolute;
top: 0;
left: 0;
font-size: 16px;
background-color: var(--BackgroundColor);
}
}
/* 侧边栏 */
@media screen and (min-width:0px) {
#sidebar_news,
#blog-calendar,
#sidebar_toptags,
#sidebar_imagecategory,
.sidebar-block,
#sidebar_recentcomments,
#sidebar_topcommentedposts {
background-color: var(--BlockColor);
padding: 10px 20px;
border-radius: 4px;
margin-bottom: 20px;
width: 320px;
border: 1px solid var(--DividColor);
}
#sideBar h3 {
line-height: 2.4;
width: 100%;
margin: 0px;
font-size: var(--text6);
color: var(--TextColor1);
border-bottom: 1px solid var(--DividColor);
}
.sidebar-block ul {
list-style-type: none;
padding: 0 !important;
line-height: 2;
}
.sidebar-block ul a:hover {
color: var(--ThemeColor)
}
}
@media screen and (max-width:767px) {
/* 侧边*/
#sideBar,
#sidebar_news,
#blog-calendar,
#sidebar_toptags,
#sidebar_imagecategory,
.sidebar-block,
#sidebar_recentcomments,
#sidebar_topcommentedposts {
width: 100% !important;
}
}
/* 公告 */
@media screen and (min-width:0px) {
#sidebar_news #profile_block {
line-height: 2;
}
#sidebar_news #p_b_follow {
background-color: var(--ThemeColor);
border-radius: 4px;
margin: 10px 0;
line-height: 3;
text-align: center;
color: #fff;
}
#sidebar_news #p_b_follow:hover,
#sidebar_news #p_b_follow a:hover {
opacity: 0.8;
color: #fff !important;
}
/* 定制公告栏音乐插件的样式 */
.aplayer {
font-family: Arial,Helvetica,sans-serif; /*音乐插件字体*/
margin: 0px; /*音乐插件与公告栏左边的边距,0px就是直接抵到公告栏左边的边上*/
box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
border-radius: 2px;
overflow: hidden;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
line-height: normal;
}
}
/* 日历 */
@media screen and (min-width:0px) {
/* 日历面板 */
#blog-calendar {
background-color: var(--BlockColor);
padding: 10px 20px;
border-radius: 4px;
margin-bottom: 20px;
}
/* 日历翻页 */
.CalTitle {
line-height: 2.4;
font-size: var(--text6);
color: var(--TextColor1);
}
/* 日历星期 */
.CalDayHeader {
line-height: 2.4;
font-size: var(--text6);
font-weight: normal;
color: var(--TextColor2);
border-bottom: 0px solid var(--DividColor);
}
/* 日历每天 */
.CalTodayDay {
height: 34px !important;
width: 34px !important;
}
/* 日历今天 */
.CalTodayDay u,
.CalTodayDay {
color: #fff !important;
background-color: var(--ThemeColor);
line-height: 2.15;
border-radius: 50%;
}
#blog-calendar u {
color: var(--ThemeColor);
font-weight: 600;
text-decoration: none !important;
height: 22px;
position: relative;
}
.CalOtherMonthDay {
color: var(--TextColor3);
}
#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 {
line-height: 2;
}
.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;
}
}
/* 搜索 */
@media screen and (min-width:0px) {
#sidebar_search_box .div_my_zzk {
display: flex;
margin: 10px 0;
}
#sidebar_search_box .input_my_zzk {
padding: 6px;
outline: none;
background-color: var(--BackgroundColor);
border: 1px solid var(--DividColor);
vertical-align: middle;
height: 40px;
color:var(--TextColor1);
flex: auto;
border-radius: 4px;
}
#sidebar_search_box .input_my_zzk:hover {
border: 1px solid var(--ThemeColor);
}
input.btn_my_zzk {
color: #fff;
background-color: var(--ThemeColor);
border-color: var(--ThemeColor);
border: 1px;
padding: 8px;
border-radius: 4px;
height: auto !important;
}
input.btn_my_zzk:hover {
outline: none;
opacity: 0.8;
}
}
/* 常用链接 */
@media screen and (min-width:0px) {
#sidebar_shortcut ul li:nth-child(1):before {
content: "\f1fc";
font-family: FontAwesome;
}
#sidebar_shortcut ul li:nth-child(2):before {
content: "\f075";
font-family: FontAwesome;
}
#sidebar_shortcut ul li:nth-child(3):before {
content: "\f0c0";
font-family: FontAwesome;
}
#sidebar_shortcut ul li:nth-child(4):before {
content: "\f27a";
font-family: FontAwesome;
}
#sidebar_shortcut ul li:nth-child(5):before {
content: "\f02c";
font-family: FontAwesome;
}
}
/* 最新随笔 */
@media screen and (min-width:0px) {
#sidebar_recentposts ul li:before {
content: "\f017";
font-family: FontAwesome;
}
}
/* 我的标签 */
@media screen and (min-width:0px) {
.catListTag ul li:before {
content: "\f02c";
font-family: FontAwesome;
}
#sidebar_toptags li {
display: inline-block;
margin-right: 20px;
}
}
/* 积分与排名 */
@media screen and (min-width:0px) {
.liScore:before {
content: "\f005";
font-family: FontAwesome;
}
.liRank:before {
content: "\f091";
font-family: FontAwesome;
}
}
/* 随笔分类 */
@media screen and (min-width:0px) {
#sidebar_postcategory ul li:before {
content: "\f02d";
font-family: FontAwesome;
}
}
/* 随笔/文章档案 */
@media screen and (min-width:0px) {
#sidebar_postarchive ul li:before {
content: "\f073";
font-family: FontAwesome;
}
#sidebar_articlearchive ul li:before {
content: "\f073";
font-family: FontAwesome;
}
}
/* 相册 */
@media screen and (min-width:0px) {
#sidebar_imagecategory ul li:before {
content: "\f03e";
font-family: FontAwesome;
}
}
/* 我的链接 */
@media screen and (min-width:0px) {
#sidebar_links1575513 ul li:before {
content: "\f121";
font-family: FontAwesome;
}
}
/* 最新评论 */
@media screen and (min-width:0px) {
.recent_comment_title:before {
content: "\f27a";
font-family: FontAwesome;
margin-right: 10px;
margin-left: 0px;
}
.recent_comment_author {
border-bottom: 1px solid var(--DividColor);
padding: 10px 0;
margin-bottom: 10px;
}
.recent_comment_body {
background-color: var(--BackgroundColor);
padding: 10px;
border-radius: 4px;
}
}
/* 阅读排行榜 */
@media screen and (min-width:0px) {
#sidebar_topviewedposts ul li:before {
content: "\f06e";
font-family: FontAwesome;
}
}
/* 评论排行榜 */
@media screen and (min-width:0px) {
#sidebar_topcommentedposts ul li:before {
content: "\f075";
font-family: FontAwesome;
}
}
/* 推荐排行榜 */
@media screen and (min-width:0px) {
#sidebar_topdiggedposts ul li:before {
content: "\f164";
font-family: FontAwesome;
}
}
/* 页脚 */
@media screen and (min-width:0px) {
#footer {
width: 100%;
text-align: center;
color: var(--TextColor3);
}
}
/* 翻页 */
@media screen and (min-width:0px) {
#nav_next_page {
margin-bottom: 0px;
}
.topicListFooter {
margin: 0px !important;
}
.topicListFooter,
.pager {
line-height: 3;
overflow-x: auto;
display: block !important;
}
.pager {
/*padding: 20px;*/
}
.topicListFooter a,
.Pager a,
.pager a {
background-color: var(--BlockColor);
padding: 6px 10px;
display: inline-table;
line-height: 1.5;
color: var(--TextColor1);
border: 1px solid var(--DividColor);
border-radius: 4px;
}
.pager .current {
padding: 6px 10px !important;
display: inline-table;
line-height: 1.5;
color: white !important;
border: 1px solid var(--ThemeColor) !important;
background-color: var(--ThemeColor) !important;
border-radius: 4px;
}
.topicListFooter a:hover,
.Pager a:hover,
.pager a:hover {
color: white;
border: 1px solid var(--ThemeColor);
background-color: var(--ThemeColor);
}
.pager,
.Pager {
font-size: 16px;
color: var(--TextColor2);
}
#myposts .pager {
text-align: center !important;
}
}
/* 我的随笔 我的评论 我的参与 最新评论 我的标签 */
@media screen and (min-width:0px) {
.PostListTitle {
line-height: 1.5;
z-index: 2;
position: relative;
font-size: var(--text1);
color: #fff;
padding: 40px 20px;
border-radius: 4px;
text-align: center;
margin: 0;
letter-spacing: 10px;
background-image: var(--BackgroundImg2);
background-position: center;
background-size: cover;
overflow: hidden;
}
.PostListTitle:after {
content: "";
display: block;
height: 100%;
width: 100%;
left: 0;
right: 0;
top: 0;
position: absolute;
background-color: var(--ImgShadow);
z-index: -1;
}
#myposts {
margin: 0 !important;
}
.PostList {
background-color: var(--BlockColor);
padding: 20px;
border-radius: 4px;
margin: 0 0 20px 0 !important;
display: grid;
grid-template-columns: 100%;
border: 1px solid var(--DividColor);
}
.PostList .postTitl2 {
font-size: var(--text4);
line-height: 1.5;
color: var(--TextColor1);
margin-bottom: 10px;
}
.postTitl2 a {
padding-left: 10px;
border-left: 4px solid var(--ThemeColor);
}
.postTitl2 a:hover {
color: var(--ThemeColor);
}
.PostList .postDesc2 {
color: var(--TextColor3);
font-size: 16px !important;
line-height: 3;
order: 1;
}
.PostList .postText2 {
color: var(--TextColor2);
word-break: break-all;
font-size: var(--text6) !important;
line-height: 1.5;
}
#taglist_main {
margin: 0 !important;
}
#taglist_main #taglist_title {
line-height: 2.4;
z-index: 2;
position: relative;
font-size: var(--text1);
color: #fff;
padding: 40px 20px;
border-radius: 4px;
text-align: center;
margin: 0;
letter-spacing: 10px;
background-image: var(--BackgroundImg2);
background-position: center;
background-size: cover;
overflow: hidden;
}
#taglist_main #taglist_title:after {
content: "";
display: block;
height: 100%;
width: 100%;
left: 0;
right: 0;
top: 0;
position: absolute;
background-color: var(--ImgShadow);
z-index: -1;
}
#taglist_main #taglist {
background-color: var(--BlockColor);
padding: 20px;
border-radius: 4px;
margin-top: 20px;
border: 1px solid var(--DividColor);
}
#MyTag1_dtTagList {
border-collapse: separate !important;
border-spacing: 20px;
display: grid !important;
grid-template-columns: 100%;
}
#MyTag1_dtTagList tbody {
display: grid;
grid-template-columns: 100%;
grid-gap: 10px;
}
#MyTag1_dtTagList tr {
display: grid;
grid-template-columns: auto auto auto auto;
grid-gap: 10px;
}
#taglist td {
width: auto;
text-align: center;
background-color: var(--BackgroundColor);
border-radius: 40px;
border: 1px solid var(--BackgroundColor);
}
#taglist td:hover {
border: 1px solid var(--ThemeColor);
color: var(--ThemeColor);
}
}
/*我的标签*/
@media screen and (max-width:360px) {
#MyTag1_dtTagList tr {
grid-template-columns: auto auto !important;
}
}
/* 随笔分类 随笔档案 文章档案 */
@media screen and (min-width:0px) {
.entrylistTitle {
line-height: 2.4;
z-index: 2;
position: relative;
font-size: var(--text1);
color: #fff;
padding: 40px 20px;
border-radius: 4px;
text-align: center;
margin: 0;
letter-spacing: 10px;
background-image: var(--BackgroundImg2);
background-position: center;
background-size: cover;
}
.entrylistTitle:after {
content: "";
display: block;
height: 100%;
width: 100%;
left: 0;
right: 0;
top: 0;
position: absolute;
background-color: var(--ImgShadow);
z-index: -1;
}
.entrylistDescription {
color: var(--TextColor2);
line-height: 1.8;
background-color: var(--BlockColor);
padding: 20px;
border-radius: 4px;
margin: 20px 0;
}
.entrylistDescription img {
margin: 10px 0;
width: 100%;
border-radius: 4px;
}
.entrylistItem {
background-color: var(--BlockColor);
padding: 20px;
border-radius: 4px;
margin-bottom: 20px;
}
.entrylistItem .entrylistPosttitle {
font-size: var(--text4);
line-height: 1.5;
margin: 10px 0;
color: var(--TextColor1);
}
.entrylistItemTitle {
padding-left: 10px;
border-left: 4px solid var(--ThemeColor);
}
.entrylistItemTitle:hover {
color: var(--ThemeColor);
}
.entrylistPostSummary .c_b_p_desc {
color: var(--TextColor2);
line-height: 24px;
padding: 2px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 5;
text-overflow: ellipsis;
overflow: hidden;
}
.entrylistPostSummary .c_b_p_desc .desc_img {
height: 110px;
margin: 0 10px 10px 20px;
width: 190px;
object-fit: cover;
box-shadow: 0 0 0 1px var(--DividColor);
border-radius: 4px;
}
.entrylistItemPostDesc {
color: var(--TextColor3);
line-height: 1.8;
margin: 0;
}
.entrylistPostSummary .c_b_p_desc_readmore {
display: none;
}
}
/* 相册 */
@media screen and (min-width:0px) {
.gallery .thumbTitle {
line-height: 2.4;
z-index: 2;
position: relative;
font-size: var(--text1);
color: #fff;
padding: 40px 20px;
border-radius: 4px;
text-align: center;
margin: 0;
letter-spacing: 10px;
background-image: var(--BackgroundImg2);
background-position: center;
background-size: cover;
}
.gallery .thumbTitle:before {
content: "";
display: block;
height: 100%;
width: 100%;
left: 0;
right: 0;
top: 0;
position: absolute;
background-color: var(--ImgShadow);
z-index: -1;
}
#GalleryThumbNailViewer1_ThumbNails {
background-color: var(--BlockColor);
border-radius: 4px;
margin-top: 20px;
border-collapse: separate !important;
border-spacing: 20px;
width: 100%;
border: 1px solid var(--DividColor);
}
#GalleryThumbNailViewer1_ThumbNails td {
width: 25%;
overflow: hidden;
}
#GalleryThumbNailViewer1_ThumbNails img {
cursor: pointer;
transition: all 0.6s
}
#GalleryThumbNailViewer1_ThumbNails td:hover {
box-shadow: 6px 11px 41px -28px #a99de7;
}
#GalleryThumbNailViewer1_ThumbNails img:hover {
transform: scale(1.4);
}
.gallery {
font-size: 0;
text-align: center
}
.gallery br {
display: none;
}
.gallery .galleryTitle {
padding: 20px;
background-color: var(--BlockColor);
border-radius: 4px 4px 0 0;
font-size: var(--textNoraml);
}
#ViewPicture1_GalleryImage {
border-radius: 0 0 4px 4px;
padding: 20px;
width: 100%;
max-width: 100% !important;
background-color: var(--BlockColor);
}
#ViewPicture1_ReturnUrl,
#ViewPicture1_OriginalImage {
background-color: var(--BlockColor);
padding: 6px 10px;
display: inline-table;
line-height: 1.5;
color: var(--TextColor1);
border: 1px solid var(--DividColor);
border-radius: 4px;
font-size: var(--textNoraml);
margin: 20px;
}
#ViewPicture1_ReturnUrl:hover,
#ViewPicture1_OriginalImage:hover {
color: white;
border: 1px solid var(--ThemeColor);
background-color: var(--ThemeColor);
}
}
/* 博文正文辅助样式 */
@media screen and (min-width:0px) {
#topics {
background-color: var(--BlockColor);
padding: 20px;
border-radius: 4px;
margin-bottom: 20px;
border: 1px solid var(--DividColor);
}
#topics .post {
display: grid;
grid-template-columns: 100%;
}
.post .postBody {
order: 1;
/* z-index:0;*/
}
.post .postTitle {
font-size: var(--text2);
word-break: break-all;
line-height: 1.8;
margin: 0;
padding: 10px 0;
text-align: center;
}
.post .postDesc {
font-size: 0;
line-height: 2;
text-align: center;
padding-bottom: 20px;
border-bottom: 1px solid var(--DividColor);
margin-bottom: 10px;
}
#topics #post-date,
#topics .postDesc a,
#topics #post_view_count,
#topics #post_comment_count {
color: var(--TextColor3);
font-size: 16px;
margin-right: 10px;
}
#topics .postDesc a:hover {
color: var(--ThemeColor);
}
#topics #post-date:before {
content: "\f017";
margin-right: 4px;
font-family: FontAwesome;
}
#topics .postDesc a:nth-child(2):before {
content: "\f2be";
margin-right: 4px;
font-family: FontAwesome;
}
#topics .postDesc #post_view_count:before {
content: "\f06e";
margin-right: 4px;
font-family: FontAwesome;
}
#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(2):before {
content: '\f040';
font-family: FontAwesome;
margin-right: 4px;
}
#topics .postDesc a:nth-last-child(1):before {
content: '\f02e';
font-family: FontAwesome;
margin-right: 4px;
}
/* 博文底部功能按钮 */
#blog_post_info {
display: grid !important;
grid-template-columns: 100% !important;
grid-template-rows: auto auto auto !important;
width: 100%;
padding: 10px 0;
display: grid;
grid-gap: 10px;
}
#green_channel {
border: none !important;
width: auto !important;
font-size: 16px;
display: inline-flex;
margin: 0 auto;
padding: 0;
grid-column-start: 1;
grid-column-end: 2;
}
#green_channel a:hover {
color: var(--ThemeColor);
}
#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;
color: #d21212;
margin-right: 4px;
margin-left: 0px;
}
#green_channel_wechat {
margin-right: 0 !important;
}
#green_channel_wechat:before {
content: "\f1d7";
color: #14981a;
font-family: FontAwesome;
margin-right: 4px;
margin-left: 0px;
}
#author_profile {
width: 100%;
display: grid;
overflow: hidden;
/* grid-gap: 10px; */
padding: 40px 20px;
color: #fff;
border-radius: 4px;
grid-template-columns: auto auto;
grid-template-rows: auto;
background-size: cover;
background-position: center;
background-image: var(--BackgroundImg);
position: relative;
order: 1;
}
#author_profile:after {
content: "";
background-image: var(--WeChat);
height: 100px;
width: 100px;
background-size: contain;
background-position: center;
margin: auto 0 auto auto;
z-index: 3;
grid-column-start: 2;
grid-row-start: 1;
}
#author_profile_info {
display: grid;
margin: 0 !important;
grid-template-columns: 80px auto;
grid-template-rows: auto;
grid-gap: 10px;
grid-column-start: 1 !important;
grid-column-end: 2 !important;
/* text-align: center; */
}
#author_profile_info a {
margin: auto !important;
grid-column-start: 1;
grid-column-end: 2;
}
#author_profile:before {
content: "";
display: block;
height: 100%;
width: 100%;
left: 0;
right: 0;
top: 0;
position: absolute;
background-color: var(--ImgShadow);
z-index: 1;
}
#author_profile a:hover {
color: inherit !important;
}
#author_profile_follow {
grid-column-start: 1;
grid-column-end: 2;
grid-row-start: 2;
grid-row-end: 3;
margin: 0 auto;
}
#author_profile_follow {
width: fit-content;
height: fit-content;
border-width: 0;
white-space: nowrap;
margin: auto 0 auto auto;
text-align: right;
cursor: pointer;
color: #fff;
font-size: 0;
line-height: 2;
background-color: var(--ThemeColor);
border-color: var(--ThemeColor);
user-select: none;
border-radius: 4px;
z-index: 4;
grid-column-start: 2;
grid-row-start: 1;
}
#author_profile_follow a {
font-size: var(--textNoraml) !important;
padding: 6px 12px;
display: none;
}
#author_profile_follow a:hover,
#author_profile_follow:hover {
text-decoration: none !important;
}
#author_profile .author_avatar {
content: var(--Avatar);
border-radius: 50%;
height: 80px;
width: 80px;
border: 4px solid #fff;
padding: 0;
margin: 0 auto;
z-index: 4;
}
#author_profile_detail {
display: grid;
grid-template-columns: auto;
grid-template-rows: auto;
grid-gap: 10px;
/* width: 100%; */
margin: auto auto auto 0;
font-size: var(--textNoraml);
z-index: 4;
grid-column-start: 2;
grid-column-end: 3;
/* align-items: flex-start; */
}
#author_profile_detail br {
display: none;
}
#author_profile_detail a {
text-decoration: none;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 14px;
/* margin-right: 4px; */
}
#author_profile_detail a:hover {
color: var(--ThemeColor);
text-decoration: none;
}
#author_profile_detail a:nth-child(1) {
grid-column-start: 1;
grid-column-end: 3;
font-weight: bold;
height: 40px;
line-height: 40px;
font-size: var(--text2);
float: left;
margin-left: 0 !important;
}
#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(3) {
grid-column-start: 2;
grid-column-end: 3;
grid-row-start: 2;
grid-row-end: 3;
}
#green_channel a {
background: url();
font-weight: normal;
font-size: 16px !important;
margin-right: 20px;
color: var(--TextColor2);
text-shadow: none !important;
}
#green_channel #green_channel_digg {
display: none;
}
#green_channel #green_channel_follow:before {
content: "\f08a";
font-family: FontAwesome;
margin-right: 4px;
margin-left: 0px;
}
#green_channel #green_channel_favorite:before {
content: "\f006";
font-family: FontAwesome;
margin-right: 4px;
margin-left: 0px;
}
#green_channel #green_channel_follow,
#green_channel #green_channel_favorite,
#green_channel #green_channel_weibo,
#green_channel #green_channel_wechat {
color: var(--TextColor2) !important;
background-color: transparent;
border: 1px solid transparent;
padding: 0px;
font-size: 16px;
-webkit-border-radius: 4px;
/*margin: 10px !important;*/
-webkit-box-shadow: none !important;
box-shadow: none !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;
}
#div_digg {
width: auto !important;
font-size: 22px;
float: right;
margin: 0 auto;
grid-column-start: 1;
grid-column-end: 2;
}
.buryit:hover,
.diggit:hover {
opacity: 0.8;
color: var(--ThemeColor) !important;
}
.diggit {
background: none !important;
font-size: 20px;
height: auto;
padding: 0;
margin: 0 20px 0 0;
height: auto;
width: auto !important;
color: var(--TextColor2) !important;
background-color: #00000000 !important;
border: 1px solid #00000000 !important;
}
#digg_count {
color: var(--TextColor2) !important;
}
.diggit:before {
content: '\f087';
font-family: FontAwesome;
margin-right: 0px;
margin-left: 10px;
}
.buryit {
width: auto !important;
font-size: 20px;
height: auto;
padding: 0;
margin: 0;
background: none !important;
color: var(--TextColor2) !important;
background-color: #00000000 !important;
border: 1px solid #00000000 !important;
}
#bury_count {
color: var(--TextColor2) !important;
}
.buryit:before {
content: '\f088';
font-family: FontAwesome;
margin-right: 0px;
margin-left: 10px;
}
#post_next_prev {
border-top: 1px solid var(--DividColor);
font-size: var(--textNoraml);
line-height: 1.8;
padding-top: 20px;
color: var(--TextColor1);
}
#post_next_prev a:hover {
color: var(--ThemeColor)
}
}
@media screen and (max-width:360px) {
#author_profile {
grid-template-columns: 100% !important;
}
#author_profile:after {
content: "";
background-image: var(--WeChat);
height: 150px !important;
width: 150px !important;
margin: 40px auto auto auto !important;
z-index: 3;
grid-column-start: 1 !important;
grid-row-start: 2 !important;
}
#author_profile_info {
grid-template-columns: 100% !important;
grid-gap: 0 !important;
}
#author_profile_detail a:nth-child(1) {
margin: 10px auto 0 !important;
}
#author_profile_detail {
grid-row-start: 2;
grid-column-start: 1;
margin: auto !important;
width: auto;
}
}
/* 博文正文 */
@media screen and (min-width:0px) {
.post .postBody {
line-height: 1.7;
color: var(--TextColor1);
text-align:justify;
font-size: var(--TextNormal);
word-break:break-all!important;
}
.post .postBody p{
word-break:break-all!important;
/* z-index:0;*/
}
.post .postBody .cnblogs-markdown a {
color: var(--ThemeColor);
}
.post .postBody h1 {
font-size: var(--text1)!important;
margin-top: 24px !important;
margin-bottom: 16px !important;
border-bottom: 1px solid var(--DividColor);
line-height: 1.25;
padding-bottom: .3em
}
.post .postBody h2 {
font-size: var(--text2)!important;
border-bottom: 1px solid var(--DividColor);
margin-top: 24px !important;
margin-bottom: 16px !important;
line-height: 1.25;
padding-bottom: .3em
}
.post .postBody h3 {
font-size: var(--text3)!important;
margin-top: 24px !important;
margin-bottom: 16px !important;
line-height: 1.25;
}
.post .postBody h4 {
font-size: var(--text4)!important;
margin-top: 24px !important;
margin-bottom: 16px !important;
line-height: 1.25;
}
.post .postBody h5 {
font-size: var(--text5)!important;
margin-top: 24px !important;
margin-bottom: 16px !important;
line-height: 1.25;
}
.post .postBody h6 {
font-size: var(--text6)!important;
margin-top: 24px !important;
margin-bottom: 16px !important;
line-height: 1.25;
}
.post .postBody p {
margin: 20px auto;
}
.post .postBody blockquote {
border: none;
color: #6a737d;
margin: 20px 0;
padding: 0 0 0 10px;
min-height: 20px;
background: 0 0;
border-left: 4px solid;
/*#dfe2e5*/
}
#cnblogs_post_body {
margin: 20px 0;
overflow: hidden;
}
#cnblogs_post_body blockquote ul li {
color: #6a737d !important;
}
#cnblogs_post_body img {
margin: 0 auto;
}
.post .postBody em {
padding-right: 3px
}
.post .postBody strong {
margin: 0 3px
}
.post .postBody img {
max-width: 100% !important;
display: block;
border-radius: 3px
}
.post .postBody ol li,
.post .postBody ul li {
margin: 3px 0;
font-size: var(--textNormal)!important;
word-break:break-all!important;
}
.post .postBody ol li p,
.post .postBody ul li p {
margin: 0 !important;
word-break:break-all!important;
}
#cnblogs_post_body table {
display: block;
padding: 2px;
width: 100% !important;
}
.post .postBody table {
font-size: var(--textNormal)!important;
border-collapse: collapse;
border-spacing: 0;
empty-cells: show;
border: none !important;
overflow: auto;
width: 100%;
word-break: keep-all !important;
}
.post .postBody table th {
font-family: inherit;
font-size: inherit;
background-color: var(--BackgroundColor) !important;
white-space: nowrap;
font-weight: 600;
border: 1px solid var(--DividColor) !important;
padding: 8px 16px !important
}
.post .postBody table tr:nth-child(2n) {
background-color: var(--BackgroundColor) !important;
}
.post .postBody table tr {
background-color: var(--BlockColor) !important;
}
.post .postBody table td {
border: 1px solid var(--DividColor) !important;
padding: 8px 16px !important;
}
.post .postBody h1 code,
.post .postBody h2 code,
.post .postBody h3 code,
.post .postBody h4 code,
.post .postBody h5 code,
.post .postBody h6 code,
.post .postBody li code,
.post .postBody p code,
.post .postBody table code {
color: #c7254e;
line-height: 1;
font-family: Consolas!important;
vertical-align: middle;
margin: 0 3px;
background: var(--BackgroundColor) !important;
font-size: 12px !important;
padding: .2em .3em !important;
border-radius: 3px !important;
border: 1px solid var(--DividColor) !important
}
.postBody #BlogPostCategory,
.postBody #EntryTag {
color: var(--TextColor3);
line-height: 1.8;
}
.postBody #BlogPostCategory a:hover,
.postBody #EntryTag a:hover {
color: var(--ThemeColor);
}
#BlogPostCategory a:before {
content: '\f02d';
font-family: FontAwesome;
margin-right: 4px;
}
#EntryTag a:before {
content: '\f02c';
font-family: FontAwesome;
margin-right: 4px;
}
.post .postBody #BlogPostCategory a,
.post .postBody #EntryTag a {
margin: 0 5px;
border-radius: 20px;
word-break: keep-all;
font-size: var(--textNoraml);
}
.post .postBody #post_next_prev {
font-size: 16px;
margin-top: 20px;
padding-top: 20px;
}
.post .postBody hr {
background-color: var(--DividColor);
border: 0;
height: .25em;
margin: 24px 0;
padding: 0;
}
#cnblogs_post_body ul ul li {
list-style-type: circle;
}
#cnblogs_post_body ul ul ul li {
list-style-type: square !important;
}
.post .postBody ul ul ul {
list-style-type: square !important;
}
.post .postBody ul ul {
list-style-type: circle !important;
}
.post .postBody ul {
list-style-type: disc !important;
}
.cnblogs_code {
background-color: #f2f4f5;
padding-left: 1em;
padding-right: 1em;
border: none !important;
border-radius: 3px !important;
font-family: Lucida Console, Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace !important
}
.cnblogs_code div {
background-color: transparent;
color: #656c73
}
.cnblogs_code img {
margin: 0 !important
}
.cnblogs_code pre {
color: #656c73;
font-family: inherit !important
}
.cnblogs_code pre span {
font-family: inherit !important;
color: inherit !important
}
.cnblogs_code textarea {
font-family: inherit !important;
padding: 5px;
border: 1px solid #3e4c42;
color: #c5d4ef;
background-color: #282c34
}
.cnblogs_code textarea:focus {
outline: 0
}
.cnblogs_code .code_img_closed,
.cnblogs_code .code_img_opened {
display: none !important
}
.cnblogs_code .cnblogs_code_toolbar {
width: 20px
}
.cnblogs_code .cnblogs_code_toolbar span {
padding-right: 0
}
.cnblogs_code .cnblogs_code_toolbar a:link img {
background-color: transparent !important
}
.cnblogs_code .cnblogs_code_collapse {
color: #656c73;
border: 1px solid #989fa6;
border-radius: 2px;
background-color: transparent;
display: inline-block;
cursor: pointer;
padding: 5px 5px 2px 5px
}
/* markdown 键盘关键字 */
kbd {
margin: 0 .1em;
padding: .1em .6em;
font-size: .8em;
color: #242729;
background: #fff;
border: 1px solid #adb3b9;
border-radius: 3px;
box-shadow: 0 1px 0 rgba(12, 13, 14, .2), 0 0 0 2px #FFF inset;
white-space: nowrap;
vertical-align: middle;
}
/********** 代码语法高亮 **********/
.cnblogs-markdown .hljs,
.cnblogs-markdown .matlab-code,
.cnblogs_Highlighter pre {
white-space: pre;
display: block;
color: #cfcecf;
border-radius: 4px;
overflow-x: auto;
background: #282c34!important;
border: none !important;
font-family: 'Consolas' !important;
padding: 1em !important;
font-size: 14px !important;
position: relative;
}
.cnblogs-markdown code,
.cnblogs-post-body code {
border: none !important;
background: #282c34!important;
}
/*** atom **/
.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
color: #383a42;
background: #fafafa;
}
.hljs-comment,
.hljs-quote {
color: #a0a1a7;
font-style: italic;
}
.hljs-doctag,
.hljs-keyword,
.hljs-formula {
color: #a626a4;
}
.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
color: #e45649;
}
.hljs-literal {
color: #0184bb;
}
.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta-string {
color: #50a14f;
}
.hljs-built_in,
.hljs-class .hljs-title {
color: #c18401;
}
.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
color: #986801;
}
.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
color: #4078f2;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}
.hljs-link {
text-decoration: underline;
}
.footnotes hr {
display: none !important;
}
}
@media only screen and (max-width:767px) {
#cnblogs_post_body table[style] {
width: 100% !important;
}
}
/* 发表评论 */
@media screen and (min-width:0px) {
.forFlow {
display: grid;
grid-template-columns: 100%;
}
#blog-comments-placeholder {
/*order: 1;*/
}
#comment_form {
display: grid;
margin: 0 !important;
padding: 0 !important;
/* order: 1; */
}
#comment_nav {
/*order: 1;*/
}
#comment_form_container {
background-color: var(--BlockColor);
padding: 10px 20px;
border-radius: 4px;
border: 1px solid var(--DividColor);
order: -1;
}
#comment_form_container #commentform_title {
background-image: url();
padding: 0;
font-size: var(--text6);
color: var(--TextColor1);
line-height: 2;
background-image: none;
border-bottom: 1px solid var(--DividColor);
padding: 0;
font-weight: 700;
}
#comment_form_container p:nth-child(4) {
font-size: 0;
}
#comment_form_container #tbCommentAuthor {
border: none;
background-color: transparent;
font-size: var(--textNoraml);
background-image: url(https://static.hdslb.com/images/akari.jpg);
background-size: 30px 30px;
padding: 0 0 0 40px;
line-height: 30px;
margin-top: 10px;
}
.commentbox_title {
width: 100% !important;
display: block;
height: 30px;
margin-top: -30px;
}
.commentbox_title_left {
display: none;
}
.commentbox_title_right {
float: right;
display: inline-grid;
grid-template-columns: auto auto auto auto auto auto;
grid-gap: 10px;
}
.commentbox_title_right img {
width: 20px;
height: 20px;
/*content: url("https://images.cnblogs.com/cnblogs_com/gshang/1453531/o_200102112238icon.png");
padding-top: 20px;
margin-top: 10px;
overflow: hidden;
position: relative;*/
}
/*
#ubb_quote:before {
content: "\f10e";
font-family: FontAwesome;
position: absolute;
color: #999;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
#ubb_bold:before {
content: "\f032";
font-family: FontAwesome;
position: absolute;
color: #999;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
#ubb_url:before {
content: "\f0c1";
font-family: FontAwesome;
position: absolute;
color: #999;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
#ubb_indent:before {
content: "\f03c";
font-family: FontAwesome;
position: absolute;
color: #999;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
#ubb_code:before {
content: "\f121";
font-family: FontAwesome;
-webkit-text-stroke: 0.5px #999;
position: absolute;
color: #999;
top: 0;
left: 0;
right: 0;
bottom: 0;
font-weight: bold;
}
#ubb_img:before {
content: "\f03e";
font-family: FontAwesome;
-webkit-text-stroke: 0.5px #999;
position: absolute;
color: #999;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
*/
#tbCommentBody {
margin-top: 10px;
width: 100% !important;
height: 200px !important;
border: 1px solid var(--DividColor);
border-radius: 6px;
padding: 10px;
font-family: inherit;
font-size: 14px;
resize: none;
outline: none;
box-sizing: border-box;
background-color: var(--BackgroundColor);
color: var(--TextColor1);
}
#tbCommentBody:hover {
border: 1px solid var(--ThemeColor);
background-color: var(--BlockColor);
}
#tip_comment2 {
display: none;
}
#commentbox_opt {
float: right;
line-height: 40px;
}
#btn_comment_submit {
width: auto;
height: auto;
border-width: 0;
cursor: pointer;
color: #fff;
background-color: var(--ThemeColor);
border-color: var(--ThemeColor);
user-select: none;
padding: 5px 20px;
border-radius: 4px;
}
#btn_comment_submit:hover {
opacity: 0.8
}
#comment_form_container p:last-child {
line-height: 40px;
}
}
@media screen and (max-width:360px) {
#comment_form_container p:last-child {
display: none !important;
}
}
/*提交评论后*/
@media screen and (min-width:0px) {
#divCommentShow {}
.comment_my_posted,
.new-comment-block {
padding: 20px;
background-color: var(--BlockColor);
border-radius: 4px;
margin: 20px 0 0 0;
}
.new-comment-block p {
margin: 10px 0;
padding: 0;
color: var(--TextColor2);
}
.bq_post_comment {
margin: 5px;
font-style: normal;
line-height: 2;
border: none;
color: var(--TextColor2);
padding: 10px;
}
.bq_post_comment a {
color: var(--ThemeColor);
}
.bq_post_comment .comment_quote {
border-color: var(--DividColor);
margin: 10px 0;
background-color: var(--BackgroundColor);
border-radius: 4px;
padding: 4px 8px;
}
}
/* 评论列表 */
@media screen and (min-width:0px) {
#comment_pager_bottom,
#comment_pager_top {
border-top: 1px solid var(--DividColor);
}
#blog-comments-placeholder {
background-color: var(--BlockColor);
padding: 10px 20px;
border-radius: 4px;
order: 1;
display: inline-flex;
flex-direction: column-reverse;
border: 1px solid var(--DividColor);
}
#blog-comments-placeholder br {
display: none;
}
#blog-comments-placeholder .feedback_area_title {
padding: 0;
font-size: var(--text6);
color: var(--TextColor1);
line-height: 2;
background-image: none;
/*border-bottom: 1px solid var(--DividColor);*/
padding: 0;
font-weight: 700;
order: 1;
}
.feedbackItem {
padding: 20px 0;
border-top: 1px solid var(--DividColor);
position: relative;
}
.feedbackListSubtitle {
font-size: 0;
}
.feedbackManage {
float: left;
position: absolute;
bottom: 20px;
font-size: 0;
}
.layer {
color: #3c9ed1;
border: 1px solid #3c9ed1;
padding: 2px 6px;
font-size: 14px;
border-radius: 4px;
margin-right: 10px;
}
.louzhu {
color: #00c091;
border: 1px solid #00c091;
padding: 2px 6px;
font-size: 14px;
border-radius: 4px;
margin-right: 10px;
}
.comment_actions a,
.comment_vote a {
font-size: var(--textNoraml);
color: var(--TextColor3) !important;
font-weight: normal !important;
line-height: 1.8;
}
.comment_actions a:hover,
.comment_vote a:hover {
color: var(--ThemeColor) !important;
}
.comment_date {
float: right;
font-size: var(--textNoraml);
color: var(--TextColor3);
line-height: 1.8;
}
.feedbackListSubtitle a:last-child {
font-size: var(--textNoraml);
color: var(--TextColor1);
font-weight: bold;
line-height: 1.8;
}
.feedbackListSubtitle a:last-child:hover {
color: var(--ThemeColor);
}
.blog_comment_body {
padding: 20px 0;
line-height: 2;
color: var(--TextColor2);
/*display: inline-block;*/
vertical-align: middle;
word-break: break-all;
}
.blog_comment_body img {
vertical-align: middle;
}
.blog_comment_body br {
display: block !important;
}
.blog_comment_body a {
color: var(--ThemeColor);
}
.blog_comment_body .comment_quote {
border-color: var(--DividColor);
margin: 10px 0;
background-color: var(--BackgroundColor);
border-radius: 4px;
padding: 4px 8px;
}
.blog_comment_body legend {
font-size: 0;
line-height: 1;
}
.blog_comment_body legend:before {
content: "\f10d";
color: var(--TextColor3);
font-size: var(--textNoraml) !important;
font-family: FontAwesome;
}
}
/* 刷新评论刷新页面返回顶部 */
@media screen and (min-width:0px) {
.ad_text_commentbox {
margin: 0 !important;
}
#comment_nav {
line-height: 50px;
padding-right: 20px;
text-align: center;
color: var(--TextColor1);
background-color: var(--BlockColor);
padding: 10px 20px;
border-radius: 4px;
margin: 20px 0;
border: 1px solid var(--DividColor);
}
}
/* syntaxhighlighter代码 */
@media screen and (min-width:0px) {
.syntaxhighlighter {
margin: 0 !important;
border-radius: 4px;
}
.syntaxhighlighter .line.alt1,
.syntaxhighlighter .line.alt2 {
line-height: 2 !important;
background-color: var(--BackgroundColor) !important;
}
.syntaxhighlighter .gutter .line {
border-right: 2px solid var(--DividColor) !important;
}
}
/* 滚动条 */
@media screen and (max-width:767px) {
::-webkit-scrollbar {
display: none !important
}
::-webkit-scrollbar-thumb {
display: none !important
}
::-webkit-scrollbar-track {
display: none !important
}
}
/* 附加样式 */
@media screen and (min-width:0px) {
/* 插入媒体 */
@media screen and (min-width: 0px) {
#cnblogs_post_body .video {
height: 0;
margin: 10px auto;
padding-bottom: 56.25%;
/* 16:9 */
position: relative;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
border: 1px solid var(--DividColor);
border-radius: 4px;
overflow: hidden;
}
#cnblogs_post_body .video iframe,
#cnblogs_post_body .video video {
position: absolute;
/*left: 0;*/
top: 0;
/*right:0;*/
width: 100%;
height: 100%;
z-index: 0;
}
#cnblogs_post_body .music {
height: 140px;
/*padding-bottom: 14.39%;*/
/* 16:9 */
position: relative;
width: 100%;
}
#cnblogs_post_body .music iframe {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
}
/****** 提示消息框 *******/
@media screen and (min-width: 0px) {
.infocard {
border-radius: 4px;
margin: 0 0 20px 0;
padding: 10px;
line-height: 2;
}
.infocard i {
float: left;
margin: 0 10px;
vertical-align: middle !important;
}
.tip {
background-color: #d5f1e5;
color: #20704d;
}
.warning {
background-color: #f9e8de;
color: #a84229;
}
.normal {
background-color: #dfedf8;
color: #3162ae;
}
}
/* 折叠 */
@media screen and (min-width: 0px) {
details {
border: 1px solid #ddd;
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: #eff3f5;
border-radius: 4px;
}
details[open] {
padding: .5em;
}
details[open] summary {
border-bottom: 1px solid #ddd;
margin-bottom: .5em;
border-radius: 4px 4px 0 0;
}
/******* 图片注释******/
.imgtext{
font-size:var(--text7);
color:var(--TextColor3);
text-align:center;
}
}
/******** 导航目录 *********/
@media screen and (min-width: 0px) {
.scroller-offset1 {
text-indent: 0;
overflow: hidden;
text-overflow: ellipsis !important;
}
.scroller-offset2 {
text-indent: 1.5em;
overflow: hidden;
text-overflow: ellipsis !important;
}
.scroller-offset3 {
text-indent: 3em;
overflow: hidden;
text-overflow: ellipsis !important;
}
.scroller-offset4 {
text-indent: 4.5em;
overflow: hidden;
text-overflow: ellipsis !important;
}
.scroller-offset5 {
text-indent: 6em;
overflow: hidden;
text-overflow: ellipsis !important;
}
.scroller-offset6 {
text-indent: 7.5em;
overflow: hidden;
text-overflow: ellipsis !important;
}
.nav .active {
background-color: var(--BackgroundColor);
border-radius: 2px;
margin: 0 6px;
}
.nav .active a {
color: var(--ThemeColor);
}
.nav {
max-height: 400px;
overflow-y: auto;
/*padding:10px;*/
overflow-x: hidden;
white-space: nowrap;
}
.nav li {
padding: 2px 10px;
}
.nav li a {
text-overflow: ellipsis !important;
width: 100px !important;
white-space: nowrap;
}
}
@media screen and (max-width: 767px) {
#sidebar_scroller {
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0;
opacity: 0.98;
width: auto !important;
max-width: 100%;
margin-bottom: 0 !important;
display: none;
max-height: 100vh;
padding-bottom: 60px;
overflow: auto;
border-radius: 0 !important;
border: none !important;
border-bottom: 1px solid #eee;
z-index: 999999999;
}
}
/******** 导航目录按钮 *********/
@media screen and (min-width: 0px) {
.mytoolbar {
position: fixed;
z-index: 9999999999999999999999;
bottom: 0;
left: 0;
right: 0;
padding: 10px;
font-size: var(--textNormal)!important;
}
.mytoolbar #toolbtn {
columns: 3;
width: 80%;
/*display: inline-flex;*/
/* align-items: center; */
margin: 0 auto;
/* margin-left: 0 !important; */
}
.mytoolbar #toolbtn li a {
color: inherit;
}
.mytoolbar #toolbtn li {
text-align: center;
padding: 6px;
margin: 0 10px;
background-color: var(--BlockColor);
border: 1px solid var(--DividColor);
border-radius: 4px;
list-style-type: none !important;
/*line-height: 18px;*/
}
}
/* 首页轮播 */
@media screen and (min-width: 0px) {
#slideContainer {
display: block;
}
#slideContainer img {
max-width: 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 span.title {
position: absolute;
bottom: 0;
left: 0;
margin-bottom: 0;
width: 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;
width: 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: 4px;
}
.comiis_wrapad {
padding: 20px;
margin-bottom: 20px;
width: 100%;
}
.comiis_wrapad {
overflow: hidden;
border: 1px solid var(--DividColor);
}
.comiis_wrapad img {
float: left;
margin-top: 0px;
width: 100%;
}
#slidesImgs li {
width: 100%;
height: auto;
display: none;
}
#slidesImgs img:hover {
transform: scale(1.4);
}
#slidesImgs img {
cursor: pointer;
transition: all 0.6s
}
}
/* 解析视频 */
@media screen and (min-width: 0px) {
.__zy_bounce __zy_animated __zy_infinite {
display: none;
}
.div-box {
display: flex;
height: 40px;
line-height: 40px;
background: #fff;
text-align: center;
width: 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 {
/*width: 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);
width: 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-width: 0px) {
.toNav {
text-align: center;
z-index: 99999;
position: absolute;
top: 90vh;
left: 0;
color: #fff !important;
right: 0;
animation: move 1.5s infinite;
font-size: var(--text5);
}
.toNav:before {
content: '\f078';
font-family: FontAwesome;
margin-left: 0px;
}
.toNav:hover {
animation: pause;
}
@keyframes move {
0% {
transform: translateY(-10px);
opacity: 0;
}
100% {
transform: translateY(10px);
opacity: 1;
}
}
.header-hidden:before,
.header-hidden:after {
content: "";
height: 0 !important;
}
.hidden {
display: none;
}
}
/* 返回顶部 */
@media screen and (min-width: 0px) {
.upToNav {
position: fixed;
right: 10px;
bottom: 10px;
background-color: var(--BlockColor);
border: 1px solid var(--DividColor);
border-radius: 4px;
padding: 10px;
color: var(--TextColor2);
}
.upToNav:hover {
background-color: var(--ThemeColor);
border: 1px solid var(--ThemeColor);
color: #fff;
}
.upToNav:before {
content: '\f077';
font-family: FontAwesome;
margin-left: 0px;
}
}
}
20px;
border-radius: 4px;
margin-bottom: 20px;
width: 320px;
border: 1px solid var(--DividColor);
}
#sideBar h3 {
line-height: 2.4;
width: 100%;
margin: 0px;
font-size: var(--text6);
color: var(--TextColor1);
border-bottom: 1px solid var(--DividColor);
}
.sidebar-block ul {
list-style-type: none;
padding: 0 !important;
line-height: 2;
}
.sidebar-block ul a:hover {
color: var(--ThemeColor)
}
}
@media screen and (max-width:767px) {
/* 侧边*/
#sideBar,
#sidebar_news,
#blog-calendar,
#sidebar_toptags,
#sidebar_imagecategory,
.sidebar-block,
#sidebar_recentcomments,
#sidebar_topcommentedposts {
width: 100% !important;
}
}
/* 公告 */
@media screen and (min-width:0px) {
#sidebar_news #profile_block {
line-height: 2;
}
#sidebar_news #p_b_follow {
background-color: var(--ThemeColor);
border-radius: 4px;
margin: 10px 0;
line-height: 3;
text-align: center;
color: #fff;
}
#sidebar_news #p_b_follow:hover,
#sidebar_news #p_b_follow a:hover {
opacity: 0.8;
color: #fff !important;
}
}
/* 日历 */
@media screen and (min-width:0px) {
/* 日历面板 */
#blog-calendar {
background-color: var(--BlockColor);
padding: 10px 20px;
border-radius: 4px;
margin-bottom: 20px;
}
/* 日历翻页 */
.CalTitle {
line-height: 2.4;
font-size: var(--text6);
color: var(--TextColor1);
}
/* 日历星期 */
.CalDayHeader {
line-height: 2.4;
font-size: var(--text6);
font-weight: normal;
color: var(--TextColor2);
border-bottom: 0px solid var(--DividColor);
}
/* 日历每天 */
.CalTodayDay {
height: 34px !important;
width: 34px !important;
}
/* 日历今天 */
.CalTodayDay u,
.CalTodayDay {
color: #fff !important;
background-color: var(--ThemeColor);
line-height: 2.15;
border-radius: 50%;
}
#blog-calendar u {
color: var(--ThemeColor);
font-weight: 600;
text-decoration: none !important;
height: 22px;
position: relative;
}
.CalOtherMonthDay {
color: var(--TextColor3);
}
#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 {
line-height: 2;
}
.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;
}
}
/* 搜索 */
@media screen and (min-width:0px) {
#sidebar_search_box .div_my_zzk {
display: flex;
margin: 10px 0;
}
#sidebar_search_box .input_my_zzk {
padding: 6px;
outline: none;
background-color: var(--BackgroundColor);
border: 1px solid var(--DividColor);
vertical-align: middle;
height: 40px;
color:var(--TextColor1);
flex: auto;
border-radius: 4px;
}
#sidebar_search_box .input_my_zzk:hover {
border: 1px solid var(--ThemeColor);
}
input.btn_my_zzk {
color: #fff;
background-color: var(--ThemeColor);
border-color: var(--ThemeColor);
border: 1px;
padding: 8px;
border-radius: 4px;
height: auto !important;
}
input.btn_my_zzk:hover {
outline: none;
opacity: 0.8;
}
}
/* 常用链接 */
@media screen and (min-width:0px) {
#sidebar_shortcut ul li:nth-child(1):before {
content: "\f1fc";
font-family: FontAwesome;
}
#sidebar_shortcut ul li:nth-child(2):before {
content: "\f075";
font-family: FontAwesome;
}
#sidebar_shortcut ul li:nth-child(3):before {
content: "\f0c0";
font-family: FontAwesome;
}
#sidebar_shortcut ul li:nth-child(4):before {
content: "\f27a";
font-family: FontAwesome;
}
#sidebar_shortcut ul li:nth-child(5):before {
content: "\f02c";
font-family: FontAwesome;
}
}
/* 最新随笔 */
@media screen and (min-width:0px) {
#sidebar_recentposts ul li:before {
content: "\f017";
font-family: FontAwesome;
}
}
/* 我的标签 */
@media screen and (min-width:0px) {
.catListTag ul li:before {
content: "\f02c";
font-family: FontAwesome;
}
#sidebar_toptags li {
display: inline-block;
margin-right: 20px;
}
}
/* 积分与排名 */
@media screen and (min-width:0px) {
.liScore:before {
content: "\f005";
font-family: FontAwesome;
}
.liRank:before {
content: "\f091";
font-family: FontAwesome;
}
}
/* 随笔分类 */
@media screen and (min-width:0px) {
#sidebar_postcategory ul li:before {
content: "\f02d";
font-family: FontAwesome;
}
}
/* 随笔/文章档案 */
@media screen and (min-width:0px) {
#sidebar_postarchive ul li:before {
content: "\f073";
font-family: FontAwesome;
}
#sidebar_articlearchive ul li:before {
content: "\f073";
font-family: FontAwesome;
}
}
/* 相册 */
@media screen and (min-width:0px) {
#sidebar_imagecategory ul li:before {
content: "\f03e";
font-family: FontAwesome;
}
}
/* 我的链接 */
@media screen and (min-width:0px) {
#sidebar_links1575513 ul li:before {
content: "\f121";
font-family: FontAwesome;
}
}
/* 最新评论 */
@media screen and (min-width:0px) {
.recent_comment_title:before {
content: "\f27a";
font-family: FontAwesome;
margin-right: 10px;
margin-left: 0px;
}
.recent_comment_author {
border-bottom: 1px solid var(--DividColor);
padding: 10px 0;
margin-bottom: 10px;
}
.recent_comment_body {
background-color: var(--BackgroundColor);
padding: 10px;
border-radius: 4px;
}
}
/* 阅读排行榜 */
@media screen and (min-width:0px) {
#sidebar_topviewedposts ul li:before {
content: "\f06e";
font-family: FontAwesome;
}
}
/* 评论排行榜 */
@media screen and (min-width:0px) {
#sidebar_topcommentedposts ul li:before {
content: "\f075";
font-family: FontAwesome;
}
}
/* 推荐排行榜 */
@media screen and (min-width:0px) {
#sidebar_topdiggedposts ul li:before {
content: "\f164";
font-family: FontAwesome;
}
}
/* 页脚 */
@media screen and (min-width:0px) {
#footer {
width: 100%;
text-align: center;
color: var(--TextColor3);
}
}
/* 翻页 */
@media screen and (min-width:0px) {
#nav_next_page {
margin-bottom: 0px;
}
.topicListFooter {
margin: 0px !important;
}
.topicListFooter,
.pager {
line-height: 3;
overflow-x: auto;
display: block !important;
}
.pager {
/*padding: 20px;*/
}
.topicListFooter a,
.Pager a,
.pager a {
background-color: var(--BlockColor);
padding: 6px 10px;
display: inline-table;
line-height: 1.5;
color: var(--TextColor1);
border: 1px solid var(--DividColor);
border-radius: 4px;
}
.pager .current {
padding: 6px 10px !important;
display: inline-table;
line-height: 1.5;
color: white !important;
border: 1px solid var(--ThemeColor) !important;
background-color: var(--ThemeColor) !important;
border-radius: 4px;
}
.topicListFooter a:hover,
.Pager a:hover,
.pager a:hover {
color: white;
border: 1px solid var(--ThemeColor);
background-color: var(--ThemeColor);
}
.pager,
.Pager {
font-size: 16px;
color: var(--TextColor2);
}
#myposts .pager {
text-align: center !important;
}
}
/* 我的随笔 我的评论 我的参与 最新评论 我的标签 */
@media screen and (min-width:0px) {
.PostListTitle {
line-height: 1.5;
z-index: 2;
position: relative;
font-size: var(--text1);
color: #fff;
padding: 40px 20px;
border-radius: 4px;
text-align: center;
margin: 0;
letter-spacing: 10px;
background-image: var(--BackgroundImg2);
background-position: center;
background-size: cover;
overflow: hidden;
}
.PostListTitle:after {
content: "";
display: block;
height: 100%;
width: 100%;
left: 0;
right: 0;
top: 0;
position: absolute;
background-color: var(--ImgShadow);
z-index: -1;
}
#myposts {
margin: 0 !important;
}
.PostList {
background-color: var(--BlockColor);
padding: 20px;
border-radius: 4px;
margin: 0 0 20px 0 !important;
display: grid;
grid-template-columns: 100%;
border: 1px solid var(--DividColor);
}
.PostList .postTitl2 {
font-size: var(--text4);
line-height: 1.5;
color: var(--TextColor1);
margin-bottom: 10px;
}
.postTitl2 a {
padding-left: 10px;
border-left: 4px solid var(--ThemeColor);
}
.postTitl2 a:hover {
color: var(--ThemeColor);
}
.PostList .postDesc2 {
color: var(--TextColor3);
font-size: 16px !important;
line-height: 3;
order: 1;
}
.PostList .postText2 {
color: var(--TextColor2);
word-break: break-all;
font-size: var(--text6) !important;
line-height: 1.5;
}
#taglist_main {
margin: 0 !important;
}
#taglist_main #taglist_title {
line-height: 2.4;
z-index: 2;
position: relative;
font-size: var(--text1);
color: #fff;
padding: 40px 20px;
border-radius: 4px;
text-align: center;
margin: 0;
letter-spacing: 10px;
background-image: var(--BackgroundImg2);
background-position: center;
background-size: cover;
overflow: hidden;
}
#taglist_main #taglist_title:after {
content: "";
display: block;
height: 100%;
width: 100%;
left: 0;
right: 0;
top: 0;
position: absolute;
background-color: var(--ImgShadow);
z-index: -1;
}
#taglist_main #taglist {
background-color: var(--BlockColor);
padding: 20px;
border-radius: 4px;
margin-top: 20px;
border: 1px solid var(--DividColor);
}
#MyTag1_dtTagList {
border-collapse: separate !important;
border-spacing: 20px;
display: grid !important;
grid-template-columns: 100%;
}
#MyTag1_dtTagList tbody {
display: grid;
grid-template-columns: 100%;
grid-gap: 10px;
}
#MyTag1_dtTagList tr {
display: grid;
grid-template-columns: auto auto auto auto;
grid-gap: 10px;
}
#taglist td {
width: auto;
text-align: center;
background-color: var(--BackgroundColor);
border-radius: 40px;
border: 1px solid var(--BackgroundColor);
}
#taglist td:hover {
border: 1px solid var(--ThemeColor);
color: var(--ThemeColor);
}
}
/*我的标签*/
@media screen and (max-width:360px) {
#MyTag1_dtTagList tr {
grid-template-columns: auto auto !important;
}
}
/* 随笔分类 随笔档案 文章档案 */
@media screen and (min-width:0px) {
.entrylistTitle {
line-height: 2.4;
z-index: 2;
position: relative;
font-size: var(--text1);
color: #fff;
padding: 40px 20px;
border-radius: 4px;
text-align: center;
margin: 0;
letter-spacing: 10px;
background-image: var(--BackgroundImg2);
background-position: center;
background-size: cover;
}
.entrylistTitle:after {
content: "";
display: block;
height: 100%;
width: 100%;
left: 0;
right: 0;
top: 0;
position: absolute;
background-color: var(--ImgShadow);
z-index: -1;
}
.entrylistDescription {
color: var(--TextColor2);
line-height: 1.8;
background-color: var(--BlockColor);
padding: 20px;
border-radius: 4px;
margin: 20px 0;
}
.entrylistDescription img {
margin: 10px 0;
width: 100%;
border-radius: 4px;
}
.entrylistItem {
background-color: var(--BlockColor);
padding: 20px;
border-radius: 4px;
margin-bottom: 20px;
}
.entrylistItem .entrylistPosttitle {
font-size: var(--text4);
line-height: 1.5;
margin: 10px 0;
color: var(--TextColor1);
}
.entrylistItemTitle {
padding-left: 10px;
border-left: 4px solid var(--ThemeColor);
}
.entrylistItemTitle:hover {
color: var(--ThemeColor);
}
.entrylistPostSummary .c_b_p_desc {
color: var(--TextColor2);
line-height: 24px;
padding: 2px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 5;
text-overflow: ellipsis;
overflow: hidden;
}
.entrylistPostSummary .c_b_p_desc .desc_img {
height: 110px;
margin: 0 10px 10px 20px;
width: 190px;
object-fit: cover;
box-shadow: 0 0 0 1px var(--DividColor);
border-radius: 4px;
}
.entrylistItemPostDesc {
color: var(--TextColor3);
line-height: 1.8;
margin: 0;
}
.entrylistPostSummary .c_b_p_desc_readmore {
display: none;
}
}
/* 相册 */
@media screen and (min-width:0px) {
.gallery .thumbTitle {
line-height: 2.4;
z-index: 2;
position: relative;
font-size: var(--text1);
color: #fff;
padding: 40px 20px;
border-radius: 4px;
text-align: center;
margin: 0;
letter-spacing: 10px;
background-image: var(--BackgroundImg2);
background-position: center;
background-size: cover;
}
.gallery .thumbTitle:before {
content: "";
display: block;
height: 100%;
width: 100%;
left: 0;
right: 0;
top: 0;
position: absolute;
background-color: var(--ImgShadow);
z-index: -1;
}
#GalleryThumbNailViewer1_ThumbNails {
background-color: var(--BlockColor);
border-radius: 4px;
margin-top: 20px;
border-collapse: separate !important;
border-spacing: 20px;
width: 100%;
border: 1px solid var(--DividColor);
}
#GalleryThumbNailViewer1_ThumbNails td {
width: 25%;
overflow: hidden;
}
#GalleryThumbNailViewer1_ThumbNails img {
cursor: pointer;
transition: all 0.6s
}
#GalleryThumbNailViewer1_ThumbNails td:hover {
box-shadow: 6px 11px 41px -28px #a99de7;
}
#GalleryThumbNailViewer1_ThumbNails img:hover {
transform: scale(1.4);
}
.gallery {
font-size: 0;
text-align: center
}
.gallery br {
display: none;
}
.gallery .galleryTitle {
padding: 20px;
background-color: var(--BlockColor);
border-radius: 4px 4px 0 0;
font-size: var(--textNoraml);
}
#ViewPicture1_GalleryImage {
border-radius: 0 0 4px 4px;
padding: 20px;
width: 100%;
max-width: 100% !important;
background-color: var(--BlockColor);
}
#ViewPicture1_ReturnUrl,
#ViewPicture1_OriginalImage {
background-color: var(--BlockColor);
padding: 6px 10px;
display: inline-table;
line-height: 1.5;
color: var(--TextColor1);
border: 1px solid var(--DividColor);
border-radius: 4px;
font-size: var(--textNoraml);
margin: 20px;
}
#ViewPicture1_ReturnUrl:hover,
#ViewPicture1_OriginalImage:hover {
color: white;
border: 1px solid var(--ThemeColor);
background-color: var(--ThemeColor);
}
}
/* 博文正文辅助样式 */
@media screen and (min-width:0px) {
#topics {
background-color: var(--BlockColor);
padding: 20px;
border-radius: 4px;
margin-bottom: 20px;
border: 1px solid var(--DividColor);
}
#topics .post {
display: grid;
grid-template-columns: 100%;
}
.post .postBody {
order: 1;
/* z-index:0;*/
}
.post .postTitle {
font-size: var(--text2);
word-break: break-all;
line-height: 1.8;
margin: 0;
padding: 10px 0;
text-align: center;
}
.post .postDesc {
font-size: 0;
line-height: 2;
text-align: center;
padding-bottom: 20px;
border-bottom: 1px solid var(--DividColor);
margin-bottom: 10px;
}
#topics #post-date,
#topics .postDesc a,
#topics #post_view_count,
#topics #post_comment_count {
color: var(--TextColor3);
font-size: 16px;
margin-right: 10px;
}
#topics .postDesc a:hover {
color: var(--ThemeColor);
}
#topics #post-date:before {
content: "\f017";
margin-right: 4px;
font-family: FontAwesome;
}
#topics .postDesc a:nth-child(2):before {
content: "\f2be";
margin-right: 4px;
font-family: FontAwesome;
}
#topics .postDesc #post_view_count:before {
content: "\f06e";
margin-right: 4px;
font-family: FontAwesome;
}
#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(2):before {
content: '\f040';
font-family: FontAwesome;
margin-right: 4px;
}
#topics .postDesc a:nth-last-child(1):before {
content: '\f02e';
font-family: FontAwesome;
margin-right: 4px;
}
/* 博文底部功能按钮 */
#blog_post_info {
display: grid !important;
grid-template-columns: 100% !important;
grid-template-rows: auto auto auto !important;
width: 100%;
padding: 10px 0;
display: grid;
grid-gap: 10px;
}
#green_channel {
border: none !important;
width: auto !important;
font-size: 16px;
display: inline-flex;
margin: 0 auto;
padding: 0;
grid-column-start: 1;
grid-column-end: 2;
}
#green_channel a:hover {
color: var(--ThemeColor);
}
#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;
color: #d21212;
margin-right: 4px;
margin-left: 0px;
}
#green_channel_wechat {
margin-right: 0 !important;
}
#green_channel_wechat:before {
content: "\f1d7";
color: #14981a;
font-family: FontAwesome;
margin-right: 4px;
margin-left: 0px;
}
#author_profile {
width: 100%;
display: grid;
overflow: hidden;
/* grid-gap: 10px; */
padding: 40px 20px;
color: #fff;
border-radius: 4px;
grid-template-columns: auto auto;
grid-template-rows: auto;
background-size: cover;
background-position: center;
background-image: var(--BackgroundImg);
position: relative;
order: 1;
}
#author_profile:after {
content: "";
background-image: var(--WeChat);
height: 100px;
width: 100px;
background-size: contain;
background-position: center;
margin: auto 0 auto auto;
z-index: 3;
grid-column-start: 2;
grid-row-start: 1;
}
#author_profile_info {
display: grid;
margin: 0 !important;
grid-template-columns: 80px auto;
grid-template-rows: auto;
grid-gap: 10px;
grid-column-start: 1 !important;
grid-column-end: 2 !important;
/* text-align: center; */
}
#author_profile_info a {
margin: auto !important;
grid-column-start: 1;
grid-column-end: 2;
}
#author_profile:before {
content: "";
display: block;
height: 100%;
width: 100%;
left: 0;
right: 0;
top: 0;
position: absolute;
background-color: var(--ImgShadow);
z-index: 1;
}
#author_profile a:hover {
color: inherit !important;
}
#author_profile_follow {
grid-column-start: 1;
grid-column-end: 2;
grid-row-start: 2;
grid-row-end: 3;
margin: 0 auto;
}
#author_profile_follow {
width: fit-content;
height: fit-content;
border-width: 0;
white-space: nowrap;
margin: auto 0 auto auto;
text-align: right;
cursor: pointer;
color: #fff;
font-size: 0;
line-height: 2;
background-color: var(--ThemeColor);
border-color: var(--ThemeColor);
user-select: none;
border-radius: 4px;
z-index: 4;
grid-column-start: 2;
grid-row-start: 1;
}
#author_profile_follow a {
font-size: var(--textNoraml) !important;
padding: 6px 12px;
display: none;
}
#author_profile_follow a:hover,
#author_profile_follow:hover {
text-decoration: none !important;
}
#author_profile .author_avatar {
content: var(--Avatar);
border-radius: 50%;
height: 80px;
width: 80px;
border: 4px solid #fff;
padding: 0;
margin: 0 auto;
z-index: 4;
}
#author_profile_detail {
display: grid;
grid-template-columns: auto;
grid-template-rows: auto;
grid-gap: 10px;
/* width: 100%; */
margin: auto auto auto 0;
font-size: var(--textNoraml);
z-index: 4;
grid-column-start: 2;
grid-column-end: 3;
/* align-items: flex-start; */
}
#author_profile_detail br {
display: none;
}
#author_profile_detail a {
text-decoration: none;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 14px;
/* margin-right: 4px; */
}
#author_profile_detail a:hover {
color: var(--ThemeColor);
text-decoration: none;
}
#author_profile_detail a:nth-child(1) {
grid-column-start: 1;
grid-column-end: 3;
font-weight: bold;
height: 40px;
line-height: 40px;
font-size: var(--text2);
float: left;
margin-left: 0 !important;
}
#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(3) {
grid-column-start: 2;
grid-column-end: 3;
grid-row-start: 2;
grid-row-end: 3;
}
#green_channel a {
background: url();
font-weight: normal;
font-size: 16px !important;
margin-right: 20px;
color: var(--TextColor2);
text-shadow: none !important;
}
#green_channel #green_channel_digg {
display: none;
}
#green_channel #green_channel_follow:before {
content: "\f08a";
font-family: FontAwesome;
margin-right: 4px;
margin-left: 0px;
}
#green_channel #green_channel_favorite:before {
content: "\f006";
font-family: FontAwesome;
margin-right: 4px;
margin-left: 0px;
}
#green_channel #green_channel_follow,
#green_channel #green_channel_favorite,
#green_channel #green_channel_weibo,
#green_channel #green_channel_wechat {
color: var(--TextColor2) !important;
background-color: transparent;
border: 1px solid transparent;
padding: 0px;
font-size: 16px;
-webkit-border-radius: 4px;
/*margin: 10px !important;*/
-webkit-box-shadow: none !important;
box-shadow: none !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;
}
#div_digg {
width: auto !important;
font-size: 22px;
float: right;
margin: 0 auto;
grid-column-start: 1;
grid-column-end: 2;
}
.buryit:hover,
.diggit:hover {
opacity: 0.8;
color: var(--ThemeColor) !important;
}
.diggit {
background: none !important;
font-size: 20px;
height: auto;
padding: 0;
margin: 0 20px 0 0;
height: auto;
width: auto !important;
color: var(--TextColor2) !important;
background-color: #00000000 !important;
border: 1px solid #00000000 !important;
}
#digg_count {
color: var(--TextColor2) !important;
}
.diggit:before {
content: '\f087';
font-family: FontAwesome;
margin-right: 0px;
margin-left: 10px;
}
.buryit {
width: auto !important;
font-size: 20px;
height: auto;
padding: 0;
margin: 0;
background: none !important;
color: var(--TextColor2) !important;
background-color: #00000000 !important;
border: 1px solid #00000000 !important;
}
#bury_count {
color: var(--TextColor2) !important;
}
.buryit:before {
content: '\f088';
font-family: FontAwesome;
margin-right: 0px;
margin-left: 10px;
}
#post_next_prev {
border-top: 1px solid var(--DividColor);
font-size: var(--textNoraml);
line-height: 1.8;
padding-top: 20px;
color: var(--TextColor1);
}
#post_next_prev a:hover {
color: var(--ThemeColor)
}
}
@media screen and (max-width:360px) {
#author_profile {
grid-template-columns: 100% !important;
}
#author_profile:after {
content: "";
background-image: var(--WeChat);
height: 150px !important;
width: 150px !important;
margin: 40px auto auto auto !important;
z-index: 3;
grid-column-start: 1 !important;
grid-row-start: 2 !important;
}
#author_profile_info {
grid-template-columns: 100% !important;
grid-gap: 0 !important;
}
#author_profile_detail a:nth-child(1) {
margin: 10px auto 0 !important;
}
#author_profile_detail {
grid-row-start: 2;
grid-column-start: 1;
margin: auto !important;
width: auto;
}
}
/* 博文正文 */
@media screen and (min-width:0px) {
.post .postBody {
line-height: 1.7;
color: var(--TextColor1);
text-align:justify;
font-size: var(--TextNormal);
word-break:break-all!important;
}
.post .postBody p{
word-break:break-all!important;
/* z-index:0;*/
}
.post .postBody .cnblogs-markdown a {
color: var(--ThemeColor);
}
.post .postBody h1 {
font-size: var(--text1)!important;
margin-top: 24px !important;
margin-bottom: 16px !important;
border-bottom: 1px solid var(--DividColor);
line-height: 1.25;
padding-bottom: .3em
}
.post .postBody h2 {
font-size: var(--text2)!important;
border-bottom: 1px solid var(--DividColor);
margin-top: 24px !important;
margin-bottom: 16px !important;
line-height: 1.25;
padding-bottom: .3em
}
.post .postBody h3 {
font-size: var(--text3)!important;
margin-top: 24px !important;
margin-bottom: 16px !important;
line-height: 1.25;
}
.post .postBody h4 {
font-size: var(--text4)!important;
margin-top: 24px !important;
margin-bottom: 16px !important;
line-height: 1.25;
}
.post .postBody h5 {
font-size: var(--text5)!important;
margin-top: 24px !important;
margin-bottom: 16px !important;
line-height: 1.25;
}
.post .postBody h6 {
font-size: var(--text6)!important;
margin-top: 24px !important;
margin-bottom: 16px !important;
line-height: 1.25;
}
.post .postBody p {
margin: 20px auto;
}
.post .postBody blockquote {
border: none;
color: #6a737d;
margin: 20px 0;
padding: 0 0 0 10px;
min-height: 20px;
background: 0 0;
border-left: 4px solid;
/*#dfe2e5*/
}
#cnblogs_post_body {
margin: 20px 0;
overflow: hidden;
}
#cnblogs_post_body blockquote ul li {
color: #6a737d !important;
}
#cnblogs_post_body img {
margin: 0 auto;
}
.post .postBody em {
padding-right: 3px
}
.post .postBody strong {
margin: 0 3px
}
.post .postBody img {
max-width: 100% !important;
display: block;
border-radius: 3px
}
.post .postBody ol li,
.post .postBody ul li {
margin: 3px 0;
font-size: var(--textNormal)!important;
word-break:break-all!important;
}
.post .postBody ol li p,
.post .postBody ul li p {
margin: 0 !important;
word-break:break-all!important;
}
#cnblogs_post_body table {
display: block;
padding: 2px;
width: 100% !important;
}
.post .postBody table {
font-size: var(--textNormal)!important;
border-collapse: collapse;
border-spacing: 0;
empty-cells: show;
border: none !important;
overflow: auto;
width: 100%;
word-break: keep-all !important;
}
.post .postBody table th {
font-family: inherit;
font-size: inherit;
background-color: var(--BackgroundColor) !important;
white-space: nowrap;
font-weight: 600;
border: 1px solid var(--DividColor) !important;
padding: 8px 16px !important
}
.post .postBody table tr:nth-child(2n) {
background-color: var(--BackgroundColor) !important;
}
.post .postBody table tr {
background-color: var(--BlockColor) !important;
}
.post .postBody table td {
border: 1px solid var(--DividColor) !important;
padding: 8px 16px !important;
}
.post .postBody h1 code,
.post .postBody h2 code,
.post .postBody h3 code,
.post .postBody h4 code,
.post .postBody h5 code,
.post .postBody h6 code,
.post .postBody li code,
.post .postBody p code,
.post .postBody table code {
color: #c7254e;
line-height: 1;
font-family: Consolas!important;
vertical-align: middle;
margin: 0 3px;
background: var(--BackgroundColor) !important;
font-size: 12px !important;
padding: .2em .3em !important;
border-radius: 3px !important;
border: 1px solid var(--DividColor) !important
}
.postBody #BlogPostCategory,
.postBody #EntryTag {
color: var(--TextColor3);
line-height: 1.8;
}
.postBody #BlogPostCategory a:hover,
.postBody #EntryTag a:hover {
color: var(--ThemeColor);
}
#BlogPostCategory a:before {
content: '\f02d';
font-family: FontAwesome;
margin-right: 4px;
}
#EntryTag a:before {
content: '\f02c';
font-family: FontAwesome;
margin-right: 4px;
}
.post .postBody #BlogPostCategory a,
.post .postBody #EntryTag a {
margin: 0 5px;
border-radius: 20px;
word-break: keep-all;
font-size: var(--textNoraml);
}
.post .postBody #post_next_prev {
font-size: 16px;
margin-top: 20px;
padding-top: 20px;
}
.post .postBody hr {
background-color: var(--DividColor);
border: 0;
height: .25em;
margin: 24px 0;
padding: 0;
}
#cnblogs_post_body ul ul li {
list-style-type: circle;
}
#cnblogs_post_body ul ul ul li {
list-style-type: square !important;
}
.post .postBody ul ul ul {
list-style-type: square !important;
}
.post .postBody ul ul {
list-style-type: circle !important;
}
.post .postBody ul {
list-style-type: disc !important;
}
.cnblogs_code {
background-color: #f2f4f5;
padding-left: 1em;
padding-right: 1em;
border: none !important;
border-radius: 3px !important;
font-family: Lucida Console, Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace !important
}
.cnblogs_code div {
background-color: transparent;
color: #656c73
}
.cnblogs_code img {
margin: 0 !important
}
.cnblogs_code pre {
color: #656c73;
font-family: inherit !important
}
.cnblogs_code pre span {
font-family: inherit !important;
color: inherit !important
}
.cnblogs_code textarea {
font-family: inherit !important;
padding: 5px;
border: 1px solid #3e4c42;
color: #c5d4ef;
background-color: #282c34
}
.cnblogs_code textarea:focus {
outline: 0
}
.cnblogs_code .code_img_closed,
.cnblogs_code .code_img_opened {
display: none !important
}
.cnblogs_code .cnblogs_code_toolbar {
width: 20px
}
.cnblogs_code .cnblogs_code_toolbar span {
padding-right: 0
}
.cnblogs_code .cnblogs_code_toolbar a:link img {
background-color: transparent !important
}
.cnblogs_code .cnblogs_code_collapse {
color: #656c73;
border: 1px solid #989fa6;
border-radius: 2px;
background-color: transparent;
display: inline-block;
cursor: pointer;
padding: 5px 5px 2px 5px
}
/* markdown 键盘关键字 */
kbd {
margin: 0 .1em;
padding: .1em .6em;
font-size: .8em;
color: #242729;
background: #fff;
border: 1px solid #adb3b9;
border-radius: 3px;
box-shadow: 0 1px 0 rgba(12, 13, 14, .2), 0 0 0 2px #FFF inset;
white-space: nowrap;
vertical-align: middle;
}
/********** 代码语法高亮 **********/
.cnblogs-markdown .hljs,
.cnblogs-markdown .matlab-code,
.cnblogs_Highlighter pre {
white-space: pre;
display: block;
color: #cfcecf;
border-radius: 4px;
overflow-x: auto;
background: #282c34!important;
border: none !important;
font-family: 'Consolas' !important;
padding: 1em !important;
font-size: 14px !important;
position: relative;
}
.cnblogs-markdown code,
.cnblogs-post-body code {
border: none !important;
background: #282c34!important;
}
/*** atom **/
.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
color: #383a42;
background: #fafafa;
}
.hljs-comment,
.hljs-quote {
color: #a0a1a7;
font-style: italic;
}
.hljs-doctag,
.hljs-keyword,
.hljs-formula {
color: #a626a4;
}
.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
color: #e45649;
}
.hljs-literal {
color: #0184bb;
}
.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta-string {
color: #50a14f;
}
.hljs-built_in,
.hljs-class .hljs-title {
color: #c18401;
}
.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
color: #986801;
}
.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
color: #4078f2;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}
.hljs-link {
text-decoration: underline;
}
.footnotes hr {
display: none !important;
}
}
@media only screen and (max-width:767px) {
#cnblogs_post_body table[style] {
width: 100% !important;
}
}
/* 发表评论 */
@media screen and (min-width:0px) {
.forFlow {
display: grid;
grid-template-columns: 100%;
}
#blog-comments-placeholder {
/*order: 1;*/
}
#comment_form {
display: grid;
margin: 0 !important;
padding: 0 !important;
/* order: 1; */
}
#comment_nav {
/*order: 1;*/
}
#comment_form_container {
background-color: var(--BlockColor);
padding: 10px 20px;
border-radius: 4px;
border: 1px solid var(--DividColor);
order: -1;
}
#comment_form_container #commentform_title {
background-image: url();
padding: 0;
font-size: var(--text6);
color: var(--TextColor1);
line-height: 2;
background-image: none;
border-bottom: 1px solid var(--DividColor);
padding: 0;
font-weight: 700;
}
#comment_form_container p:nth-child(4) {
font-size: 0;
}
#comment_form_container #tbCommentAuthor {
border: none;
background-color: transparent;
font-size: var(--textNoraml);
background-image: url(https://static.hdslb.com/images/akari.jpg);
background-size: 30px 30px;
padding: 0 0 0 40px;
line-height: 30px;
margin-top: 10px;
}
.commentbox_title {
width: 100% !important;
display: block;
height: 30px;
margin-top: -30px;
}
.commentbox_title_left {
display: none;
}
.commentbox_title_right {
float: right;
display: inline-grid;
grid-template-columns: auto auto auto auto auto auto;
grid-gap: 10px;
}
.commentbox_title_right img {
width: 20px;
height: 20px;
/*content: url("https://images.cnblogs.com/cnblogs_com/gshang/1453531/o_200102112238icon.png");
padding-top: 20px;
margin-top: 10px;
overflow: hidden;
position: relative;*/
}
/*
#ubb_quote:before {
content: "\f10e";
font-family: FontAwesome;
position: absolute;
color: #999;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
#ubb_bold:before {
content: "\f032";
font-family: FontAwesome;
position: absolute;
color: #999;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
#ubb_url:before {
content: "\f0c1";
font-family: FontAwesome;
position: absolute;
color: #999;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
#ubb_indent:before {
content: "\f03c";
font-family: FontAwesome;
position: absolute;
color: #999;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
#ubb_code:before {
content: "\f121";
font-family: FontAwesome;
-webkit-text-stroke: 0.5px #999;
position: absolute;
color: #999;
top: 0;
left: 0;
right: 0;
bottom: 0;
font-weight: bold;
}
#ubb_img:before {
content: "\f03e";
font-family: FontAwesome;
-webkit-text-stroke: 0.5px #999;
position: absolute;
color: #999;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
*/
#tbCommentBody {
margin-top: 10px;
width: 100% !important;
height: 200px !important;
border: 1px solid var(--DividColor);
border-radius: 6px;
padding: 10px;
font-family: inherit;
font-size: 14px;
resize: none;
outline: none;
box-sizing: border-box;
background-color: var(--BackgroundColor);
color: var(--TextColor1);
}
#tbCommentBody:hover {
border: 1px solid var(--ThemeColor);
background-color: var(--BlockColor);
}
#tip_comment2 {
display: none;
}
#commentbox_opt {
float: right;
line-height: 40px;
}
#btn_comment_submit {
width: auto;
height: auto;
border-width: 0;
cursor: pointer;
color: #fff;
background-color: var(--ThemeColor);
border-color: var(--ThemeColor);
user-select: none;
padding: 5px 20px;
border-radius: 4px;
}
#btn_comment_submit:hover {
opacity: 0.8
}
#comment_form_container p:last-child {
line-height: 40px;
}
}
@media screen and (max-width:360px) {
#comment_form_container p:last-child {
display: none !important;
}
}
/*提交评论后*/
@media screen and (min-width:0px) {
#divCommentShow {}
.comment_my_posted,
.new-comment-block {
padding: 20px;
background-color: var(--BlockColor);
border-radius: 4px;
margin: 20px 0 0 0;
}
.new-comment-block p {
margin: 10px 0;
padding: 0;
color: var(--TextColor2);
}
.bq_post_comment {
margin: 5px;
font-style: normal;
line-height: 2;
border: none;
color: var(--TextColor2);
padding: 10px;
}
.bq_post_comment a {
color: var(--ThemeColor);
}
.bq_post_comment .comment_quote {
border-color: var(--DividColor);
margin: 10px 0;
background-color: var(--BackgroundColor);
border-radius: 4px;
padding: 4px 8px;
}
}
/* 评论列表 */
@media screen and (min-width:0px) {
#comment_pager_bottom,
#comment_pager_top {
border-top: 1px solid var(--DividColor);
}
#blog-comments-placeholder {
background-color: var(--BlockColor);
padding: 10px 20px;
border-radius: 4px;
order: 1;
display: inline-flex;
flex-direction: column-reverse;
border: 1px solid var(--DividColor);
}
#blog-comments-placeholder br {
display: none;
}
#blog-comments-placeholder .feedback_area_title {
padding: 0;
font-size: var(--text6);
color: var(--TextColor1);
line-height: 2;
background-image: none;
/*border-bottom: 1px solid var(--DividColor);*/
padding: 0;
font-weight: 700;
order: 1;
}
.feedbackItem {
padding: 20px 0;
border-top: 1px solid var(--DividColor);
position: relative;
}
.feedbackListSubtitle {
font-size: 0;
}
.feedbackManage {
float: left;
position: absolute;
bottom: 20px;
font-size: 0;
}
.layer {
color: #3c9ed1;
border: 1px solid #3c9ed1;
padding: 2px 6px;
font-size: 14px;
border-radius: 4px;
margin-right: 10px;
}
.louzhu {
color: #00c091;
border: 1px solid #00c091;
padding: 2px 6px;
font-size: 14px;
border-radius: 4px;
margin-right: 10px;
}
.comment_actions a,
.comment_vote a {
font-size: var(--textNoraml);
color: var(--TextColor3) !important;
font-weight: normal !important;
line-height: 1.8;
}
.comment_actions a:hover,
.comment_vote a:hover {
color: var(--ThemeColor) !important;
}
.comment_date {
float: right;
font-size: var(--textNoraml);
color: var(--TextColor3);
line-height: 1.8;
}
.feedbackListSubtitle a:last-child {
font-size: var(--textNoraml);
color: var(--TextColor1);
font-weight: bold;
line-height: 1.8;
}
.feedbackListSubtitle a:last-child:hover {
color: var(--ThemeColor);
}
.blog_comment_body {
padding: 20px 0;
line-height: 2;
color: var(--TextColor2);
/*display: inline-block;*/
vertical-align: middle;
word-break: break-all;
}
.blog_comment_body img {
vertical-align: middle;
}
.blog_comment_body br {
display: block !important;
}
.blog_comment_body a {
color: var(--ThemeColor);
}
.blog_comment_body .comment_quote {
border-color: var(--DividColor);
margin: 10px 0;
background-color: var(--BackgroundColor);
border-radius: 4px;
padding: 4px 8px;
}
.blog_comment_body legend {
font-size: 0;
line-height: 1;
}
.blog_comment_body legend:before {
content: "\f10d";
color: var(--TextColor3);
font-size: var(--textNoraml) !important;
font-family: FontAwesome;
}
}
/* 刷新评论刷新页面返回顶部 */
@media screen and (min-width:0px) {
.ad_text_commentbox {
margin: 0 !important;
}
#comment_nav {
line-height: 50px;
padding-right: 20px;
text-align: center;
color: var(--TextColor1);
background-color: var(--BlockColor);
padding: 10px 20px;
border-radius: 4px;
margin: 20px 0;
border: 1px solid var(--DividColor);
}
}
/* syntaxhighlighter代码 */
@media screen and (min-width:0px) {
.syntaxhighlighter {
margin: 0 !important;
border-radius: 4px;
}
.syntaxhighlighter .line.alt1,
.syntaxhighlighter .line.alt2 {
line-height: 2 !important;
background-color: var(--BackgroundColor) !important;
}
.syntaxhighlighter .gutter .line {
border-right: 2px solid var(--DividColor) !important;
}
}
/* 滚动条 */
@media screen and (max-width:767px) {
::-webkit-scrollbar {
display: none !important
}
::-webkit-scrollbar-thumb {
display: none !important
}
::-webkit-scrollbar-track {
display: none !important
}
}
/* 附加样式 */
@media screen and (min-width:0px) {
/* 插入媒体 */
@media screen and (min-width: 0px) {
#cnblogs_post_body .video {
height: 0;
margin: 10px auto;
padding-bottom: 56.25%;
/* 16:9 */
position: relative;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
border: 1px solid var(--DividColor);
border-radius: 4px;
overflow: hidden;
}
#cnblogs_post_body .video iframe,
#cnblogs_post_body .video video {
position: absolute;
/*left: 0;*/
top: 0;
/*right:0;*/
width: 100%;
height: 100%;
z-index: 0;
}
#cnblogs_post_body .music {
height: 140px;
/*padding-bottom: 14.39%;*/
/* 16:9 */
position: relative;
width: 100%;
}
#cnblogs_post_body .music iframe {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
}
/****** 提示消息框 *******/
@media screen and (min-width: 0px) {
.infocard {
border-radius: 4px;
margin: 0 0 20px 0;
padding: 10px;
line-height: 2;
}
.infocard i {
float: left;
margin: 0 10px;
vertical-align: middle !important;
}
.tip {
background-color: #d5f1e5;
color: #20704d;
}
.warning {
background-color: #f9e8de;
color: #a84229;
}
.normal {
background-color: #dfedf8;
color: #3162ae;
}
}
/* 折叠 */
@media screen and (min-width: 0px) {
details {
border: 1px solid #ddd;
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: #eff3f5;
border-radius: 4px;
}
details[open] {
padding: .5em;
}
details[open] summary {
border-bottom: 1px solid #ddd;
margin-bottom: .5em;
border-radius: 4px 4px 0 0;
}
/******* 图片注释******/
.imgtext{
font-size:var(--text7);
color:var(--TextColor3);
text-align:center;
}
}
/******** 导航目录 *********/
@media screen and (min-width: 0px) {
.scroller-offset1 {
text-indent: 0;
overflow: hidden;
text-overflow: ellipsis !important;
}
.scroller-offset2 {
text-indent: 1.5em;
overflow: hidden;
text-overflow: ellipsis !important;
}
.scroller-offset3 {
text-indent: 3em;
overflow: hidden;
text-overflow: ellipsis !important;
}
.scroller-offset4 {
text-indent: 4.5em;
overflow: hidden;
text-overflow: ellipsis !important;
}
.scroller-offset5 {
text-indent: 6em;
overflow: hidden;
text-overflow: ellipsis !important;
}
.scroller-offset6 {
text-indent: 7.5em;
overflow: hidden;
text-overflow: ellipsis !important;
}
.nav .active {
background-color: var(--BackgroundColor);
border-radius: 2px;
margin: 0 6px;
}
.nav .active a {
color: var(--ThemeColor);
}
.nav {
max-height: 400px;
overflow-y: auto;
/*padding:10px;*/
overflow-x: hidden;
white-space: nowrap;
}
.nav li {
padding: 2px 10px;
}
.nav li a {
text-overflow: ellipsis !important;
width: 100px !important;
white-space: nowrap;
}
}
@media screen and (max-width: 767px) {
#sidebar_scroller {
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0;
opacity: 0.98;
width: auto !important;
max-width: 100%;
margin-bottom: 0 !important;
display: none;
max-height: 100vh;
padding-bottom: 60px;
overflow: auto;
border-radius: 0 !important;
border: none !important;
border-bottom: 1px solid #eee;
z-index: 999999999;
}
}
/******** 导航目录按钮 *********/
@media screen and (min-width: 0px) {
.mytoolbar {
position: fixed;
z-index: 9999999999999999999999;
bottom: 0;
left: 0;
right: 0;
padding: 10px;
font-size: var(--textNormal)!important;
}
.mytoolbar #toolbtn {
columns: 3;
width: 80%;
/*display: inline-flex;*/
/* align-items: center; */
margin: 0 auto;
/* margin-left: 0 !important; */
}
.mytoolbar #toolbtn li a {
color: inherit;
}
.mytoolbar #toolbtn li {
text-align: center;
padding: 6px;
margin: 0 10px;
background-color: var(--BlockColor);
border: 1px solid var(--DividColor);
border-radius: 4px;
list-style-type: none !important;
/*line-height: 18px;*/
}
}
/* 首页轮播 */
@media screen and (min-width: 0px) {
#slideContainer {
display: block;
}
#slideContainer img {
max-width: 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 span.title {
position: absolute;
bottom: 0;
left: 0;
margin-bottom: 0;
width: 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;
width: 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: 4px;
}
.comiis_wrapad {
padding: 20px;
margin-bottom: 20px;
width: 100%;
}
.comiis_wrapad {
overflow: hidden;
border: 1px solid var(--DividColor);
}
.comiis_wrapad img {
float: left;
margin-top: 0px;
width: 100%;
}
#slidesImgs li {
width: 100%;
height: auto;
display: none;
}
#slidesImgs img:hover {
transform: scale(1.4);
}
#slidesImgs img {
cursor: pointer;
transition: all 0.6s
}
}
/* 解析视频 */
@media screen and (min-width: 0px) {
.__zy_bounce __zy_animated __zy_infinite {
display: none;
}
.div-box {
display: flex;
height: 40px;
line-height: 40px;
background: #fff;
text-align: center;
width: 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 {
/*width: 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);
width: 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-width: 0px) {
.toNav {
text-align: center;
博客侧边栏公告(支持HTML代码) (支持 JS 代码)
<script type="text/javascript" defer="defer">
// 设置公告
var news = '传播,分享,<a href="https://www.cnblogs.com/rrrrraulista/">(点击查看主页)</a>';
// 设置博客信息
var myprofile = [{
blogName: "Charmy",
blogAvatar: "https://img2018.cnblogs.com/blog/1514412/202002/1514412-20200216162132899-1415879613.jpg",
blogSign: "Fuck the good we demand great",
QQ: "761189074",
Github: "null",
WeChat: "https://img2018.cnblogs.com/blog/1514412/202002/1514412-20200216161657345-1951739613.jpg"
}];
// 设置首页轮播
var mybanner = [
{
url: "https://www.cnblogs.com/rrrrraulista/p/12234073.html",
img: "https://img2018.cnblogs.com/blog/1514412/202002/1514412-20200216163442021-1623720635.png",
title: "Typora / LaTex 公式输入参考"
},
{
url: "https://www.cnblogs.com/rrrrraulista/p/12318977.html",
img: "https://img2018.cnblogs.com/blog/1514412/202002/1514412-20200218102501708-1079028314.png",
title: "论文参考文献标准格式"
},
{
img: "https://img2018.cnblogs.com/blog/1514412/202002/1514412-20200216163523522-970410156.jpg",
}, {
img: "https://img2018.cnblogs.com/blog/1514412/202002/1514412-20200216163553081-1738394584.jpg",
},
];
// 设置导航栏扩展
var mynav = [{
id: "blog_nav_cnblogs",
url: "https://home.cnblogs.com",
title: "园子"
},
{
id: "blog_nav_maintain",
url: "https://www.cnblogs.com/rrrrraulista/p/12324862.html",
title: "更新列表"
},
{
id: "blog_nav_theme",
url: "javascript:changeTheme()",
title: "夜览模式"
}
];
loadNewsinfo(news); //公告
setFavio(myprofile); // 网页tab图像
loadThemeColor(); //导入主题颜色
extendNav(mynav); // 导航栏扩展
loadBanner(mybanner); //首页轮播
setPostSideBar(); //侧边栏目录
loadMobileContent(); //移动端目录功能栏
blankTarget(); //文章链接新窗口打开
copyCode(); //代码块复制
tableScorll(); //表格滚动
mymd(); //自定义语法
ninghtTip(); //夜间模式提醒
owoEmoji(); //owo表情插件
myscroll();
</script>
<script type="text/javascript" charset="utf-8" src="https://files.cnblogs.com/files/liuzhou1/L2Dwidget.0.min.js"></script>
<script type="text/javascript" charset="utf-8" src="https://files.cnblogs.com/files/liuzhou1/L2Dwidget.min.js"></script>
<script type="text/javascript">
L2Dwidget.init({"display": {
"superSample": 2,
"width": 200,
"height": 400,
"position": "right",
"hOffset": 0,
"vOffset": 0
}
});
</script>
<!-- 为博客底部添加音乐组件 -->
<div id="player" class="aplayer"></div>
<link href="https://files.cnblogs.com/files/shwee/APlayer.min_v1.10.1.css" rel="stylesheet">
<script src="https://files.cnblogs.com/files/shwee/APlayer.min_v1.10.1.js"></script>
<script type="text/javascript">
var ap = new APlayer({
element: document.getElementById('player'),
narrow: false,
autoplay: true, <!-- 是否自动播放 -->
showlrc: false,
theme: '#ffffff', <!-- 插件背景颜色,建议和你的公告栏背景色一样,这样融为一体的感觉 -->
music: [{
title: 'Race against fate',
author: 'Metro',
url: 'https://tj-ctfs.ftn.qq.com/ftn_handler/6f337a5be56c5011999bb4fc0c4257083a41760f2746bcac904583fffba76cb96105afeb1bf93e7ec406d591ce65340c9894bfd4bc2ae98e011a373ec0dfbe25/?fname=RaceAgainstFate.MP3&k=7b306233907c549de1e23c1e1239064d070556060d0907061e015a525214000402534f51025f034f01535103570c555755515051342a34305253077253585d0c40442452405c1a2f6303620e&code=30b3494b&fr=00&&txf_fid=50ca0ca966edcdb7c5a2ff875f9737d7c4c41db4&xffz=10467932',
pic: 'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=336712137,3508705997&fm=11&gp=0.jpg'
},
{
title: 'Les yeux de Marie',
author: 'Lindsay',
url: 'https://tj-ctfs.ftn.qq.com/ftn_handler/87b272708677d78fb789ce71ab48d9de86ca7736d9cb5756ffe35497bb5e8bf1381efa917b4286fc6bd4ee5bfe21beafe69bcd8d077a20d18e6ebde345fb0e04/?fname=LesyeuxdeMarie.mp3&k=26383366b5dd1fc7b3ea6d4b14345417035d55570656040e4c5d0a000719520c020e1e0402070215050052005057540c030b570232266674044b4a03474c025d2c59410f571a0b4852380e&code=a83f24f8&fr=00&&txf_fid=354a0afc4cd6ebd64418d52ac0ffd42d40a0b478&xffz=8787577',
pic: 'https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=3435746382,967672991&fm=26&gp=0.jpg'
},
{
title: '野草闲花逢春生',
author: '-',
url: 'https://tj-ctfs.ftn.qq.com/ftn_handler/f8bc0de30ab6ffb49fd211e57363dccf0b452d24d0e352a429461f6f13f3d81f428a37eaeac6b4de5c5eb5f069056511d1be5d4bc98cde1e3e32152925fb7675/?fname=%E9%87%8E%E8%8D%89%E9%97%B2%E8%8A%B1%E8%93%AC%E6%98%A5%E7%94%9F.mp3&k=74333933e64270cce1e1671e1539041c57550d50520900551e0601060414020155071452030b571e05050007070f0151060a0052332b36e18381e4fce3829ef6dd8783fac9175b43003304&code=33933963&fr=00&&txf_fid=3e2723e12bdc74f0ecb03bb5b6b50b2ac2e1cd3f&xffz=12157995',
pic: 'https://bkimg.cdn.bcebos.com/pic/0df431adcbef7609db3a4cbe2adda3cc7cd99eda?x-bce-process=image/watermark,g_7,image_d2F0ZXIvYmFpa2U5Mg==,xp_5,yp_5'
},
{
title: 'Everyday Normal Guy II',
author: 'Jon lajoie',
url: 'https://tj-ctfs.ftn.qq.com/ftn_handler/293411b942517b73c7da1b9bdc308f452669ef8294d10717efd51cf288bcf768fc6a4512ee3112e84e96b6e4bb1ff68c2316970b8e3c9925e6b62bca3d592025/?fname=verydayNormalGuy.mp3&k=70353462cb2740caebe76a4f44340a1a5d00520604070d021454000150190c545a56195a06065b1801010d0401065d0409075201622038435c474d06034d765a4b58550e2541411b544507625f&code=954bb485&fr=00&&txf_fid=f1aa56ca2e92ce7b9cafb50ad8de3c2551086aff&xffz=8907863',
pic: 'https://p3fx.kgimg.com/stdmusic/20150718/20150718095352785606.jpg'
},
{
title: 'Ternera Podrida',
author: 'SFDK',
url: 'https://tj-ctfs.ftn.qq.com/ftn_handler/0e17cc33b0e267d5244c8c5358e194e8f87b2057f7d3434ed94a43c1ece9f06639e5d2d5cb5dbd5fb4dc936827b4b463781dcfff0c4bbf872ce0662073fddde3/?fname=TerneraPodrida.mp3&k=2163616521be219db4b13f484363064d54070306045a56574b5b5404034e005505004c0750060d4f5f01595753540d030700535d6571343603110f001702640d02110801044d591255635c&code=fcaeec4b&fr=00&&txf_fid=279005fb9fdec877389951e64a4494560632fd0e&xffz=15344316',
pic: 'https://y.gtimg.cn/music/photo_new/T002R300x300M000004XmS4T263JPk.jpg?max_age=2592000'
},
{
title: 'The Carol of the Old Ones',
author: 'H. P. Lovecraft Historical Society',
url: 'https://sh-ctfs.ftn.qq.com/ftn_handler/98117c26d04b7108c85411e6821fbcabd189eae8591c0b1f95e7c75809ce0899f5dfbe05bf54c1e4b4531169773f1b455c5d3a2a7b5e37ccfd428f20956b140e/?fname=TheCaroloftheOldOnes.mp3&k=283132659e14fc9ab7e36c481135034a5602025303500252480457545118055255011f5d56570448520501070702055307530504372d31310d547104455a5d0a03455a007859552a0b54414b5a45026558&code=e12e751e&fr=00&&txf_fid=69e639714a3a480a37199cdbde4278dbb1ac171b&xffz=3333719',
pic: 'https://p3fx.kgimg.com/stdmusic/20150720/20150720151030509283.jpg'
},
]
});
ap.init();
</script>
页首 HTML 代码
<a href="https://github.com/Rrrrraulista" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#70B7FD; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
页脚 HTML 代码
<!--代码复制-->
<script src="https://cdn.bootcss.com/clipboard.js/2.0.4/clipboard.min.js"></script>
<!--主题-->
<script src="https://blog-static.cnblogs.com/files/gshang/gshang.bilibili.big.2020.02.15.1.js" ></script>
<!--scrollTo-->
<script src="https://cdn.bootcss.com/jquery-scrollTo/2.1.2/jquery.scrollTo.js"></script>
<!--owo表情-->
<script src="https://blog-static.cnblogs.com/files/gshang/gshang.owo.2020.01.05.1.js"></script>
<link rel="stylesheet" href="https://blog-static.cnblogs.com/files/elkyo/OwO.min.css" />
<!-- import Vue.js -->
<script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
<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 src="https://files.cnblogs.com/files/wkfvawl/mouse-click.js"></script>
<canvas width="1777" height="841" style="position: fixed; left: 0px; top: 0px; z-index: 2147483647; pointer-events: none;"></canvas>