/*
    原作者: Xaoxuu
    通过手段搬移到Butterfly
*/
/* Link Start */

#post a.link-card {
    text-decoration: none;
    margin: 0.2rem auto;
    background: var(--tab-botton-bg);
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 0.575rem;
    min-width: 200px;
    max-width: 361px;
    color: var(--tab-botton-color);
    border-radius: 8px;
  }
  @media screen and (max-width: 425px) {
    #post a.link-card {
      max-width: 100%;
    }
  }
  @media screen and (max-width: 375px) {
    #post a.link-card {
      width: 100%;
    }
  }
  #post a.link-card:hover {
    box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.1);
  }
  #post a.link-card div.left,
  #post a.link-card div.right {
    pointer-events: none;
  }
  #post a.link-card div.left {
    width: 48px;
    height: 48px;
    margin: 12px;
    overflow: hidden;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: relative;
  }
  #post a.link-card div.left i {
    font-size: 32px;
    line-height: 48px;
    margin-left: 4px;
  }
  #post a.link-card div.left img {
    display: block;
    position: absolute;
    border-radius: 8px/4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #post a.link-card div.right {
    overflow: hidden;
    margin-right: 12px;
  }
  #post a.link-card p {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #post a.link-card p.text {
    font-weight: bold;
  }
  #post a.link-card p.url {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    color: var(--search-input-color);
    font-size: 0.7125rem;
  }
/* Link End */
  /* timenode start */
  span.p.h2,
  p.p.h2 {
    font-size: 1.375rem;
    color: var(--font-color);
    padding-top: 0.8rem;
    border-bottom: 1px solid var(--hr-border);
  }
  div.timenode {
    position: relative;
  }
  div.timenode:before,
  div.timenode:after {
    content: "";
    z-index: 1;
    position: absolute;
    background: rgba(68, 215, 182, 0.5);
    width: 2px;
    left: 7px;
  }
  div.timenode:before {
    top: 0px;
    height: 6px;
  }
  div.timenode:after {
    top: 26px;
    height: calc(100% - 26px);
  }
  div.timenode:last-child:after {
    height: calc(100% - 26px - 16px);
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
  }
  div.timenode .meta {
    position: relative;
    color: var(--tab-botton-color);
    font-size: 0.375rem;
    line-height: 32px;
    height: 32px;
    left: 27px;
  }
  div.timenode .meta:before,
  div.timenode .meta:after {
    content: "";
    position: absolute;
    top: 8px;
    z-index: 2;
    left: -27px;
  }
  div.timenode .meta:before {
    background: rgba(68, 215, 182, 0.5);
    width: 16px;
    height: 16px;
    border-radius: 8px;
  }
  div.timenode .meta:after {
    background: #44d7b6;
    margin-left: 2px;
    margin-top: 2px;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    transform: scale(0.5);
    transition: all 0.28s ease;
    -moz-transition: all 0.28s ease;
    -webkit-transition: all 0.28s ease;
    -o-transition: all 0.28s ease;
  }
  div.timenode .meta p {
    font-weight: bold;
    margin: 0 0 0 24px;
  }
  div.timenode .body {
    margin: 4px 0 16px 24px;
    padding: 16px;
    border-radius: 8px;
    background: var(--blockquote-bg);
  }
  div.timenode .body p:first-child {
    margin-top: 0;
  }
  div.timenode .body p:last-child {
    margin-bottom: 0;
  }
  div.timenode:hover .meta {
    color: var(--text-highlight-color);
  }
  div.timenode:hover .meta:before {
    background: rgba(255, 87, 34, 0.5);
  }
  div.timenode:hover .meta:after {
    background: #ff5722;
    transform: scale(1);
  }
/* timenode end */
