Commit 68fbe009 authored by Ingo Meyer's avatar Ingo Meyer

Completely adopted Pygments' "friendly" style

parent 731c9cfb
......@@ -10,7 +10,7 @@ IMPORTANT: Use `--syntax-highlight=short` for proper code highlighting
Work based on https://bitbucket.org/cskeeters/rst2html-style/
*/
*/
html {
font-size: 100%;
......@@ -963,399 +963,514 @@ ul.auto-toc {
list-style-type: none
}
/* Code Box */
pre.code,
code {
background-color: #eeeeee
background-color: #f0f0f0
}
pre.code .ln {
color: grey;
pre.code .hll,
code .hll {
background-color: #ffffcc
}
/* line numbers */
/* Line Numbers */
code .hll, pre.code .hll {
background-color: #ffffcc
pre.code .ln,
code .ln {
color: grey;
}
code .c, pre.code .c {
/* Comment */
pre.code .c,
code .c {
color: #60a0b0;
font-style: italic
}
/* Comment */
/* Error */
code .err, pre.code .err {
pre.code .err,
code .err {
border: 1px solid #FF0000
}
/* Error */
/* Keyword */
code .k, pre.code .k {
pre.code .k,
code .k {
color: #007020;
font-weight: bold
}
/* Keyword */
/* Operator */
code .o, pre.code .o {
pre.code .o,
code .o {
color: #666666
}
/* Operator */
/* Comment.Hashbang */
code .cm, pre.code .cm {
pre.code .ch,
code .ch {
color: #60a0b0;
font-style: italic
}
/* Comment.Multiline */
code .cp, pre.code .cp {
color: #007020
pre.code .cm,
code .cm {
color: #60a0b0;
font-style: italic
}
/* Comment.Preproc */
code .c1, pre.code .c1 {
pre.code .cp,
code .cp {
color: #007020
}
/* Comment.PreprocFile */
pre.code .cpf,
code .cpf {
color: #60a0b0;
font-style: italic
}
/* Comment.Single */
code .cs, pre.code .cs {
pre.code .c1,
code .c1 {
color: #60a0b0;
background-color: #fff0f0
font-style: italic
}
/* Comment.Special */
code .gd, pre.code .gd {
color: #A00000
pre.code .cs,
code .cs {
color: #60a0b0;
background-color: #fff0f0
}
/* Generic.Deleted */
code .ge, pre.code .ge {
font-style: italic
pre.code .gd,
code .gd {
color: #A00000
}
/* Generic.Emph */
code .gr, pre.code .gr {
color: #FF0000
pre.code .ge,
code .ge {
font-style: italic
}
/* Generic.Error */
code .gh, pre.code .gh {
color: #000080;
font-weight: bold
pre.code .gr,
code .gr {
color: #FF0000
}
/* Generic.Heading */
code .gi, pre.code .gi {
color: #00A000
pre.code .gh,
code .gh {
color: #000080;
font-weight: bold
}
/* Generic.Inserted */
code .go, pre.code .go {
color: #888888
pre.code .gi,
code .gi {
color: #00A000
}
/* Generic.Output */
code .gp, pre.code .gp {
color: #c65d09;
font-weight: bold
pre.code .go,
code .go {
color: #888888
}
/* Generic.Prompt */
code .gs, pre.code .gs {
pre.code .gp,
code .gp {
color: #c65d09;
font-weight: bold
}
/* Generic.Strong */
code .gu, pre.code .gu {
color: #800080;
pre.code .gs,
code .gs {
font-weight: bold
}
/* Generic.Subheading */
code .gt, pre.code .gt {
color: #0044DD
pre.code .gu,
code .gu {
color: #800080;
font-weight: bold
}
/* Generic.Traceback */
code .kc, pre.code .kc {
color: #007020;
font-weight: bold
pre.code .gt,
code .gt {
color: #0044DD
}
/* Keyword.Constant */
code .kd, pre.code .kd {
pre.code .kc,
code .kc {
color: #007020;
font-weight: bold
}
/* Keyword.Declaration */
code .kn, pre.code .kn {
pre.code .kd,
code .kd {
color: #007020;
font-weight: bold
}
/* Keyword.Namespace */
code .kp, pre.code .kp {
color: #007020
pre.code .kn,
code .kn {
color: #007020;
font-weight: bold
}
/* Keyword.Pseudo */
code .kr, pre.code .kr {
color: #007020;
font-weight: bold
pre.code .kp,
code .kp {
color: #007020
}
/* Keyword.Reserved */
code .kt, pre.code .kt {
color: #902000
pre.code .kr,
code .kr {
color: #007020;
font-weight: bold
}
/* Keyword.Type */
code .m, pre.code .m {
color: #40a070
pre.code .kt,
code .kt {
color: #902000
}
/* Literal.Number */
code .s, pre.code .s {
color: #4070a0
pre.code .m,
code .m {
color: #40a070
}
/* Literal.String */
code .na, pre.code .na {
pre.code .s,
code .s {
color: #4070a0
}
/* Name.Attribute */
code .nb, pre.code .nb {
color: #007020
pre.code .na,
code .na {
color: #4070a0
}
/* Name.Builtin */
code .nc, pre.code .nc {
pre.code .nb,
code .nb {
color: #007020
}
/* Name.Class */
pre.code .nc,
code .nc {
color: #0e84b5;
font-weight: bold
}
/* Name.Class */
/* Name.Constant */
code .no, pre.code .no {
pre.code .no,
code .no {
color: #60add5
}
/* Name.Constant */
/* Name.Decorator */
code .nd, pre.code .nd {
pre.code .nd,
code .nd {
color: #555555;
font-weight: bold
}
/* Name.Decorator */
/* Name.Entity */
code .ni, pre.code .ni {
pre.code .ni,
code .ni {
color: #d55537;
font-weight: bold
}
/* Name.Entity */
/* Name.Exception */
code .ne, pre.code .ne {
pre.code .ne,
code .ne {
color: #007020
}
/* Name.Exception */
/* Name.Function */
code .nf, pre.code .nf {
pre.code .nf,
code .nf {
color: #06287e
}
/* Name.Function */
/* Name.Label */
code .nl, pre.code .nl {
pre.code .nl,
code .nl {
color: #002070;
font-weight: bold
}
/* Name.Label */
/* Name.Namespace */
code .nn, pre.code .nn {
pre.code .nn,
code .nn {
color: #0e84b5;
font-weight: bold
}
/* Name.Namespace */
/* Name.Tag */
code .nt, pre.code .nt {
pre.code .nt,
code .nt {
color: #062873;
font-weight: bold
}
/* Name.Tag */
/* Name.Variable */
code .nv, pre.code .nv {
pre.code .nv,
code .nv {
color: #bb60d5
}
/* Name.Variable */
/* Operator.Word */
code .ow, pre.code .ow {
pre.code .ow,
code .ow {
color: #007020;
font-weight: bold
}
/* Operator.Word */
/* Text.Whitespace */
code .w, pre.code .w {
pre.code .w,
code .w {
color: #bbbbbb
}
/* Text.Whitespace */
/* Literal.Number.Bin */
code .mf, pre.code .mf {
pre.code .mb,
code .mb {
color: #40a070
}
/* Literal.Number.Float */
code .mh, pre.code .mh {
pre.code .mf,
code .mf {
color: #40a070
}
/* Literal.Number.Hex */
code .mi, pre.code .mi {
pre.code .mh,
code .mh {
color: #40a070
}
/* Literal.Number.Integer */
code .mo, pre.code .mo {
pre.code .mi,
code .mi {
color: #40a070
}
/* Literal.Number.Oct */
code .sb, pre.code .sb {
pre.code .mo,
code .mo {
color: #40a070
}
/* Literal.String.Affix */
pre.code .sa,
code .sa {
color: #4070a0
}
/* Literal.String.Backtick */
code .sc, pre.code .sc {
pre.code .sb,
code .sb {
color: #4070a0
}
/* Literal.String.Char */
code .sd, pre.code .sd {
pre.code .sc,
code .sc {
color: #4070a0
}
/* Literal.String.Delimiter */
pre.code .dl,
code .dl {
color: #4070a0
}
/* Literal.String.Doc */
pre.code .sd,
code .sd {
color: #4070a0;
font-style: italic
}
/* Literal.String.Doc */
/* Literal.String.Double */
code .s2, pre.code .s2 {
pre.code .s2,
code .s2 {
color: #4070a0
}
/* Literal.String.Double */
/* Literal.String.Escape */
code .se, pre.code .se {
pre.code .se,
code .se {
color: #4070a0;
font-weight: bold
}
/* Literal.String.Escape */
/* Literal.String.Heredoc */
code .sh, pre.code .sh {
pre.code .sh,
code .sh {
color: #4070a0
}
/* Literal.String.Heredoc */
/* Literal.String.Interpol */
code .si, pre.code .si {
pre.code .si,
code .si {
color: #70a0d0;
font-style: italic
}
/* Literal.String.Interpol */
/* Literal.String.Other */
code .sx, pre.code .sx {
pre.code .sx,
code .sx {
color: #c65d09
}
/* Literal.String.Other */
/* Literal.String.Regex */
code .sr, pre.code .sr {
pre.code .sr,
code .sr {
color: #235388
}
/* Literal.String.Regex */
/* Literal.String.Single */
code .s1, pre.code .s1 {
pre.code .s1,
code .s1 {
color: #4070a0
}
/* Literal.String.Single */
/* Literal.String.Symbol */
code .ss, pre.code .ss {
pre.code .ss,
code .ss {
color: #517918
}
/* Literal.String.Symbol */
/* Name.Builtin.Pseudo */
code .bp, pre.code .bp {
pre.code .bp,
code .bp {
color: #007020
}
/* Name.Builtin.Pseudo */
/* Name.Function.Magic */
code .vc, pre.code .vc {
color: #bb60d5
pre.code .fm,
code .fm {
color: #06287e
}
/* Name.Variable.Class */
code .vg, pre.code .vg {
pre.code .vc,
code .vc {
color: #bb60d5
}
/* Name.Variable.Global */
code .vi, pre.code .vi {
pre.code .vg,
code .vg {
color: #bb60d5
}
/* Name.Variable.Instance */
code .il, pre.code .il {
color: #40a070
pre.code .vi,
code .vi {
color: #bb60d5
}
/* Name.Variable.Magic */
pre.code .vm,
code .vm {
color: #bb60d5
}
/* Literal.Number.Integer.Long */
pre.code .il,
code .il {
color: #40a070
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment