/*全局样式*/
body {
  background-image: url('https://images.cnblogs.com/cnblogs_com/iyangyuan/434969/o_bg.png');
  background-color: #E9E9E9;
  color: #666;
  line-height: 2em;
}
.postBody>div#cnblogs_post_body>img, .postBody>div#cnblogs_post_body>p img {
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0,0,0,.35);
}
a {
  transition: .5s;
}
/*头部title样式*/
#home {
  width: 100%;
}
#header {
  border-top: none;
  margin-top: 0;
  border-bottom: none;
}
#blogTitle a {
  color: #fff;
}
#blogTitle {
  position: relative;
  background-image: url('https://images.cnblogs.com/cnblogs_com/iyangyuan/434969/o_header_bg_cloude.jpg');
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center top;
  width: 100%;
  height: 255px;
  text-align: center;
  color: #fff;
}
#blogTitle h1 {
  width: 100%;
  color: #fff;
  margin-top: 100px;
  font-size: 36px;
  margin-left: 0;
}
#blogTitle h2 {
  width: 100%;
  margin-top: 10px;
  margin-left: 0;
}
/*头部nav样式*/
#navigator {
  background-color: #fff;
  height: 155px;
  padding-top: 50px;
  border: 1px solid #ddd;
}
#navList {
  float: none;
  margin: 20px auto 0 auto;
  width: 800px;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
#navList>li {
  float: left;
  position: relative;
  display: block;
}
#navList a {
  border: none;
  position: relative;
  display: block;
  padding: 10px 15px;
  color: #000 !important;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}
#navList a:hover {
  background-color: #fff;
  text-decoration: none;
  color: #0e90d2 !important;
}
/*内容主体样式*/
#main {
  width: 90%;
  margin: 50px auto 0 auto;
}
#sideBar {
  float: right;
}
#mainContent {
  float: left;
}
/*文章列表样式*/
#mainContent .forFlow {
  border: 1px solid #ddd;
  border-top: solid 4px #ff7227;
  background-color: #fff;
  padding: 25px 15px;
  color: #666 !important;
}
#mainContent .forFlow a, #sidebar_toptags .catListTag ul li, #sidebar_toptags .catListTag ul li > a, #sidebar_topdiggedposts .catListView ul li > a {
  color: #666;
}
#mainContent .forFlow a:hover, #sidebar_toptags .catListTag ul li > a:hover, #sidebar_topdiggedposts .catListView ul li > a:hover {
  color: #F60;
}
#mainContent .forFlow a:visited {
  /*color: #666 !important;*/
}
.postTitle {
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  font-size: 130%;
}
.postCon div {
  line-height: 2em;
}
.postSeparator {
  border: none;
}
.postDesc {
  color: #ccc;
  margin-bottom: 20px;
}
.dayTitle {
  border: 1px solid #ddd;
  background-color: #F5F5F5;
  padding: 5px;
}
/*side列表样式*/
/*头像(<span class="yy-head"></span>)*/
span.yy-head {
  display: block;
  background: url('https://www.cnblogs.com/images/cnblogs_com/iyangyuan/434969/o_yangyuan.png') no-repeat;
  height: 60px;
  width: 60px;
  margin-bottom: 10px;
  background-size: 60px 60px;
}
.catListTag,
.newsItem,
#blog-calendar,
#topdigg_posts_wrap,
#topfeedback_posts_wrap,
#topview_posts_wrap,
#recent_comments_wrap,
.mySearch {
  border: 1px solid #ddd;
  border-top: solid 4px #009ad9;
  background-color: #fff;
  padding: 10px;
  margin-bottom: 10px;
}
.catListTitle {
  text-align: left;
  font-weight: normal;
  border-bottom: 1px solid #ddd;
  margin-top: 0;
}
/*底部footer样式*/
#footer {
  border-top: 1px solid #ddd;
  background-color: #fff;
  margin-bottom: 0;
  padding-top: 20px;
  padding-bottom: 20px;
}
/*分页样式*/
.pager>a, #nav_next_page>a {
  background: #f7f7f7;
  color: #666;
  border: 1px solid rgba(0,0,0,.2);
  border-bottom-color: rgba(0,0,0,.3);
  background-origin: border-box;
  background-image: -webkit-linear-gradient(top,#fff,#eee);
  background-image: linear-gradient(to bottom,#fff,#eee);
  text-shadow: 0 1px 0 #fff;
  display: inline-block;
  min-width: 16px;
  padding: 2px 10px;
  line-height: 20px;
  text-decoration: none;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  text-align: center;
  border-radius: 4px;
}
.pager>a:hover, #nav_next_page>a:hover {
  background-color: #fafafa;
  color: #666 !important;
  outline: 0;
  background-image: none;
}
.pager {
    text-align: center;
    margin: 10px 0;
    color: #666;
}
/*-----------文章内容页样式--------*/
#cnblogs_post_body {
  line-height: 25px;
  font-size: 15px;
  color: #494949;
}
#topics .postTitle {
  border-bottom: solid 1px #e1e1e1;
  padding-bottom: 10px;
  font-size: 32px;
  padding-left: 0;
}
/*-----------文章内容页底部样式(含评论)--------*/
#green_channel {
  border: none;
}
#green_channel a {
  background-image: none;
  border-radius: 0;
}
.feedbackCon {
  background-image: url('https://images.cnblogs.com/cnblogs_com/iyangyuan/434969/o_o_speaker_close.png');
  background-size: 30px 30px;
  background-position: 0 10px;
}
.feedbackCon:hover {
  background-image: url('https://images.cnblogs.com/cnblogs_com/iyangyuan/434969/o_o_speaker.png');
  background-size: 30px 30px;
  background-position: 0 10px;
}
div.feedback_area_title {
  font-size: 33px;
  border: none;
  color: #494949;
  font-weight: normal;
  padding: 30px 0;
}
div.postBody {
  border: none;
}
div.diggit {
  position: fixed;
  right: 20px;
  bottom: 60px;
}
div.buryit {
  position: fixed;
  right: 20px;
  bottom: 0;
}
.diggword {
  display: none;
}
/*-----------分类页文章列表--------*/
.entrylistPosttitle {
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  font-size: 130%;
}
.entrylistPostSummary>div {
  line-height: 2em;
}
.entrylistItemPostDesc {
  color: #ccc;
}
.entrylistItemPostDesc a {
  color: #ccc !important;
}
.entrylistTitle {
  color: #494949;
  font-size: 30px;
  font-weight: normal;
  border: none;
  padding: 10px 10px 10px 0;
}
/*-----------写博客素材--------*/
/*大标题 <p class="yy-panel"></p>*/
.yy-panel {
  padding: 7px 10px;
  background-color: #F5F5F5;
  box-shadow: 0 0 10px #e0e0e0;
  color: #333;
  border: solid 1px #e1e1e1;
  font-weight: 700;
  font-size: 18px;
}
/*小标题 <span class="yy-title"></span>*/
.yy-title {
  margin-top: 10px;
  display: block;
  border-left: 3px solid #3bb4f2;
  padding: 0 1em;
  margin-bottom: .4em;
  color: #555;
  font-weight: 700;
  font-size: 100%;
}
/*按钮 <button class="yy-button" type="button">按钮</button>*/
.yy-button {
  display: inline-block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: middle;
  text-decoration: none;
  text-align: center;
  border: none;
  line-height: 28px;
  min-height: 30px;
  font-size: 1rem;
  padding: 8px 14px;
  background: #f7f7f7;
  color: #666 !important;
  text-decoration: none!important;
  border: 1px solid rgba(0,0,0,.2);
  border-bottom-color: rgba(0,0,0,.3);
  background-origin: border-box;
  background-image: -webkit-linear-gradient(top,#fff,#eee);
  background-image: linear-gradient(to bottom,#fff,#eee);
  border-radius: 4px;
  text-shadow: 0 1px 0 #fff;
  cursor: pointer;
}
.yy-button:hover, .yy-button:focus {
  background-color: #fafafa;
  color: #666;
  outline: 0;
  text-decoration: none;
  background-image: none;
}
.yy-button-large {
  min-height: 40px;
  padding: 0 15px;
  line-height: 38px;
  font-size: 16px;
  border-radius: 5px;
}
.yy-button-primary {
  background-color: #009dd8;
  color: #fff;
  background-image: -webkit-linear-gradient(top,#00b4f5,#008dc5);
  background-image: linear-gradient(to bottom,#00b4f5,#008dc5);
  border-color: rgba(0,0,0,.2);
  border-bottom-color: rgba(0,0,0,.4);
  text-shadow: 0 -1px 0 rgba(0,0,0,.2);
}
.yy-button-primary:hover, .yy-button-primary:focus {
  background-color: #00aff2;
  color: #fff;
  background-image: none;
}
/*行内代码*/
.yy-code {
  padding: 0.2em 0.3em;
  margin: 0;
  font-size: 85%;
  background-color: rgba(0,0,0,0.04);
  border-radius: 3px;
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
/*搜索框样式*/
#sidebar_search input.input_my_zzk {
    background-color: #fff;
    border: 1px solid #cdcdcd;
    padding: 4px;
    line-height: 20px;
    font-family: inherit;
    font-size: 0.875rem;
    color: inherit;
    resize: none;
    outline: 0;
    width: 70%;
    -webkit-appearance: none;
    border-radius: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    height: auto;
}
#sidebar_search input.input_my_zzk:focus {
    outline: none;
    border: 1px solid #4EA8FF;
}
#sidebar_search input.btn_my_zzk {
    display: inline-block;
    width: 26%;
    padding: 4px 0;
    line-height: 20px;
    text-align: center;
    background: #FFF;
    border: 1px solid #DFE0E6;
    font-size: 0.875rem;
    color: #3D495F;
    outline: 0;
    transition: color .3s, background .3s;
    cursor: pointer;
    height: auto;
}
#sidebar_search input.btn_my_zzk:hover {
    background: #F3F4F6;
    border: 1px solid #DFE0E6;
}
/*评论框样式*/
#blog-comments-placeholder .feedback_area_title {
    border-bottom: 1px solid #ccc;
}
.feedbackCon {
    padding: 15px 0 10px 40px;
}
#comment_form #tbCommentBody {
    width: 100%;
    height: 120px;
    padding: 6px 10px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    white-space: pre-wrap;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    border: none;
    resize: none;
    border: 1px solid #d9d9d9;
    border-top: 1px solid #c0c0c0;
}
#comment_form #tbCommentBody:hover {
    border: 1px solid #b9b9b9;
    border-top: 1px solid #a0a0a0;
    -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 0 2px rgba(0,0,0,0.3);
    box-shadow: 0 0 2px rgba(0,0,0,0.3);
}
#comment_form .commentbox_title {
    width: 100%;
}
#comment_form input#btn_comment_submit {
    display: inline-block;
    padding: 4px 0;
    line-height: 20px;
    text-align: center;
    background: #FFF;
    border: 1px solid #DFE0E6;
    font-size: 0.875rem;
    color: #3D495F;
    outline: 0;
    transition: color .3s, background .3s;
    cursor: pointer;
    height: auto;
    width: 88px;
}
#comment_form input#btn_comment_submit:hover {
    background: #F3F4F6;
    border: 1px solid #DFE0E6;
}
/*-----------其他功能扩展--------*/
/*公告*/
@-webkit-keyframes hideNotice{
  0%{
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
  }
  100%{
    opacity: 0;
    -webkit-transform: translate3d(-100%,0,0);
  }
}
@-moz-keyframes hideNotice{
  0%{
    opacity: 1;
    -moz-transform: translate3d(0,0,0);
  }
  100%{
    opacity: 0;
    -moz-transform: translate3d(-100%,0,0);
  }
}

#yy-notice{
  position: fixed;
  width: 220px;
  height: 30px;
  left: 0;
  bottom: 20px;
  background-color: #9C6;
  padding: 10px 15px;
  animation: hideNotice 2s ease-in-out 10s;
  -webkit-animation: hideNotice 2s ease-in-out 10s;
  -moz-animation: hideNotice 2s ease-in-out 10s;
}
#yy-notice>p{
  color: #fff;
  text-align: left;
  line-height: 30px;
  font-size: 12px;
}
/*canvas气泡动画*/
#bubbleCanvas{
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translate3d(-50%,0,0);
  -moz-transform: translate3d(-50%,0,0);
  -ms-transform: translate3d(-50%,0,0);
  -o-transform: translate3d(-50%,0,0);
}

/*移动端适配*/
@media (max-width: 601px) {
  #home {
  min-width: 0;
}
#home #header #blogTitle {
  background-position: left top;
}
#home #header #navigator {
  width: 100%;
  padding: 0;
  position: fixed;
  top: 0;
  height: 60px;
  overflow: hidden;
  border-bottom: 1px solid #d9dde2;
  box-shadow: rgba(0, 0, 0, 0.3) 0 0 20px;
  z-index: 2;
}
#home #header #navigator > ul#navList {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 10px auto 0 auto;
}
#home #header #navigator:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  color: #29A7E1;
  background-image: url("https://www.cnblogs.com/images/cnblogs_com/iyangyuan/434969/t_home_menu.png");
  width: 30px;
  height: 30px;
  background-size: cover;
  -webkit-transform: translate3d(0, -50%, 0);
}
#home #main {
  position: relative;
  min-width: 0;
  margin-top: 110px;
  bottom: 60px;
}
#home #main #mainContent {
  position: relative;
  float: none;
  margin: 0;
}
#home #main #mainContent .forFlow {
  margin: 0;
}
#home #main #mainContent div.commentform input.author {
  width: 100px;
}
#home #main #mainContent div.commentform textarea.comment_textarea {
  width: 100%;
}
#home #main #sideBar {
  display: none;
}
.postBody>div#cnblogs_post_body>img, .postBody>div#cnblogs_post_body>p img {
  width: 100%;
}
#home #footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

}
@media (min-width: 402px) and (max-width: 601px) {
  #navigator > ul#navList {
  animation: arrowup 10s linear 0 infinite alternate;
  -webkit-animation: arrowup 10s linear 0 infinite alternate;
  -moz-animation: arrowup 10s linear 0 infinite alternate;
}
@-webkit-keyframes arrowup {
  0% {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}
25% {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}
50% {
  transform: translate3d(0, -42px, 0);
  -webkit-transform: translate3d(0, -42px, 0);
  -moz-transform: translate3d(0, -42px, 0);
}
100% {
  transform: translate3d(0, -42px, 0);
  -webkit-transform: translate3d(0, -42px, 0);
  -moz-transform: translate3d(0, -42px, 0);
}

}

}
@media (min-width: 302px) and (max-width: 401px) {
  #navigator > ul#navList {
  animation: arrowup 15s linear 0 infinite alternate;
  -webkit-animation: arrowup 15s linear 0 infinite alternate;
  -moz-animation: arrowup 15s linear 0 infinite alternate;
}
@-webkit-keyframes arrowup {
  0% {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}
15% {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}
30% {
  transform: translate3d(0, -42px, 0);
  -webkit-transform: translate3d(0, -42px, 0);
  -moz-transform: translate3d(0, -42px, 0);
}
45% {
  transform: translate3d(0, -42px, 0);
  -webkit-transform: translate3d(0, -42px, 0);
  -moz-transform: translate3d(0, -42px, 0);
}
60% {
  transform: translate3d(0, -84px, 0);
  -webkit-transform: translate3d(0, -84px, 0);
  -moz-transform: translate3d(0, -84px, 0);
}
100% {
  transform: translate3d(0, -84px, 0);
  -webkit-transform: translate3d(0, -84px, 0);
  -moz-transform: translate3d(0, -84px, 0);
}

}

}
@media (min-width: 202px) and (max-width: 301px) {
  #navigator > ul#navList {
  animation: arrowup 20s linear 0 infinite alternate;
  -webkit-animation: arrowup 20s linear 0 infinite alternate;
  -moz-animation: arrowup 20s linear 0 infinite alternate;
}
@-webkit-keyframes arrowup {
  0% {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}
12% {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}
24% {
  transform: translate3d(0, -42px, 0);
  -webkit-transform: translate3d(0, -42px, 0);
  -moz-transform: translate3d(0, -42px, 0);
}
36% {
  transform: translate3d(0, -42px, 0);
  -webkit-transform: translate3d(0, -42px, 0);
  -moz-transform: translate3d(0, -42px, 0);
}
48% {
  transform: translate3d(0, -84px, 0);
  -webkit-transform: translate3d(0, -84px, 0);
  -moz-transform: translate3d(0, -84px, 0);
}
60% {
  transform: translate3d(0, -84px, 0);
  -webkit-transform: translate3d(0, -84px, 0);
  -moz-transform: translate3d(0, -84px, 0);
}
72% {
  transform: translate3d(0, -126px, 0);
  -webkit-transform: translate3d(0, -126px, 0);
  -moz-transform: translate3d(0, -126px, 0);
}
100% {
  transform: translate3d(0, -126px, 0);
  -webkit-transform: translate3d(0, -126px, 0);
  -moz-transform: translate3d(0, -126px, 0);
}

}

}
@media (max-width: 201px) {
  #navigator > ul#navList {
  animation: arrowup 20s linear 0 infinite alternate;
  -webkit-animation: arrowup 20s linear 0 infinite alternate;
  -moz-animation: arrowup 20s linear 0 infinite alternate;
}
@-webkit-keyframes arrowup {
  0% {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}
6% {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}
12% {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}
18% {
  transform: translate3d(0, -42px, 0);
  -webkit-transform: translate3d(0, -42px, 0);
  -moz-transform: translate3d(0, -42px, 0);
}
24% {
  transform: translate3d(0, -42px, 0);
  -webkit-transform: translate3d(0, -42px, 0);
  -moz-transform: translate3d(0, -42px, 0);
}
30% {
  transform: translate3d(0, -84px, 0);
  -webkit-transform: translate3d(0, -84px, 0);
  -moz-transform: translate3d(0, -84px, 0);
}
36% {
  transform: translate3d(0, -84px, 0);
  -webkit-transform: translate3d(0, -84px, 0);
  -moz-transform: translate3d(0, -84px, 0);
}
42% {
  transform: translate3d(0, -126px, 0);
  -webkit-transform: translate3d(0, -126px, 0);
  -moz-transform: translate3d(0, -126px, 0);
}
48% {
  transform: translate3d(0, -126px, 0);
  -webkit-transform: translate3d(0, -126px, 0);
  -moz-transform: translate3d(0, -126px, 0);
}
54% {
  transform: translate3d(0, -168px, 0);
  -webkit-transform: translate3d(0, -168px, 0);
  -moz-transform: translate3d(0, -168px, 0);
}
60% {
  transform: translate3d(0, -168px, 0);
  -webkit-transform: translate3d(0, -168px, 0);
  -moz-transform: translate3d(0, -168px, 0);
}
66% {
  transform: translate3d(0, -210px, 0);
  -webkit-transform: translate3d(0, -210px, 0);
  -moz-transform: translate3d(0, -210px, 0);
}
72% {
  transform: translate3d(0, -210px, 0);
  -webkit-transform: translate3d(0, -210px, 0);
  -moz-transform: translate3d(0, -210px, 0);
}
78% {
  transform: translate3d(0, -252px, 0);
  -webkit-transform: translate3d(0, -252px, 0);
  -moz-transform: translate3d(0, -252px, 0);
}
84% {
  transform: translate3d(0, -252px, 0);
  -webkit-transform: translate3d(0, -252px, 0);
  -moz-transform: translate3d(0, -252px, 0);
}
90% {
  transform: translate3d(0, -296px, 0);
  -webkit-transform: translate3d(0, -296px, 0);
  -moz-transform: translate3d(0, -296px, 0);
}
100% {
  transform: translate3d(0, -296px, 0);
  -webkit-transform: translate3d(0, -296px, 0);
  -moz-transform: translate3d(0, -296px, 0);
}

}

}