/* 由Hexo博客volantis主题移植过来的 */

/* text标签 - start */
.article u {
    text-decoration: none;
    border-bottom: 1px solid #007bff;
}

.article emp {
    border-bottom: 4px dotted #28a745;
}

.article wavy {
    -webkit-text-decoration-style: wavy;
    text-decoration-style: wavy;
    -webkit-text-decoration-line: underline;
    text-decoration-line: underline;
    -webkit-text-decoration-color: #dc3545;
    text-decoration-color: #dc3545;
}

.article del {
    color: #8e8e8e;
    -webkit-text-decoration-color: #8e8e8e;
    text-decoration-color: #8e8e8e;
}

.article psw {
    color: transparent;
    background: #a1a1a1;
    border-radius: 2px;
    transition: all .28s ease;
    -moz-transition: all .28s ease;
    -webkit-transition: all .28s ease;
    -o-transition: all .28s ease;
}

.article psw:hover {
    color: #444;
    background: 0 0;
}
/* text标签 - end */

/* span标签 - start */
@font-face {
  font-family: 'UbuntuMono';
  src: url("https://cdn.jsdelivr.net/gh/volantis-x/cdn-fonts/UbuntuMono/UbuntuMono-Regular.ttf");
  font-weight: 'normal';
  font-style: 'normal';
}
@font-face {
  font-family: 'Varela Round';
  src: url("https://cdn.jsdelivr.net/gh/volantis-x/cdn-fonts/VarelaRound/VarelaRound-Regular.ttf");
  font-weight: 'normal';
  font-style: 'normal';
}
.article span.p.logo {
  font-family: "Varela Round", "PingFang SC", "Microsoft YaHei", Helvetica, Arial, Helvetica, monospace;
}
.article span.p.code {
  font-family: Menlo, UbuntuMono, Monaco, monospace, courier, sans-serif;
}
.article span.p.left {
  display: block;
  text-align: left;
}
.article span.p.center {
  display: block;
  text-align: center;
}
.article span.p.right {
  display: block;
  text-align: right;
}
.article span.p.small {
  font-size: 0.875rem;
}
.article span.p.large {
  font-size: 2.5rem;
  line-height: 1.4;
}
.article span.p.huge {
  font-size: 4rem;
  line-height: 1.4;
}
.article span.p.ultra {
  font-size: 6rem;
  line-height: 1.4;
}
.article span.p.small,
.article span.p.large,
.article span.p.huge,
.article span.p.ultra {
  margin: 0;
  padding: 0;
}
.article span.p.bold {
  font-weight: bold;
}
.article span.p.h1,
.article span.p.h2 {
  padding-bottom: 0.2rem;
  font-weight: 500;
}
.article span.p.h1 {
  font-size: 1.5rem;
  padding-top: 2em;
}
.article span.p.h2 {
  font-size: 1.5rem;
  padding-top: 2em;
  border-bottom: 1px solid rgba(68,68,68,0.1);
}
.article span.p.h3 {
  font-size: 1.25rem;
  padding-top: 2em;
}
.article span.p.h4 {
  font-size: 1.125rem;
  padding-top: 2em;
}
.article span.p.h5 {
  font-size: 1rem;
  padding-top: 1.5em;
}
.article span.p.red {
  color: #fe5f58;
}
.article span.p.yellow {
  color: #ffbd2b;
}
.article span.p.green {
  color: #3dc550;
}
.article span.p.cyan {
  color: #1bcdfc;
}
.article span.p.blue {
  color: #2196f3;
}
.article span.p.purple {
  color: #9c27b0;
}
.article span.p.gray {
  color: #999;
}
/* span标签 - end   */

/* link标签 - start */
.article .tag.link {
  margin-top: 2em;
  margin-bottom: 3em;
}
.article .tag.link a {
  text-decoration: none;
  -webkit-transition: all .28s ease;
}

.article .taglink {
  background-color: white;
}
.article .taglink a {
  text-decoration: none;
  -webkit-transition: all .28s ease;
}

.article .link-card {
  margin-right: 1em;
  background: #f6f6f6;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-align: center;
  /*width: 361px;*/
  max-width: 100%;
  box-shadow: 0 1px 2px 0px rgba(0,0,0,0.1);
  color: #444;
  border-radius: 8px;
}
@media screen and (max-width: 425px) {
  .article .link-card {
    max-width: 100%;
    width: 100%;
  }
}
.article .link-card:hover {
  box-shadow: 0 4px 8px 0px rgba(0,0,0,0.1), 0 2px 4px 0px rgba(0,0,0,0.1), 0 4px 8px 0px rgba(0,0,0,0.1), 0 8px 16px 0px rgba(0,0,0,0.1);
}
.article .link-card div.left,
.article .link-card div.right {
  pointer-events: none;
}
.article .link-card div.left {
  width: 54px;
  height: 54px;
  margin: 12px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.article .link-card div.left i {
  font-size: 32px;
  line-height: 48px;
  margin-left: 4px;
}
.article .link-card div.left img {
  display: block;
  position: absolute;
  border-radius: 8px/4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.article .link-card div.right {
  overflow: hidden;
  margin-right: 16px;
}
.article .link-card p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article .link-card p.text {
  font-weight: bold;
}
.article .link-card p.url {
  flex-shrink: 0;
  color: #888;
  font-size: 0.8125rem;
}
.article .link-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
}
@media screen and (max-width: 850px) {
  .article .link-group {
    grid-template-columns: 1fr;
  }
}
.article .link-group .tag.link {
  margin: 0;
}
.article .link-group .link-card {
  width: 100%;
}
/* link标签 - end   */

/* timeline标签 - start  */
div.timenode {
  position: relative;
}
div.timenode:before,
div.timenode:after {
  content: '';
  z-index: 1;
  position: absolute;
  background: #212529;
  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,
div.timenode .body {
  max-width: calc(100% - 24px);
}
div.timenode .meta {
  position: relative;
  color: #888;
  font-size: 0.875rem;
  line-height: 32px;
  height: 32px;
}
div.timenode .meta:before,
div.timenode .meta:after {
  content: '';
  position: absolute;
  top: 8px;
  z-index: 2;
}
div.timenode .meta:before {
  background: #212529;
  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: #f6f6f6;
  display: inline-block;
}
div.timenode .body:empty {
  display: none;
}
div.timenode .body >*:first-child {
  margin-top: 0.25em;
}
div.timenode .body >*:last-child {
  margin-bottom: 0.25em;
}
div.timenode .body .highlight {
  border: 1px solid #e4e4e4;
}
div.timenode:hover .meta {
  color: #444;
}
div.timenode:hover .meta:before {
  background: rgba(255,87,34,0.5);
}
div.timenode:hover .meta:after {
  background: #ff5722;
  transform: scale(1);
}

article#arc .timenode .meta:before {
  display: none;
}
article#arc .timenode .meta:after {
  margin-left: 14px;
}
article#arc .timenode .meta:hover {
  color: var(--color-p);
  background: var(--color-site-bg);
}
article#arc .timenode .meta time {
  color: var(--color-meta);
  margin-left: 34px;
  margin-right: 4px;
  flex-shrink: 0;
  width: 60px;
}
article#arc .timenode .meta i {
  line-height: 1.5;
  color: #ff5722;
}
article#arc .timenode .meta i.red {
  color: #fe5f58;
}
article#arc .timenode .meta i.green {
  color: #3dc550;
}
article#arc .timenode .meta i.yellow {
  color: #ffbd2b;
}
article#arc .timenode .meta i.blue {
  color: #1bcdfc;
}
article#arc .timenode .meta i.theme {
  color: #44d7b6;
}
article#arc .timenode .meta i.accent {
  color: #ff5722;
}
article#arc .timenode .meta i.orange {
  color: #ff5722;
}
/* timeline标签 - end    */