/*设置文本选中颜色，看起来更酷一些*/
::selection { 
    color:white;
    background-color:#334960;
}
::-moz-selection { 
    color:white;
    background-color:#334960;
}
::-webkit-selection { 
    color:white;
    background-color:#334960;
}
#lyy01{
height:696px;
width: 1194px;
}

/**************************************************
第一部分：所有的模板都使用的公共样式。公告样式是为了更好的向前和向后兼容。
如果不符合你皮肤的要求，你可以在后面通过更高的优先级覆盖着这些样式，但是
你不能删除这些样式。
**************************************************/

#EntryTag {
    margin-top: 20px;
    font-size: 9pt;
    color: gray;
}

.topicListFooter {
    text-align: right;
    margin-right: 10px;
    margin-top: 10px;
}

#divRefreshComments {
    text-align: right;
    margin-right: 10px;
    margin-bottom: 5px;
    font-size: 9pt;
}

/*****第一部分结束*******************************/


/**************************************************
第二部：公共样式（全局样式）。公共会对所有页面的标签都起作用。这个部分你
可以随意的更改，并不会牵扯到其他的皮肤模板。但是每次更改都要注意你的皮肤
模板所有页面的变化。因为它们是全局的。
**************************************************/

* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
color: #000;
background: url(https://images.cnblogs.com/cnblogs_com/GraceSkyer/1181486/o_%e5%b0%8f%e5%9c%861.jpg) fixed;
background-size: cover;
background-repeat: no-repeat;
font-family: "Helvetica Neue",Helvetica,Verdana,Arial,sans-serif;
font-size: 12px;
min-height: 101%;
}

body.night{
    background-color: #263238;
    color: #aaa;
}
body.night img {
    filter: brightness(30%);
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset,
img {
    border: 0;
}

ul {
    word-break: break-all;
}

li {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

a {
    outline: none;
}

a:link {
    color: black;
    text-decoration: none;
}

a:visited {
    color: black;
    text-decoration: none;
}

a:hover {
    color: #F60;
    text-decoration: none;
}

a:active {
    color: black;
    text-decoration: none;
}

.clear {
    clear: both;
}

/*****第二部分结束*******************************/


/**************************************************
第三部分：各个页面元素的样式。你可以根据需要随意的更改，并不会牵扯到其他
的皮肤模板。这个部分是最能展现你想象力的部分。其中头部和侧边栏部分是此皮
肤公共的部分。而每个页面特有的部分会有相应的注释和说明。
**************************************************/


/*****home和头部开始**************************/

#home {
    margin: 0 auto;
    width: 80%;
    min-width: 950px;
    background-color: rgba(253, 255, 253, 0.66);
    padding: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
    box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}
#header {
    padding-bottom: 5px;
    margin-top: 10px;
}
#blogTitle {
    height: 60px;
    clear: both;
}

#blogLogo {
    float: right;
}
fieldset, img {
    border: 0;
}
#blogTitle h1 {
    font-size: 50px;
    font-weight: bold;
    line-height: 1.5em;
    margin-top: 10px;
    height: 110px;
}
#blogTitle h1 a {
    color: #05086ee6;
    font-family: "Comic Sans MS";
}
#blogTitle h2 {
    font-weight: normal;
    font-size: 15px;
    line-height: 2.5;
    color: rgb(152, 36, 36);
    float: left;
    margin-top: -150px;
}
#navigator {
    font-size: 15px;
    border-bottom: 1px solid #ededed;
    border-top: 1px solid #ededed;
    height: 50px;
    clear: both;
    margin-top: 25px;
}
#navList {
    min-height: 30px;
    float: left;
}
#navList li {
    float: left;
    margin: 0 40px 0 0;
}
li {
    list-style: none;
}
.blogStats {
    float: right;
    color: #757575;
    margin-top: 19px;
    margin-right: 2px;
    text-align: right;
}



/*****home和头部结束**************************/


/*****主页文章列表开始**************************/

#main {
    width: 100%;
    text-align: left;
    margin-top: 30px;
}
#mainContent {
    min-height: 200px;
    padding: 0px 0px 10px 0;
    *padding-top: 10px;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    float: left;
    margin-left: -22em;
    width: 100%;
}
#mainContent .forFlow {
    margin-left: 22em;
    float: none;
    width: auto;
}
.day {
    min-height: 10px;
    _height: 10px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    position: relative;
}
.dayTitle {
    //display: none;
    border: 1px solid #DA12B4;
    background: azure;
    border-radius: 50%;
    font-size: 12px;
    height: 65px;
    line-height: 1.5;
    margin: 15px;
    text-align: center;
    width: 63px;
    margin-left: -100px;
    clear: both;
    position: absolute;
    top: -15px;
}
.dayTitle a {
    display: inline-block;
    color: #DA12B4;
    margin-top: 15px;
    width: 60px;
}
.postTitle {
    border-left: 3px solid #7e219b;
    margin-bottom: 10px;
    font-size: 20px;
    float: right;
    width: 100%;
    clear: both;
}
.day .postTitle a {
    padding-left: 0px;
}


.postTitle::before,
.entrylistPosttitle::before {
    content: '~';
    color: #7e219b;
    font-size: 1.3rem;
    font-weight: 900;
    display: inline-block;
}

.postTitle a,
.entrylistPosttitle a {
    text-decoration: none;
    font-size: 1.3rem;
    color: #7e219b;
    transition: margin-left 0.4s;
}
.postTitle a:hover {
    margin-left: 1.2rem;
}



.postCon {
    float: right;
    line-height: 1.5em;
    width: 100%;
    clear: both;
    padding: 10px 0;
}
.c_b_p_desc {
    font-size: 14px;
    line-height: 1.7;
}
.c_b_p_desc {
    word-wrap: break-word;
    word-break: break-all;
    overflow: hidden;
    line-height: 1.5;
}
.postCon a:link, .postCon a:visited, .postCon a:active {
    text-decoration: underline;
}

.c_b_p_desc_readmore {
    padding-left: 5px;
}

.postDesc {
    font-size: 13px;
    color: #757575;
    float: left;
    width: 100%;
    clear: both;
    text-align: left;
    padding-left: 20px;
    padding-right: 5px;
    margin-top: 20px;
    line-height: 1.5;
}
.topicListFooter {
    text-align: right;
    margin-right: 10px;
    margin-top: 10px;
}


/*****主页文章列表结束**************************/


/*****侧边栏开始********************************/
#sideBar {
    font-size: 12px;
}
#sideBar {
    margin-top: -15px;
    width: 230px;
    min-height: 200px;
    padding: 0px 0 0px 5px;
    float: right;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}
.newsItem, .catListEssay, .catListLink, .catListNoteBook, .catListTag, .catListPostCategory, .catListPostArchive, .catListImageCategory, .catListArticleArchive, .catListView, .catListFeedback, .mySearch, .catListComment, .catListBlogRank, .catList, .catListArticleCategory {
   /* background: #fff;*/
    margin-bottom: 35px;
    word-wrap: break-word;
}
#sideBar h3 {
    font-size: 14px;
}
.newsItem .catListTitle {
}
.catListTitle {
    margin-top: 21px;
    margin-bottom: 10.5px;
    text-align: left;
    border-left: 10px solid rgba(236, 82, 229, 0.8);
    padding: 12px 0 12px 10px;
    background-color: rgba(253, 255, 253, 0.66);/*#f5f5f5;*/
}
.catListTitle {
    font-weight: bold;
    line-height: 1.2;
    font-size: 110%;
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: left;
}
#blog-calendar {
    width: 228px;
    padding-bottom: 5px;
    margin-bottom: 35px;
    box-shadow: 0 1px 3px #ccc;
    border: 1px solid #EDEDED;
}
.clear {
    clear: both;
}

/*****侧边栏结束********************************/


/* 文章查看部分 */

#post_detail,
.feedbackItem,
#comment_form_container,
#divCommentShow > div,
#under_post_news,
#under_post_kb,
.entrylistItem,
#myposts,
#ad_t2 {
    color: #000;
background-size: cover;
background-repeat: no-repeat;
font-family: "Helvetica Neue",Helvetica,Verdana,Arial,sans-serif;
font-size: 12px;
min-height: 101%;
}


/* 文章后的作者信息，支持/反对 */

#author_profile {
    width: 150px;
    float: left;
    margin-top: 10px;
}

#green_channel {
    float: right;
    position: relative;
    border: none;
    right: 150px;
}

#div_digg {
    float: right;
    position: relative;
    left: 360px;
}

#digg_tips {
    display: none;
}


/* 评论区 */

.feedback_area_title,
#commentform_title,
.entrylistTitle,
.myposts_title {
    font-size: 1.2rem;
    color: #531e1e;
    background-color: #F8F7FE;
    width: 900px;
    padding: 0.4rem 0.6rem;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

.feedbackItem {
    margin-bottom: 1rem;
    position: relative;
}

.feedbackListSubtitle {
    color: white;
    font-size: 0;
}

.feedbackManage {
    z-index: 5;
    font-size: 1rem;
    position: absolute;
    bottom: 0.6rem;
    right: 1rem;
}

a.layer {
    font-style: italic;
    position: absolute;
    font-size: 3.5rem;
    color: black;
    opacity: 0.1;
    bottom: 0;
    right: 1rem;
    z-index: 1;
}

.comment_date {
    font-size: 1rem;
    position: relative;
    left: 0.5em;
    color: gray;
}

.blog_comment_body {
    margin: 8px;
}

.comment_vote {
    text-align: left;
    position: relative;
    right: 0.6rem;
}

a[id^='a_comment_author'] {
    font-size: 1rem;
    float: left;
}

.louzhu::before,
.comment_my_posted b::before,
.new-comment-title a:nth-child(2)::before {
    color: white;
    font-size: 1rem;
    content: '博主';
    display: inline-block !important;
    background-color: #d216e6;
    padding: 0 0.2rem;
    border-radius: 4px;
    vertical-align: bottom;
}

.louzhu::before {
    margin-left: 0.5rem;
}

.sendMsg2This {
    display: none;
}

legend > a::before {
    content: '查看';
}

.comment_quote,
.postBody blockquote {
    position: relative;
    border: none;
    border-left: 10px solid lightgray;
    background-color: rgba(0, 0, 0, 0.05);
}

#comment_form {
    position: relative;
}

#comment_nav {
    width: 900px;
    margin: 2rem 0;
}


/* 发布评论 */

#comment_nav > a,
#span_refresh_tips,
#btn_comment_submit,
#commentbox_opt a {
    padding: 0.6rem 0.8rem;
    background-color: #DE3E24;
    color: white !important;
    margin: 1rem;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

#span_refresh_tips {
    display: none;
}

#commentform_title {
    background-image: none;
    position: relative;
    right: 1rem;
    bottom: 0.6rem;
    margin-bottom: 0;
}

#tip_comment {
    position: absolute;
    top: 0.1rem;
}

#tbCommentAuthor {
    background: none;
    border: none;
    padding: 0;
    font-size: 1rem;
    width: calc(100% - 3rem);
}

.comment_my_posted > img {
    display: none;
}

.comment_my_posted b::before {
    margin-right: 0.5rem;
    font-weight: 500;
    content: '发布中';
    background-color: skyblue;
}

.new-comment-title .comment_date {
    display: none;
}

.new-comment-title a:nth-child(2) {
    float: left;
}

.new-comment-title a:nth-child(2)::before {
    margin-right: 0.5rem;
    content: '已发布';
    background-color: lightgreen;
}

.new-comment-title a {
    float: right;
}

#tbCommentBody {
    height: 10rem;
    width: 860px;
    font-size: 1rem;
    font-family: 'Monaco', '文泉驿微米黑', '微软雅黑';
    resize: none;
}

#btn_comment_submit {
    border: none;
    width: unset;
    height: unset;
    font-size: 1rem;
}

#commentbox_opt a:last-child {
    background-color: gray;
}

#comment_form_container > p:nth-last-child(2) {
    color: gray;
    bottom: 2rem;
    position: relative;
    float: right;
}


/* 随笔档案（按时间分类） */

.entrylistPosttitle a {
    margin-left: 0.3rem;
}

.entrylistPosttitle a:hover {
    margin-left: 1.5rem;
}


/* 随笔标签 */

#myposts {
    margin: 0;
    padding: 0;
}

.myposts_title {
    font-size: 1.2rem !important;
}

.PostList {
    font-size: 1rem !important;
    padding: 1rem;
    margin: 0 !important;
    border-bottom: 1px solid gray;
}

.PostList:nth-last-child(2) {
    border: none;
}

.postDesc2 {
    float: right;
}


/* 页尾footer */

#footer {
    text-align: center;
    margin-bottom: 3rem;
}


/* 比较影响页面一致性的广告 */

#ad_c1,
#ad_c2 {
    display: none
}


/*****第三部分结束*******************************/


/**************************************************
第四部分：文章内容常用标签格式。这个部分是设置作者写作内容的部分。例如：
如果作者的文章用有p标签，则可通过这个对这些文章中的p标签进行设置。前面
的“.postBody”明确的指出了这里样式的作用范围。仅仅适用于文章主体部分。
建议这个不要设置过于详细的细节。因为，一些样式，一篇文章比较适合的话，
并不能保证所有的文章都适合。
**************************************************/


/*文章内部常用标签格式*/

#EntryTag,
#post_next_prev {
    font-size: 1rem;
}

#cnblogs_post_body code {
    font-family: 'Monaco', 'Consolas', monospace, '文泉驿微米黑', '微软雅黑' !important;
    white-space: pre;
}

.postBody img {
    max-width: 100% !important;
}

.postBody blockquote {
    position: relative;
    border: none;
    border-left: 10px solid lightgray;
    background-color: rgba(0, 0, 0, 0.05);
}


/*****第四部分结束*******************************/


/**************************************************
第五部分：响应式视图布局。
**************************************************/

@media screen and (max-width:1200px) {
    #navigator {
        width: 100%;
        overflow: scroll;
    }
    #navList {
        margin: 0;
        width: max-content;
    }
    #blogTitle h1,
    #blogTitle h2 {
        margin-left: 2rem;
        width: max-content;
    }
    #main {
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    .dayTitle,
    #comment_form_container > p:nth-last-child(2),
    .postText2 {
        display: none;
    }
    #mainContent,
    #sideBar,
    .day,
    .feedback_area_title,
    .entrylistTitle,
    .myposts_title,
    .feedbackItem,
    #post_detail,
    #comment_form_container,
    #divCommentShow > div,
    #under_post_news,
    #under_post_kb,
    .entrylistItem,
    #myposts,
    #comment_nav,
    #ad_t2 {
        width: 100% !important;
    }
    #green_channel {
        width: max-content;
        float: none;
        right: 0;
    }
    #div_digg {
        position: inherit;
    }
    #blogCalendar td.CalTodayDay {
        background-color: teal;
    }
    #blogCalendar td.CalTodayDay::before {
        display: none;
    }
    #commentform_title {
        width: calc(100% + 2rem);
    }
    #tbCommentBody {
        width: calc(100% - 0.5rem);
    }
    .commentbox_title {
        width: 300px;
    }
    .commentbox_title_right {
        float: none;
    }
    .PostList {
        padding: 0.5rem 0.5rem 0;
    }
    .postDesc2 {
        display: block;
        margin-top: 1rem;
    }
}

@media screen and (max-width:1200px) and (min-width:900px) {
    #main,
    #mainContent,
    #sideBar,
    #blogTitle h1,
    #blogTitle h2 {
        width: 900px;
    }
}


/*****第五部分结束*******************************/