.post {
  background: #fff;
  padding: 24px;
  margin: 24px 0;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
}
.post__header {
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
  margin-bottom: 24px;
}
.post__title {
  font-size: 32px;
  line-height: 1.3;
  margin: 0 0 12px;
  color: #222;
}
.post__date {
  color: #888;
  font-size: 14px;
}
.post__content {
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}
.post__content h2 {
  font-size: 24px;
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}
.post__content h3 {
  font-size: 20px;
  margin: 24px 0 10px;
}
.post__content p {
  margin: 0 0 16px;
}
.post__content ul,
.post__content ol {
  padding-left: 24px;
  margin: 0 0 16px;
}
.post__content li {
  margin-bottom: 6px;
}
.post__content blockquote {
  margin: 16px 0;
  padding: 8px 16px;
  border-left: 4px solid #ddd;
  color: #666;
  background: #fafafa;
}
.post__content pre {
  background: #f5f5f5;
  padding: 12px 16px;
  overflow-x: auto;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
}
.post__content code {
  background: #f5f5f5;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 90%;
  font-family: Consolas, Monaco, "Courier New", monospace;
}
.post__content pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}
.post__content img {
  display: block;
  margin: 16px auto;
  max-width: 100%;
  height: auto;
}
.post__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.post__content th,
.post__content td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
}
.post__content th {
  background: #f5f5f5;
}
.post__content a {
  color: #0066cc;
}

/* 上下篇 */
.post-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  font-size: 14px;
}
.post-nav a {
  color: #0066cc;
}

.share-box {
  display: inline-block;
}
.share * {
  margin: 0;
  padding: 0;
  text-decoration: none;
}
div#share {
  display: inline-block;
  position: relative;
  margin-top: -6px;
}
.share-box a.share_tsina:hover {
  background: url(/assets/images/weibo_on.png) no-repeat;
  background-position: 0 0;
}
.share-box a.share_tsina {
  background: url(/assets/images/weibo.png) no-repeat;
  background-position: 0 0;
}
.share-box a.share_weixin:hover {
  background: url(/assets/images/weixin_on.png) no-repeat;
  background-position: 0 0;
}
.share-box a.share_weixin {
  background: url(/assets/images/weixin.png) no-repeat;
  background-position: 0 0;
}
.share-box a.share_qzone:hover {
  background: url(/assets/images/qqzone_on.png) no-repeat;
  background-position: 0 0;
}
.share-box a.share_qzone {
  background: url(/assets/images/qqzone.png) no-repeat;
  background-position: 0 0;
}
.share-box a:hover {
  opacity: 0.8;
}
.share-box a {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  margin-left: 7px;
  cursor: pointer;
}
.post__meta {
  margin-top: 12px;
  overflow: hidden; /* 清浮动 */
  zoom: 1; /* IE7 hasLayout */
}
.post__tags {
  float: left;
}
.share-box {
  float: right;
}
@supports (display: flex) {
  .post__meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .post__tags,
  .share-box {
    float: none;
  }
  .share-btn {
    display: block; /* 让 margin 生效 */
  }
  .share-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
