mdBook/src/theme/highlight.css

80 lines
1.2 KiB
CSS
Raw Normal View History

/* Base16 Atelier Dune Light - Theme */
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
/* Atelier-Dune Comment */
2017-03-10 11:40:28 +08:00
.hljs-comment,
.hljs-quote {
color: #AAA;
}
/* Atelier-Dune Red */
.hljs-variable,
2017-03-10 11:40:28 +08:00
.hljs-template-variable,
.hljs-attribute,
.hljs-tag,
2017-03-10 11:40:28 +08:00
.hljs-name,
.hljs-regexp,
2017-03-10 11:40:28 +08:00
.hljs-link,
.hljs-name,
2017-03-10 11:40:28 +08:00
.hljs-selector-id,
.hljs-selector-class {
color: #d73737;
}
/* Atelier-Dune Orange */
.hljs-number,
2017-03-10 11:40:28 +08:00
.hljs-meta,
.hljs-built_in,
2017-03-10 11:40:28 +08:00
.hljs-builtin-name,
.hljs-literal,
2017-03-10 11:40:28 +08:00
.hljs-type,
.hljs-params {
color: #b65611;
}
/* Atelier-Dune Green */
.hljs-string,
2017-03-10 11:40:28 +08:00
.hljs-symbol,
.hljs-bullet {
color: #60ac39;
}
/* Atelier-Dune Blue */
2017-03-10 11:40:28 +08:00
.hljs-title,
.hljs-section {
color: #6684e1;
}
/* Atelier-Dune Purple */
.hljs-keyword,
2017-03-10 11:40:28 +08:00
.hljs-selector-tag {
color: #b854d4;
}
.hljs {
display: block;
overflow-x: auto;
background: #f1f1f1;
color: #6e6b5e;
padding: 0.5em;
}
2017-03-10 11:40:28 +08:00
.hljs-emphasis {
font-style: italic;
}
2017-03-10 11:40:28 +08:00
.hljs-strong {
font-weight: bold;
}
.hljs-addition {
color: #22863a;
background-color: #f0fff4;
}
.hljs-deletion {
color: #b31d28;
background-color: #ffeef0;
}