code span,
code {
  font-size: 14px;
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
}

pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 0 1em
}

code[class*=language-],
pre[class*=language-] {
  color: #f8f8f2;
  background: 0 0;
  text-shadow: 0 1px rgba(0, 0, 0, .3);
  font-family: 'font1';
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.5;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

pre[class*=language-] {
  padding: 1em;
  margin: .5em 0;
  overflow: auto;
  border-radius: .3em
}

:not(pre)>code[class*=language-],
pre[class*=language-] {
  background: #222
}

:not(pre)>code[class*=language-] {
  padding: .1em;
  border-radius: .3em;
  white-space: normal
}

.token.cdata,
.token.comment,
.token.doctype,
.token.prolog {
  color: #708090
}

.token.punctuation {
  color: #f8f8f2
}

.namespace {
  opacity: .7
}

.token.constant,
.token.deleted,
.token.property,
.token.symbol,
.token.tag {
  color: #f92672
}

.token.boolean,
.token.number {
  color: #ae81ff
}

.token.attr-name,
.token.builtin,
.token.char,
.token.inserted,
.token.selector,
.token.string {
  color: #a6e22e
}

.language-css .token.string,
.style .token.string,
.token.entity,
.token.operator,
.token.url,
.token.variable {
  color: #f8f8f2
}

.token.atrule,
.token.attr-value,
.token.function {
  color: #e6db74
}

.token.keyword {
  color: #66d9ef
}

.token.important,
.token.regex {
  color: #fd971f
}

.token.bold,
.token.important {
  font-weight: 700
}

.token.italic {
  font-style: italic
}

.token.entity {
  cursor: help
}

pre.line-numbers {
  position: relative;
  padding-left: 3.5em;
  counter-reset: linenumber
}

pre.line-numbers>code {
  font-size: 1rem;
  position: relative;
  white-space: inherit
}

.line-numbers .line-numbers-rows {
  position: absolute;
  pointer-events: none;
  top: 0;
  font-size: 100%;
  left: -3.8em;
  width: 3em;
  letter-spacing: -1px;
  border-right: 1px solid #999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none
}

.line-numbers-rows>span {
  pointer-events: none;
  display: block;
  counter-increment: linenumber
}

.line-numbers-rows>span:before {
  content: counter(linenumber);
  color: #999;
  display: block;
  padding-right: .8em;
  text-align: right
}

div.code-toolbar {
  position: relative
}

div.code-toolbar>.toolbar {
  font-size: 1rem;
  position: absolute;
  top: .3em;
  right: .2em;
  transition: opacity .3s ease-in-out;
  opacity: 0
}

div.code-toolbar:hover>.toolbar {
  opacity: 1
}

div.code-toolbar>.toolbar .toolbar-item {
  display: inline-block
}

div.code-toolbar>.toolbar a {
  cursor: pointer
}

div.code-toolbar>.toolbar button {
  background: 0 0;
  border: 0;
  color: inherit;
  font: inherit;
  line-height: normal;
  overflow: visible;
  padding: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none
}

div.code-toolbar>.toolbar a,
div.code-toolbar>.toolbar button,
div.code-toolbar>.toolbar span {
  text-decoration: none;
  color: #bbb;
  font-size: .8em;
  padding: 0 .5em;
  background: #f5f2f0;
  background: rgba(224, 224, 224, .2);
  box-shadow: 0 2px 0 0 rgba(0, 0, 0, .2);
  border-radius: .5em
}

div.code-toolbar>.toolbar a:focus,
div.code-toolbar>.toolbar a:hover,
div.code-toolbar>.toolbar button:focus,
div.code-toolbar>.toolbar button:hover,
div.code-toolbar>.toolbar span:focus,
div.code-toolbar>.toolbar span:hover {
  color: inherit;
  text-decoration: none
}

code span,
code li {
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  /* white-space: pre !important; */
}

code li {
  color: #f8f8f2 !important;
}

code.hljs {
  padding: 3px 5px;
  margin-bottom: .5rem;
  max-height: 500px
}

.article-content pre {
  display: grid;
  margin: .5rem 0;
}

pre .pre-head {
  color: #fff;
  background: #18181c;
  height: 30px;
}

pre .pre-head:before {
  position: relative;
  top: 10px;
  left: 10px;
  z-index: 2;
  border-radius: 50%;
  background: #fc625d;
  box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
  content: " ";
  display: block;
  width: 12px;
  height: 12px;
}

pre .pre-head p {
  color: #ddd !important;
  font-size: .875rem;
  font-weight: 500;
  position: relative;
}

.pre-head>p {
  margin-top: -5px !important;
  display: flex;
  justify-content: center;
}

pre .pre-head .code-language {
  /* opacity: 0; */
  font-weight: 700;
  font-size: .9em;
  font-family: Ubuntu, sans-serif;
  transition: all .3s ease;
}

pre .copy {
  /* opacity: 0; */
  color: #ddd !important;
  position: absolute;
  right: 10px;
  padding: 0 10px;
  border-radius: 4px;
  margin-top: -2px;
  cursor: pointer;
  transition: all .3s ease;
  display: flex;
  align-items: center;
  top: 0;
}


pre:hover .pre-head .code-language {
  opacity: 1;
  transition: all .3s ease
}

pre:hover .pre-head .copy {
  opacity: 1;
  /* line-height: 1; */
  transition: all .6s ease
}

.hljs {
  color: #ddd
}

.hljs-keyword,
.hljs-literal,
.hljs-name,
.hljs-selector-tag,
.hljs-strong,
.hljs-tag {
  color: #f92672
}

.hljs-code {
  color: #66d9ef
}

.hljs-attribute,
.hljs-link,
.hljs-regexp,
.hljs-symbol {
  color: #bf79db
}

.hljs-addition,
.hljs-built_in,
.hljs-bullet,
.hljs-emphasis,
.hljs-section,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-string,
.hljs-subst,
.hljs-template-tag,
.hljs-template-variable,
.hljs-title,
.hljs-type,
.hljs-variable {
  color: #a6e22e
}

.hljs-class .hljs-title,
.hljs-title.class_ {
  color: #fff
}

.hljs-comment,
.hljs-deletion,
.hljs-meta,
.hljs-quote {
  color: #75715e
}

.hljs-doctag,
.hljs-keyword,
.hljs-literal,
.hljs-section,
.hljs-selector-id,
.hljs-selector-tag,
.hljs-title,
.hljs-type {
  font-weight: 700
}

.hljs ul {
  margin: 0 !important;
  list-style: decimal-leading-zero
}

.hljs ul li {
  padding: 5px !important;
  line-height: 14px !important;
  list-style-type: auto;
}

.hljs ul li::marker {
  color: #999
}

pre {
  background-color: #2b2e31;
  overflow: auto;
  border-radius: 5px;
  overflow-x: hidden
}

code::-webkit-scrollbar {
  width: 2px;
  height: 0
}

code::-webkit-scrollbar-thumb {
  background: var(--primary-color)
}

code::-webkit-scrollbar-thumb,
code::-webkit-scrollbar-track {
  border-radius: 5px;
  -webkit-box-shadow: inset 0 0 5px var(--transparent-color)
}

code::-webkit-scrollbar-track {
  background: var(--transparent-color)
}

code ul {
  padding-left: 30px !important
}