2015-01-20 21:25:57 +01:00
|
|
|
/* ==========================================================================
|
2015-10-30 19:02:58 +01:00
|
|
|
Syntax highlighting
|
2015-01-20 21:25:57 +01:00
|
|
|
========================================================================== */
|
|
|
|
|
2016-03-10 19:06:59 +01:00
|
|
|
div.highlighter-rouge,
|
|
|
|
figure.highlight {
|
2016-03-10 04:19:11 +01:00
|
|
|
margin-bottom: 1em;
|
|
|
|
padding: 1em;
|
2016-03-10 17:13:54 +01:00
|
|
|
border: 1px solid $border-color;
|
2016-03-10 04:19:11 +01:00
|
|
|
border-radius: $border-radius;
|
|
|
|
.highlight {
|
|
|
|
margin: 0;
|
|
|
|
font-family: $monospace;
|
2016-03-10 17:13:54 +01:00
|
|
|
font-size: 12px;
|
2016-03-10 04:19:11 +01:00
|
|
|
line-height: 1.5;
|
|
|
|
}
|
2015-10-30 19:02:58 +01:00
|
|
|
}
|
|
|
|
|
2016-03-10 04:19:11 +01:00
|
|
|
.highlight table td { padding: 5px; }
|
|
|
|
.highlight table pre { margin: 0; }
|
|
|
|
.highlight, .highlight .w {
|
|
|
|
color: #303030;
|
|
|
|
}
|
|
|
|
.highlight .err {
|
|
|
|
color: #151515;
|
|
|
|
background-color: #ac4142;
|
|
|
|
}
|
|
|
|
.highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
|
|
|
|
color: #505050;
|
|
|
|
}
|
|
|
|
.highlight .cp {
|
|
|
|
color: #f4bf75;
|
|
|
|
}
|
|
|
|
.highlight .nt {
|
|
|
|
color: #f4bf75;
|
|
|
|
}
|
|
|
|
.highlight .o, .highlight .ow {
|
|
|
|
color: #d0d0d0;
|
|
|
|
}
|
|
|
|
.highlight .p, .highlight .pi {
|
|
|
|
color: #d0d0d0;
|
|
|
|
}
|
|
|
|
.highlight .gi {
|
|
|
|
color: #90a959;
|
|
|
|
}
|
|
|
|
.highlight .gd {
|
|
|
|
color: #ac4142;
|
|
|
|
}
|
|
|
|
.highlight .gh {
|
|
|
|
color: #6a9fb5;
|
|
|
|
background-color: #151515;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
|
|
|
|
color: #aa759f;
|
|
|
|
}
|
|
|
|
.highlight .kc {
|
|
|
|
color: #d28445;
|
|
|
|
}
|
|
|
|
.highlight .kt {
|
|
|
|
color: #d28445;
|
|
|
|
}
|
|
|
|
.highlight .kd {
|
|
|
|
color: #d28445;
|
|
|
|
}
|
|
|
|
.highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
|
|
|
|
color: #90a959;
|
|
|
|
}
|
|
|
|
.highlight .sr {
|
|
|
|
color: #75b5aa;
|
|
|
|
}
|
|
|
|
.highlight .si {
|
|
|
|
color: #8f5536;
|
|
|
|
}
|
|
|
|
.highlight .se {
|
|
|
|
color: #8f5536;
|
|
|
|
}
|
|
|
|
.highlight .nn {
|
|
|
|
color: #f4bf75;
|
|
|
|
}
|
|
|
|
.highlight .nc {
|
|
|
|
color: #f4bf75;
|
|
|
|
}
|
|
|
|
.highlight .no {
|
|
|
|
color: #f4bf75;
|
|
|
|
}
|
|
|
|
.highlight .na {
|
|
|
|
color: #6a9fb5;
|
|
|
|
}
|
|
|
|
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
|
|
|
|
color: #90a959;
|
|
|
|
}
|
|
|
|
.highlight .ss {
|
|
|
|
color: #90a959;
|
2015-01-20 21:25:57 +01:00
|
|
|
}
|