/*光标*/
body { cursor:url("https://files.cnblogs.com/files/allenem/cursor1.ico"),auto;}

#clockdiv {
    text-align: center;
}

/*相册*/
.gallery img{width:100% !important; height:auto !important;}

#blogTitle h1 a, #blogTitle h2 {
    color: #fff;
    font-family: 'PingFang SC','Helvetica Neue','Helvetica','Arial','Microsoft Yahei',sans-serif;
    text-shadow: -2px -2px 10px rgba(0,0,255,1),2px 2px 10px rgba(0,0,255,1);
}
#blogTitle h1{
    margin-top:0;
    animation: blink 10s linear infinite;  
    /* 其它浏览器兼容性前缀 */
    -webkit-animation: blink 10s linear infinite;
    -moz-animation: blink 10s linear infinite;
    -ms-animation: blink 10s linear infinite;
    -o-animation: blink 10s linear infinite;
}
#blogTitle h2 {
    margin-top: 0em; 
    margin-left: 5em;;
}

/* 定义keyframe动画，命名为blink */
@keyframes blink{
  0%{opacity: 1;}
  50%{opacity: 0.3;} 
  100%{opacity: 1;}
}
/* 添加兼容性前缀 */
@-webkit-keyframes blink {
  0%{opacity: 1;}
  50%{opacity: 0.3;} 
  100%{opacity: 1;}
}
@-moz-keyframes blink {
  0%{opacity: 1;}
  50%{opacity: 0.3;} 
  100%{opacity: 1;}
}
@-ms-keyframes blink {
  0%{opacity: 1;}
  50%{opacity: 0.3;} 
  100%{opacity: 1;}
}
@-o-keyframes blink {
  0%{opacity: 1;}
  50%{opacity: 0.3;} 
  100%{opacity: 1;}
}

/*logo*/
#blogLogo{
    margin-right: 5px;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 50%;
    opacity: 1;
}
/*旋转*/
#lnkBlogLogo img:hover {
    -webkit-transform: rotateZ(-360deg);
    -moz-transform: rotateZ(-360deg);
    -ms-transform: rotateZ(-360deg);
    -o-transform: rotateZ(-360deg);
    transform: rotateZ(-360deg);
}
#lnkBlogLogo img {
    -webkit-transition: all 0.6s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

/* 背景图 */
body {
    background-image: url('https://images.cnblogs.com/cnblogs_com/allenem/1474788/o_bg1.jpg');
    /*background-image: url('https://images.cnblogs.com/cnblogs_com/allenem/1474788/o_%E7%84%B0%E7%81%B5%E5%A7%AC.jpg');*/
    /*background-image: url('https://images.cnblogs.com/cnblogs_com/allenem/1474788/o_bg2.jpg');*/
    /*background-image: url('https://i0.hdslb.com/bfs/article/a19ebca377ffc63b916fab2a41c0c37ce1d564dd.png@1320w_1118h.webp');*/
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 透明 */
#home {
    width:80%;
    opacity: 0.85;
}

/*字体大小*/
#cnblogs_post_body table, .cnblogs-post-body table, #cnblogs_post_body p, .postBody ul, .postCon ul{
    font-size: 16px;
} 

#mainContent {
    width: 70%;
}
#sideBar {
    margin-left: 70%;
}

#main {
    min-width: 0px; 
}

/* 导航栏 */
#navigator {
    background: #E8E8E8;
    height: 40px;
    line-height: 40px;
    color: #999;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-left: 15px;
    padding-right: 5px;
    padding-top: 2px;
    border-radius: 8px;
    box-shadow: 3px 3px 3px #888;
}

/* 导航栏左侧 */
#navList a {
    margin: 0;
    height: 40px;
    line-height: 40px;
}
#navList a:link, #navList a:visited, #navList a:active{
    /*color: #0378bb; */
    color:#3d97cb;
    font-weight: bold;
}
#navList a:hover {
    text-decoration:none;
    color:orange;
}
/* 导航栏右侧 */
.blogStats {
    margin-top: 0px;
    visibility: visible;
    color: #000;
}

/*左边距*/
#mainContent .forFlow {
    padding-left: 8px;
}

/*每天内容*/
.day {
    border: 1px solid #CCC;
    border-radius: 16px;
    margin: 20px 0;
}

/*标题*/
.postTitle {
    padding: 10px 0 10px 20px;
    border-bottom: 3px solid #0378bb;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 -1px 8px rgba(0,0,0,.4);
}
.postTitle a:hover {
    text-decoration: none;
    color:orange;
}

/*摘要*/
.postCon {
    float:left;
    padding: 20px 20px 20px 20px;
    border-bottom: 1px solid #CCC;
}

/*公告*/
.newsItem {
    margin-top: -25px;
    border: 1px solid #CCC;
    border-radius: 16px;
}

/*日历*/
#blog-calendar {
    border: 1px solid #CCC;
    border-radius: 16px;
    margin-bottom: 2em;
}
.CalTodayDay {
    background: #3671a5 !important;
    color: #FFF;
    font-weight: bold;
}

/*搜索等*/
#leftcontentcontainer {
    border: 1px solid #CCC;
    border-radius: 16px;
}

.mySearch .input_my_zzk {
    width: 55%;
}
input.btn_my_zzk{
    width:40%;
}
/*小火箭*/
/*回到顶部*/
#rocket-to-top div {
    left: 0;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    top: 0;
    width: 149px;
}
#rocket-to-top .level-2 {
    background: url("https://images2015.cnblogs.com/blog/894443/201707/894443-20170716165243785-2122236756.png") no-repeat scroll -149px 0 transparent;
    display: none;
    height: 250px;
    opacity: 0;
    z-index: 1;
}
#rocket-to-top .level-3 {
    background: none repeat scroll 0 0 transparent;
    cursor: pointer;
    display: block;
    height: 150px;
    z-index: 2;
}
#rocket-to-top {
    background: url("https://images2015.cnblogs.com/blog/894443/201707/894443-20170716165243785-2122236756.png") no-repeat scroll 0 0 transparent;
    cursor: default;
    display: block;
    height: 250px;
    margin: 0 0 0;
    overflow: hidden;
    padding: 0;
    position: fixed;
    right: 0;
    top: 80%;
    width: 149px;
    z-index: 11;
}

/*目录样式*/
#sideCatalog a{
  font-size:12px;
  font-weight:normal !important;
}
#sideCatalogBtn {
    position: relative !important;
    float: right;
}

/*去新闻*/
#site_nav_under {
    display: none;
}
.c_ad_block, .ad_text_commentbox {
    display: none;
    margin: 0;
    padding: 0;
}
#ad_under_google {
    height: 0;
    overflow: hidden;
}
#ad_under_google a {
    display: none;
}

/*好看的滚动条*/
::-webkit-scrollbar{
    width:10px!important;
    height:10px!important;
    -webkit-appearance:none;
}
::-webkit-scrollbar-thumb{
    height:5px;border:1px solid transparent;
    border-top:none;border-bottom:none;
    -webkit-border-radius:6px;
    background-color:rgba(0,0,0,.3);
    background-clip:padding-box;
}


/* 看板娘 */
canvas#live2dcanvas {
border: 0 !important;
left: 0;
width:200px;
height:400px;
}

/*手机自适应*/
@media screen and (max-width: 768px){
#home{
    width:100vw;
}

#blogLogo {
    float: left;
}

.blogStats{
    /*visibility:hidden;*/
    color:#0f0;
}

#sideBar{
    width: 90vw;
    margin-left: 0;
    padding: 0 5vw 10vw 5vw;
}

#mainContent {
    width: 90vw;
    margin-left: 0;
    padding: 0 5vw 0 5vw;
}
#mainContent .forFlow {
    padding-left: 0;
}
#mainContent .day{
    margin:20px 0 0 0;
    padding:0;
    width: 100%;
}
.topicListFooter{
    margin:0;
}

.postTitle {
    width: 85vw;
    padding: 10px 0 10px 3vw;
    float:left;
    border-left: 2vw solid #3d97cb
}

#postTitle a:hover {
    text-decoration:none;
    color:orange;
}
.postCon {
    float: left;
    padding: 2.5vw;
    width: 85vw;
}
/* 看板娘1 */
canvas#live2dcanvas {
width:30vw;
height:60vw;
}

}

#divdown1{
    float:right;
    font-size:18px;
    color:#0f0;
}

/*评论区*/
.commentform {
    margin: 5px !important;
    padding: 0 ;
}

div.commentform textarea {
    padding: 0 !important;
}
/*
#tbCommentAuthor{
    width: 60vw !important;
}
*/
/*点击烟花*/
.Fireworks{width:4px; height: 4px; position: absolute;}
.heart{width: 10px;height: 10px;position: fixed;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}