点击查看折叠代码块
body {
cursor: url(https://files.cnblogs.com/files/echoyya/bitbug_favicon.ico), auto;
}
#header h1 a {
background: linear-gradient(45deg, #FF5722, orange, #FFEB3B);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-family: "Comic Sans MS";
}
#blogTitle {
overflow: hidden;
height: auto;
text-align: center;
}
/* 博客标题和副标题 */
#blogTitle h1 {
font-size: 35px;
float: none;
}
#blogTitle h2 {
font-size: 14px;
color: #FF9800;
}
/* markdown */
.post {
padding: 1em;
}
.post h1 {
font-size: 28px;
}
.post h2 {
font-size: 24px;
}
.post h3 {
font-size: 18px;
}
.post h4 {
font-size: 16px;
}
.post h5 {
font-size: 14px;
}
.post h6 {
color: #777777;
background-color: inherit;
font-size: 14px;
}
.post hr {
height: 0.2em;
border: 0;
color: #CCCCCC;
background-color: #CCCCCC;
}
.post p,
.post blockquote,
.post ul,
.post ol,
.post dl,
.post li,
.post table,
.post pre {
margin: 15px 0;
}
.post p {
margin: 1em 0;
}
.post pre {
overflow: auto;
}
.post a:focus {
outline: thin dotted;
}
.post a:hover,
a:active {
outline: 0;
}
.post ::-moz-selection {
background: rgba(255, 255, 0, 0.3);
color: #000
}
.post ::selection {
background: rgba(255, 255, 0, 0.3);
color: #000
}
.post a::-moz-selection {
background: rgba(255, 255, 0, 0.3);
color: #0645ad
}
.post a::selection {
background: rgba(255, 255, 0, 0.3);
color: #0645ad
}
.postBody blockquote {
background-position-x: 10px;
}
.post blockquote {
color: #666666;
margin: 0;
padding-left: 1.5em;
border-left: 0.5em #EEE solid;
font-weight: bold;
}
.post ul,
.post ol {
margin: 1em 0;
padding: 0 0 0 2em;
}
.post li p:last-child {
margin: 0
}
.post dd {
margin: 0 0 0 2em;
}
.post img {
border: 0;
-ms-interpolation-mode: bicubic;
vertical-align: middle;
max-width: 100%;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
td {
vertical-align: top;
}
.post @media only screen and (min-width: 480px) {
body {
font-size: 14px;
}
}
.post @media only screen and (min-width: 768px) {
body {
font-size: 16px;
}
}
/*博客导航栏 */
#navList {
}
#navList li {
border: none;
font-size: 16px;
}
.blogStats {
display: none;
}
/*sideBar博客侧边栏容器*/
#sideBar {
width: 300px;
box-sizing: border-box;
margin-left: 320px;
padding: 0;
}
.newsItem,
.catListComment,
.catListEssay,
.catListView,
.catListFeedback,
#blog-calendar,
#sidebar_postcategory,
#sidebar_postcategory,
#sidebar_postarchive,
#sidebar_search {
/*侧边栏每一模块添加圆角和阴影*/
border-radius: 10px;
box-shadow: 1px 2px 3px #A7A8AD;
background-color: #fff;
}
#sideBarMain h3,
.newsItem h3 {
/*侧边栏每个模块的标题部分*/
font-size: 1.2em;
height: 50px;
line-height: 50px;
text-indent: 0.5em;
background: url(https://www.cnblogs.com/skins/red_autumnal_leaves/images/titlebg.png) no-repeat left center #fff;
padding: 0 0 0 50px;
margin-bottom: 0;
border: 1px solid #55895B;
border-left-width: 5px;
border-radius: 10px;
border-right-width: 5px;
}
/*侧边栏列表样式*/
#sideBarMain ul {
background-color: #fff;
padding: 15px 20px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
#sideBarMain li {
line-height: 40px;
border-bottom: 1px solid #ddd;
font-size: 14px;
}
/* 个性签名 */
#MySignature {
box-shadow: 8px 1px 10px #989898;
padding: 10px;
text-shadow: 1px 1px 1px #FFF;
font-size: 17px;
border-left: solid 5px #55895B;
background: #F3F3F3;
border-radius: 10px 10px 50% 10px;
line-height: 2.4;
margin: 40px 0;
}
#MySignature a {
text-decoration: none;
color: #4183c4;
font-weight: bold;
}
#MySignature a:hover {
text-decoration: underline;
color: #f60;
}
#MySignature span {
color: #f60;
}
/* 标题title样式 */
#topics .postTitle {
font-size: 25px;
padding: 0 40px;
border: none;
box-sizing: border-box;
}
#cb_post_title_url {
border: 1px solid #55895B;
border-left-width: 5px;
border-radius: 10px;
border-right-width: 5px;
background-position: left center;
padding: 15px 50px;
width: 100%;
display: inline-block;
box-sizing: border-box;
}
/*设置背景色和字体大小*/
body {
font-size: 15px;
box-sizing: border-box;
}
/*mainContent主体内容容器*/
#main {
display: flex;
width: 95%;
}
#mainContent .forFlow {
margin: 0 0 0 310px;
}
#mainContent {
margin: 0 0 0 -310px;
}
#post_detail {
overflow: hidden;
}
/* 主体内容样式 */
.postBody {
padding: 20px 40px;
}
/*标题h123*/
#cnblogs_post_body h1 {
background: linear-gradient(45deg, #FF5722, orange, #FFEB3B);
font-size: 22px;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-family: "Comic Sans MS";
display: inline-block;
}
#cnblogs_post_body h2 {
/* border-left: 5px solid #55895B;*/
background: linear-gradient(45deg, #a767e5, #fad648);
font-size: 22px;
margin: 20px 0;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-family: "Comic Sans MS";
display: inline-block;
}
#cnblogs_post_body h2:after{
content:"";
display:block;
}
#cnblogs_post_body h3 {
background: linear-gradient(45deg, #12bcfe, #add723);
font-size: 20px;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-family: "Comic Sans MS";
display: inline-block;
}
#cnblogs_post_body h4 {
font-size: 19px;
margin: 20px 0;
color: #333;
}
#cnblogs_post_body h5 {
font-size: 18px;
margin: 20px 0;
color: #333;
}
#topics .postDesc {
display: none;
}
/* 关注收藏等几个按钮 */
#green_channel {
padding: 10px;
margin: 20px 0;
font-size: 15px;
width: 400px;
}
#green_channel a {
border-radius: 3px;
text-shadow: none;
font-weight: normal;
box-shadow: none;
}
/* 禁用下划线 */
.postBody a:link,
.postBody a:visited,
.postBody a:active {
color: #f60;
text-decoration: underline;
}
/* 上一篇下一篇 */
#post_next_prev {
font-size: 14px;
color: #535353;
}
/*底部作者*/
#author_profile {}
/*
* 推荐和反对 动画声明 start
*/
@keyframes jumping {
0% {
transform: translateY(0px);
opacity:0.8
}
50% {
transform: translateY(-100px);
opacity:0.4
}
100% {
transform: translateY(0px);
opacity:0.8
}
}
#xiaociguai.enable-electric, #xiaociguai:hover {
-webkit-filter: saturate(7);
filter: saturate(7);
}
#xiaociguai {
position: fixed;
bottom: 0;
right: 0;
cursor: pointer;
z-index: 1993;
}
#xiaociguai>img {
width: 155px;
}
#xiaociguai:after{
content: "";
width: 2px;
height: 2px;
background-color: #666;
position: absolute;
left: 69px;
top: 43px;
animation: eyemove 10s ease-in-out;
animation-iteration-count: infinite;
}
#div_digg {
margin: 0;
position: fixed;
animation: jumping 5s ease-in-out;
animation-iteration-count: infinite;
z-index: 1992;
bottom: 72px;
right: 16px;
}
.diggit {
background: url(https://files.cnblogs.com/files/echoyya/o_ball2.gif) no-repeat;
border-radius: 50%;
box-shadow: inset 0 0 15px 5px #fff;
cursor: pointer;
height: 100px;
margin: 0;
padding: 0;
width: 100px;
text-align: center;
}
.diggit::before {
/*content:"\8FD9\91CC\662F\7089\8D5E\54E6"; 这里是点赞哦*/
content: "";
position: absolute;
top: -40px;
left: 7px;
font-size: 14px;
color: #5bf;
}
#div_digg .diggnum {
color: #eee;
font-family: Verdana;
font-size: 35px;
line-height: 2em !important;
}
#digg_tips {
color: #fa5 !important;
width: 200px;
text-align: center;
margin-left: -50px;
margin-top: -134px;
}
a.digg_gray {
font-size: 18px;
}
.buryit {
display: none;
}
/* 动画声明 end */
/*隐藏广告*/
#ad_t2,
#cnblogs_c1,
#under_post_news,
#cnblogs_c2,
#under_post_kb {
display: none;
}
/*侧边栏公告*/
#blog-news>img {
/*头像*/
display: block;
margin: auto;
border-radius: 50%;
}
#profile_block {
font-size: 15px;
padding: 18px;
line-height: 1.8;
}
#profile_block>a {
color: #F60;
}
/*公告结束*/
/* 日历 */
#blog-calendar,
#calendar {
width: 300px;
}
#blog-calendar td {
padding: 5px 3px;
font-size: 14px;
}
#blog-calendar td a {
font-weight: bold;
color: #59a020;
}
#blog-calendar table a:hover {
color: #59a020;
text-decoration: underline;
background: transparent;
}
#blog-calendar table u {
text-decoration: none;
}
/*日历结束*/
/*侧边搜索框*/
.mySearch {
padding-bottom: 10px;
}
.mySearch>div {
padding-top: 10px
}
.mySearch #q {
height: 40px;
width: 150px;
border-radius: 5px;
border: 1px solid #ddd;
}
.mySearch #btnZzk {
height: 42px;
width: 90px;
background: #fd6d0dd1;
color: #fff;
border-radius: 5px;
border: none;
font-size: 15px;
cursor: pointer;
}
.div_my_zzk {
padding: 0 20px;
display: flex;
justify-content: space-around;
}
/*搜索框结束*/
/*评论*/
/*评论列表*/
#blog-comments-placeholder {
border-radius: 10px;
background: #fff;
padding: 30px 40px;
}
.feedback_area_title {
background: url(//www.cnblogs.com/skins/red_autumnal_leaves/images/titlebg.png) no-repeat left center #fff;
border: 1px solid #55895B;
border-left-width: 5px;
border-radius: 10px;
border-right-width: 5px;
padding: 15px 50px;
}
/* 提交评论按钮 */
#btn_comment_submit {
border: solid 1px #fd6d0dd1 !important;
width: 90px;
height: 40px;
color: #fff !important;
background-color: #fd6d0dd1 !important;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
}
/*侧边评论*/
li.recent_comment_body {
line-height: 30px;
}
#blog-calendar td a {
color: #f60
}
#widget_my_google {
display: none;
}
.c_b_p_desc_readmore {
color: #f60 !important;
font-weight: bold;
}
#comment_nav {
padding: 10px 10px 0 0;
font-size: 18px;
}
#comment_nav a {
color: #666666;
}
#MySignature {
border: solid 1px #E5E5E5;
padding: 10px;
background: #E5EEF7 url(https://images.cnblogs.com/cnblogs_com/grenet/226272/o_o_o_info.png) no-repeat scroll 15px 50%;
padding-left: 80px;
}
#MySignature div {
line-height: 20px;
}
.cnblogs-markdown p code,
.cnblogs-markdown li code {
background-color: #f8f8f8 !important;
border: none !important;
color: #d63200;
margin: 0 2px;
border-radius: 2px !important;
font-size: 15px !important;
font-weight: bold;
}
.cnblogs-markdown pre {
box-shadow: rgba(0, 0, 0, 0.55) 0px 0px 5px !important;
}
.cnblogs-markdown pre:before {
content: '';
display: block;
background: url(https://files.cnblogs.com/files/echoyya/mac_head.gif);
height: 35px;
width: 100%;
background-size: 40px;
background-repeat: no-repeat;
background-color: #fff;
margin-bottom: -7px;
border-radius: 5px;
background-position: 10px 10px;
}
.cnblogs-markdown .hljs,
.cnblogs-post-body .hljs {
border: none !important;
padding: 15px !important;
}
.reader-post-info {
display:none;
}
mark {
padding:3px 5px;
background: #dbf5ba;
}
#cnblogs_post_body a:link {
text-decoration: none;
}
.postBody a:link, .postBody a:visited, .postBody a:active {
text-decoration: none;
color: #00965e;
}
.postBody a:hover {
color: #f60;
text-decoration: underline;
}