/**body添加相对定位**/
html {
    position: relative;
}
#home {
    margin: 0 auto;
    min-width: 980px;
}
/**header**/
#header {
    margin-top: 0;
   padding-top: 30px; 
}
/**主标题**/
#blogTitle h1 {
    font-size: 150%;
    font-weight: bold;
    line-height: 1.5em;
    margin-left: 0.5px;
    margin-top: 10px;
    margin-bottom: 15px;
    width: 50%;
    float: left;
    display: inline;
    letter-spacing: 1px;
}
/**副标题**/
#blogTitle h2 {
    margin: 0;
    height: 30px;
    width: 50%;
    float: left;
    position: relative;
}
#blogTitle h2 p {
    position: absolute;
    left: 0;
    top: 0;
    height: 30px;
    line-height: 30px;
    color: #fff;
    overflow: hidden;
    font-size: 16px;
    animation: subTitleMove 6s ease-in-out infinite alternate;
}
@keyframes subTitleMove {
    from {
      left: 0;
    }
    to {
      left: 70%;
    }
  }
/**打字机**/
.printer-wrapper {
    width: 500px;
    height: 116px;
    position: absolute;
    top: 30px;
    right: 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    background-color: #333;
    color: #eee;
    padding: 10px;
    font-family: Consolas, serif;
    box-sizing: border-box;
}
/**内容区域**/
#main {
    min-width: 980px;
    text-align: left;
    clear: both;
    background: #fff;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
/**导航栏**/
#navigator {
    background-color: #333;
    height: 60px;
    clear: both;
    margin-top: 60px;
    position: relative;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
#navList {
    float: left;
    height: 60px;
    overflow: hidden;
}
#navList a {
    margin: 0;
    display: inline-block;
    height: 60px;
    line-height: 60px;
    width: 80px;
    text-align: center;
    text-decoration: none;
    transform: all 1s;
}
#navList a:link {
    color: #fff;
}
#navList a:hover {
    text-decoration: none;
    background-color: deepskyblue;
    font-size: 18px;
}
/**侧边栏加透明背景**/
#sideBar {
    min-height: 200px;
    padding: 0 5px 0 5px;
    margin-left: 700px;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
    _margin-left: 0;
    _width: 240px;
    padding-bottom: 20px;
}
/****/
.div_my_zzk {
    margin: 5px 0;
    height: 40px;
}
.mySearch .input_my_zzk {
   width: calc(100% - 90px);
    float: left;
   -webkit-appearance: none;
    background-color: #fff;
    background-image: none;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    font-size: inherit;
    height: 40px;
    line-height: 40px;
    outline: none;
    padding: 0 15px;
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
}
.mySearch .input_my_zzk:focus {
   outline: none;
   border-color: #409eff;
}
input.btn_my_zzk {
    display: inline-block;
    float: left;
    margin-left: 10px;
    font-size: 14px;
    height: 40px;
    width: 70px;
    background: #3a8ee6;
    text-align: center;
    line-height: 40px;
    border: none;
    color: #fff;
    border-radius: 5px;
    font-family: "Microsoft Yahei","Simsun",Arial;
    cursor: pointer;
}
input.btn_my_zzk:focus {
    outline: none;
}
.div_my_zzk input.btn_my_zzk:hover {
    background-color: #85ce61;
}
/**google按钮颜色修改**/
input.btn_my_zzk:last-child {
    background-color: #67c23a;
}
/**搜索提示框**/
.catListTitle {
    text-align: left;
    padding: 5px 10px;
    background: #f0f0f0;
    border-bottom: none;
    font-size: 18px;
    letter-spacing: 2px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
/**文章标题**/
#topics .postTitle {
    font-size: 20px;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #999;
    padding: 0 0 0 5px;
}
/**推荐与反对**/
#div_digg {
    font-size: 12px;
    width: 125px;
    text-align: center;
    background-color: rgba(255,255,255,1);
    position: fixed;
    left: 0;
    bottom: 30px;
    transform: translate(20px,-50%);
    margin: 0;
    border-radius: 5px;
}
/**点赞**/
.diggit {
    width: 125px;
    height: 52px;
    text-align: center;
    cursor: pointer;
    margin-top: 2px;
    background-image: url('https://files.cnblogs.com/files/resolvee/good.bmp');
    background-position: right top;
    background-size: 52px 52px;
}
#div_digg .diggnum {
    font-size: 14px;
    color: #075db3;
    font-family: Verdana;
    display: inline-block;
    height: 52px;
    line-height: 52px !important;
    width: 45px;
    text-align: center;
    float: left;
}
/**不喜欢**/
.buryit {
    width: 125px;
    height: 52px;
    text-align: center;
    cursor: pointer;
    margin-top: 2px;
    background-image: url('https://files.cnblogs.com/files/resolvee/bad.bmp');
    background-position: right top;
    background-size: 52px 52px;
}
#div_digg .burynum {
    font-size: 14px;
    color: #075db3;
    font-family: Verdana;
    display: inline-block;
    height: 52px;
    line-height: 52px !important;
    width: 45px;
    text-align: center;
    float: left;
}
/**常用链接**/
.catListLink ul li a {
    text-decoration: none;
    font-size: 14px;
    position: absolute;
    top: 8px;
    left: 10px;
    transition: all 0.5s;
}
.catListLink ul li a:hover {
    left: 30px;
}
.catListLink ul li {
    height: 30px;
    margin: 0;
    position: relative;
}
/**随笔档案**/
#sidebar_postarchive a {
    text-decoration: none;
    font-size: 14px;
}
/**公告**/
#profile_block{
    font-size: 14px;
}
#profile_block a{
    text-decoration: none;
}
/**评论内容**/
div.commentform textarea.comment_textarea {
    display: block;
    resize: vertical;
    padding: 5px 15px;
    line-height: 1.5;
    box-sizing: border-box;
    width: 70%;
    font-size: inherit;
    color: #606266;
    background-color: #fff;
    background-image: none;
    border: 1px solid #dcdfe6;
    min-height: 100px;
    max-height: 300px;
    border-radius: 4px;
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
}
div.commentform textarea.comment_textarea:focus {
    outline: none;
    border-color: #409eff;
}
/**发表评论**/
div.commentform input.author, div.commentform input.email, div.commentform input.url {
    background-image: url(//static.cnblogs.com/images/icon_form.gif);
    background-repeat: no-repeat;
    border: 1px solid #ccc;
    padding: 4px 4px 4px 30px;
    width: 300px;
    font-size: 13px;
    border-radius: 5px;
}
/**提交评论按钮**/
#btn_comment_submit {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #dcdfe6;
    color: #409eff;
    background: #ecf5ff;
    border-color: #b3d8ff;
    -webkit-appearance: none;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    transition: .1s;
    font-weight: 500;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px;
}
#btn_comment_submit:focus, #btn_comment_submit:hover {
    background: #409eff;
    border-color: #409eff;
    color: #fff;
}
.comment_btn {
    width: 100px;
    text-align: center;
    height: 40px;
}
/**退出按钮**/
#commentbox_opt a {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #dcdfe6;
    color: #f56c6c;
    background: #fef0f0;
    border-color: #fbc4c4;
    -webkit-appearance: none;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    transition: .1s;
    font-weight: 500;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
}
#commentbox_opt a:hover {
    background: #f56c6c;
    border-color: #f56c6c;
    color: #fff;
}
/**隐藏广告**/
#ad_t2, #cnblogs_c1, #under_post_news, #cnblogs_c2, #under_post_kb {
    display: none;
}
/**好文要顶 关注我 收藏该文 外部wrapper**/
#green_channel {
    padding: 10px 0;
    margin-bottom: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    font-size: 12px;
    width: 350px;
    text-align: center;
    border-radius: 5px;
}