2017-01-07 04:53:01 +00:00
|
|
|
code {
|
2018-02-17 15:44:42 +00:00
|
|
|
color: $color_purple;
|
|
|
|
font-size: 1em;
|
|
|
|
font-weight: bold;
|
|
|
|
border: initial;
|
|
|
|
background-color: transparent;
|
|
|
|
padding: 0;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
2017-01-18 04:59:40 +00:00
|
|
|
}
|
|
|
|
|
2018-02-17 15:44:42 +00:00
|
|
|
.box-dark pre {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2017-06-09 11:36:47 +00:00
|
|
|
}
|
|
|
|
|
2018-02-17 15:44:42 +00:00
|
|
|
.box-code, pre { // White Box
|
|
|
|
width: 100%;
|
|
|
|
padding: $percent_xs;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: $color-dark;
|
|
|
|
margin: 0 0 1rem;
|
2017-01-07 04:53:01 +00:00
|
|
|
}
|
|
|
|
|
2018-02-17 15:44:42 +00:00
|
|
|
.box-code code, pre code, .box-dark code {
|
|
|
|
color: white;
|
|
|
|
font-weight: normal;
|
2017-01-09 22:11:49 +00:00
|
|
|
}
|
|
|
|
|
2018-02-17 15:44:42 +00:00
|
|
|
//highlighter
|
2017-01-23 02:50:12 +00:00
|
|
|
|
2018-02-17 15:44:42 +00:00
|
|
|
.hljs{
|
|
|
|
display: block;
|
|
|
|
overflow-x: auto;
|
|
|
|
background-color: $color-dark;
|
2017-01-23 02:50:12 +00:00
|
|
|
}
|
|
|
|
|
2018-02-17 15:44:42 +00:00
|
|
|
.hljs,.hljs-subst,.hljs-section {
|
|
|
|
color: white;
|
2016-12-13 03:13:38 +00:00
|
|
|
}
|
2017-01-09 05:29:00 +00:00
|
|
|
|
2018-02-17 15:44:42 +00:00
|
|
|
.hljs-comment{
|
|
|
|
color: #b6b6b3
|
2016-12-13 03:13:38 +00:00
|
|
|
}
|
2017-01-09 05:29:00 +00:00
|
|
|
|
2018-02-17 15:44:42 +00:00
|
|
|
.hljs-keyword,.hljs-attribute,.hljs-selector-tag,.hljs-meta-keyword,.hljs-doctag,.hljs-name{
|
|
|
|
color: #2ae5ff;
|
2016-12-13 03:13:38 +00:00
|
|
|
}
|
2017-01-09 05:29:00 +00:00
|
|
|
|
2018-02-17 15:44:42 +00:00
|
|
|
.hljs-type,.hljs-string,.hljs-number,.hljs-selector-id,.hljs-selector-class,.hljs-quote,.hljs-template-tag,.hljs-deletion{
|
|
|
|
color: #ffa1fe;
|
2016-09-23 23:14:01 +00:00
|
|
|
}
|
2018-02-17 15:44:42 +00:00
|
|
|
.hljs-title {
|
|
|
|
color: #2ae5ff;
|
2017-01-06 08:06:40 +00:00
|
|
|
}
|
2018-02-17 15:44:42 +00:00
|
|
|
.hljs-regexp,.hljs-symbol,.hljs-variable,.hljs-template-variable,.hljs-link,.hljs-selector-attr,.hljs-selector-pseudo{
|
|
|
|
color: #9b78ff;
|
2017-01-23 02:50:12 +00:00
|
|
|
}
|
2018-02-17 15:44:42 +00:00
|
|
|
.hljs-literal{
|
|
|
|
color: #65f0b1;
|
2017-01-23 02:50:12 +00:00
|
|
|
}
|
2018-02-17 15:44:42 +00:00
|
|
|
.hljs-built_in,.hljs-bullet,.hljs-code,.hljs-addition{
|
|
|
|
color: #2ae5ff;
|
2017-01-23 02:50:12 +00:00
|
|
|
}
|
2018-02-17 15:44:42 +00:00
|
|
|
.hljs-meta{
|
|
|
|
color: #fc81ad;
|
2017-01-23 02:50:12 +00:00
|
|
|
}
|
2018-02-17 15:44:42 +00:00
|
|
|
.hljs-meta-string{
|
|
|
|
color:#ff3e85;
|
|
|
|
}
|
|
|
|
.hljs-emphasis{
|
|
|
|
font-style:italic
|
|
|
|
}
|
|
|
|
.hljs-strong{
|
|
|
|
font-weight:bold
|
2017-01-23 02:50:12 +00:00
|
|
|
}
|