@charset "utf-8";
/* 公共样式 */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
div,
dl,
dt,
dd,
ul,
ol,
li,
p,
blockquote,
pre,
hr,
figure,
table,
caption,
th,
td,
form,
fieldset,
legend,
input,
button,
textarea,
menu {
  margin: 0;
  padding: 0;
}

html,
body,
fieldset,
img,
iframe,
abbr {
  border: 0;
}

header,
footer,
section,
article,
aside,
nav,
hgroup,
address,
figure,
figcaption,
menu,
details {
  display: block;
}

i,
cite,
var,
address,
dfn {
  font-style: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption,
th {
  text-align: left;
  font-weight: normal;
}

textarea {
  overflow: auto;
  resize: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  font-weight: bold;
}

li {
  list-style: none;
}

a,
button {
  cursor: pointer;
}

a:link,
a:visited {
  color: #39f;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: #08429f;
}

body,
textarea,
input,
button,
select,
keygen,
legend {
  outline: 0;
}

::-moz-selection {
  background: #1168b6;
  color: #fff;
}
::selection {
  background: #1168b6;
  color: #fff;
}
::-webkit-selection {
  background: #1168b6;
  color: #fff;
}
::-moz-selection {
  background: #1168b6;
  color: #fff;
}

*::-webkit-scrollbar-thumb {
  height: 40px;
  background-color: #ccc;
  border-radius: 16px;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

* {
  box-sizing: border-box;
}

body {
  background-color: #f0f3f5;
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  font-weight: 400;
  transition: all 300ms;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* 清除博客园广告 */

#ad_c1,
#ad_c2,
#bannerbar,
#cnblogs_c1,
#ad_t2,
.c_ad_block {
  display: none !important;
}

#top_nav {
  display: none !important;
}

div.bannerbar.aliyun.forpc {
  display: none;
}

#HistoryToday, .recomm-block {
  max-width: inherit;
}

/* 魔改一些样式 */

#blogTitle {
  width: 100% !important;
  height: 350px;
  background: url('https://images.cnblogs.com/cnblogs_com/cnroadbridge/1885106/o_210502170735kail-2.png')
    center center / cover no-repeat #222 !important;
  overflow: hidden;
}

#blogTitle h1 {
  font-family: 'Playball', cursive;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  background: none;
}

#blogTitle h1 a:hover {
  text-decoration: none;
}

#blogTitle h2 {
  font-family: 'Playball', cursive;
  font-size: 1rem;
  line-height: 1.5em;
  font-weight: 400;
  letter-spacing: 0.01rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  top: 0;
  left: 58px;
}

#navigator {
  position: relative;
  clear: both;
  width: 100%;
  height: 60px;
  background-color: #1168b6;
  border: none;
  z-index: 1;
}

#navList {
  display: flex;
  justify-content: space-around;
}

#navList li {
  float: none;
  display: inline-block;
  text-align: center;
}

#navList li a {
  background: inherit !important;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3) !important;
}

#navList li a:hover {
  color: #ffffcc;
  font-weight: 600;
}

.blogStats {
  display: none;
}

.day,
.entrylistItem,
.PostList {
  margin-top: 40px;
  margin-bottom: 0;
  border-radius: 10px;
  border: none;
  box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.day:first-child {
  margin-top: 0;
}

.entrylistItem {
  margin-top: 10px;
}

#myposts .PostList {
  margin-top: 20px !important;
}

#myposts .PostList a:hover {
  text-decoration: none;
  color: #39f;
}

.day:hover,
.entrylistItem:hover,
.PostList:hover {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border: none !important;
}

.dayTitle {
  display: none;
}

.postCon a:link,
.entrylistPostSummary a:link,
.postCon a:visited,
.entrylistPostSummary a:visited {
  color: #39f;
}

a.entrylistItemTitle:link,
a.entrylistItemTitle:visited {
  color: #7e8c8d;
}

a.entrylistItemTitle:hover {
  color: #39f;
}

.entrylistItemPostDesc a {
  color: #ccc;
}

.entrylistItemPostDesc a:hover {
  color: #39f;
}

.c_b_p_desc_readmore:hover {
  text-decoration: none;
}

#sideBarMain {
  padding: 12px 6px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

.catListTitle,
.sidebar-block h3 {
  background: inherit;
  color: #646464;
  font-weight: 700;
  border: none;
  border-left: 4px solid #646464;
  margin-bottom: 4px;
}

#profile_block {
  display: none;
}

#blog-calendar {
  padding: 0 15px 10px 15px;
}

#sideBar #blog-calendar #blogCalendar table,
#sideBar #blog-calendar #blogCalendar tbody,
#sideBar #blog-calendar #blogCalendar td,
#sideBar #blog-calendar #blogCalendar tr {
  display: block;
}

.CalTitle {
  -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  margin-bottom: 10px;
  padding: 0 15px;
  line-height: 30px;
}
.CalNextPrev a {
  text-decoration: none;
}

.CalTitle tbody {
  line-height: 30px;
}
#sideBar #blog-calendar #blogCalendar tr {
  text-align: center;
}
.CalTitle td:nth-child(1) {
  display: inline-block;
  float: left;
  vertical-align: top;
}
.CalTitle td:nth-child(2) {
  display: inline-block !important;
  vertical-align: top;
}
.CalTitle td:nth-child(3) {
  display: inline-block;
  vertical-align: top;
  float: right;
}

#sideBar #blog-calendar #blogCalendar tr:not(:first-child) {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
#sideBar #blog-calendar #blogCalendar tr:not(:first-child) td,
#blogCalendar th {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 21.6px;
  height: 21.6px;
}
#sideBar #blog-calendar #blogCalendar .CalTodayDay {
  color: #fff;
  border-radius: 50%;
  font-size: 0.7em;
}
#sideBar #blog-calendar #blogCalendar .CalTodayDay,
#sideBar #blog-calendar #blogCalendar .CalTodayDay u {
  color: #fff;
  border-radius: 50%;
  font-size: 0.7em;
  background: #1168b6;
}

#leftcontentcontainer {
  margin-top: 20px;
}

#sidebar_search,
#sidebar_shortcut {
  display: none;
}

.sidebar-block ul {
  border: none;
}

.catListTag ul li:hover,
.sidebar-block ul li:hover {
  color: #fff;
  background-color: #1168b6;
}

.sidebar-block ul li:hover a {
  color: #fff;
}

#sidebar_toptags ul li a:hover,
.sidebar-block ul li a:hover {
  color: #fff;
  background-color: #1168b6;
  text-decoration: none;
  border-bottom: none;
}

li.recent_comment_body:hover,
li.recent_comment_author:hover {
  color: #777 !important;
  background-color: #fff !important;
}

#nav_next_page a {
  background-color: #1168b6;
}

.topicListFooter .pager a:hover,
.topicListFooter .pager span {
  background-color: #1168b6;
}

#topics,
#blog-comments-placeholder,
#comment_form {
  border-radius: 10px;
  box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.1);
}

#homepage_top_pager {
  display: none;
}

#green_channel a {
  padding: 0 8px;
}

#green_channel {
  padding: 5px 0 15px;
  margin-bottom: 10px;
  margin-top: 10px;
  border: 0;
  border-top: #eee 1px dashed;
  border-bottom: #eee 1px dashed;
  font-size: 12px;
  width: 100% !important;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
}
a#green_channel_digg,
a#green_channel_favorite,
a#green_channel_follow,
a#green_channel_wechat,
a#green_channel_weibo,
#btn_comment_submit {
  text-decoration: none;
  color: #fff;
  margin: 10px auto auto;
  width: 80px;
  height: 30px;
  display: inline-block;
  line-height: 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  border-radius: 3px;
  text-transform: uppercase;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -ms-transition: all 0.4s;
  -o-transition: all 0.4s;
  position: relative;
  background-image: none;
}
a#green_channel_digg:hover,
a#green_channel_favorite:hover,
a#green_channel_follow:hover,
a#green_channel_wechat:hover,
a#green_channel_weibo:hover {
  transform: scale(1.02, 1.02);
}
a#green_channel_digg:active,
a#green_channel_favorite:active,
a#green_channel_follow:active,
a#green_channel_wechat:active,
a#green_channel_weibo:active {
  transform: scale(0.95, 0.95);
  transition: all 0.4s -125ms;
}
a#green_channel_digg {
  background-color: #5c8ec6;
  box-shadow: 0 15px 18px -6px rgba(95, 193, 206, 0.65);
}
a#green_channel_follow {
  background-color: #e33100 !important;
  box-shadow: 0 15px 18px -6px rgba(227, 49, 0, 0.65);
  margin-left: 10px;
}
a#green_channel_favorite {
  background-color: #ffb515;
  box-shadow: 0 15px 18px -6px rgba(255, 198, 75, 0.65);
  margin-left: 10px;
}
a#green_channel_weibo {
  background-color: #ff464b !important;
  box-shadow: 0 15px 18px -6px rgba(255, 70, 75, 0.65) !important;
  margin-left: 10px;
  width: 45px;
  padding: 0 2px !important;
}
a#green_channel_wechat {
  background-color: #3cb034 !important;
  box-shadow: 0 15px 18px -6px rgba(60, 176, 52, 0.65) !important;
  margin-left: 10px;
  width: 45px;
  padding: 0 2px !important;
}
#author_profile_info img.author_avatar {
  border-radius: 100%;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.4);
  border: 3px solid #f7f7f7;
  padding: 0;
  margin-left: 3px;
  margin-right: 7px;
}
div#green_channel img {
  height: 20px;
  width: 20px;
}

#author_profile_detail a {
  color: #2daebf;
}

#post_next_prev a {
  color: #2daebf;
}
#post_next_prev {
  margin-bottom: 10px;
}

#EntryTag a {
  background-color: #4267b2;
  color: #fff;
  padding: 2px 10px;
  border-radius: 15px;
}

#EntryTag a:hover {
  background-color: #4267b2;
  color: #fff;
}

#btn_comment_submit {
  color: #000;
  outline: none;
  border: none;
}

#btn_comment_submit:hover {
  transform: scale(1.02);
}

#comment_nav a:hover {
  color: #4167b2;
  text-decoration: none;
}

.sidebar-block {
  margin-bottom: 0;
}

#page_begin_html {
  position: absolute;
  top: 0;
  right: 0;
  height: 82px;
  z-index: 521;
}

@media (max-width: 767px) {
  #main {
    padding: 0 14px;
  }

  #blogTitle {
    height: 220px;
  }

  #blogTitle h1 {
    text-align: left;
    padding-left: 16px;
  }

  #sideBar {
    display: none;
  }
}
