Back to home page

OSCL-LXR

 
 

    


0001 /*
0002 Documentation for pygments (and Jekyll for that matter) is super sparse.
0003 To generate this, I had to run
0004   `pygmentize -S default -f html > pygments-default.css`
0005 But first I had to install pygments via easy_install pygments
0006 
0007 I had to override the conflicting bootstrap style rules by linking to
0008 this stylesheet lower in the html than the bootstrap css.
0009 
0010 Also, I was thrown off for a while at first when I was using markdown
0011 code block inside my {% highlight scala %} ... {% endhighlight %} tags
0012 (I was using 4 spaces for this), when it turns out that pygments will
0013 insert the code (or pre?) tags for you.
0014 
0015 Note that due to Python 3 compatibility in the project, now we use
0016 Rouge which claims Pygments compatibility, instead of pygments.rb which
0017 does not support Python 3. See SPARK-28752.
0018 */
0019 
0020 .hll { background-color: #ffffcc }
0021 .c { color: #60a0b0; font-style: italic } /* Comment */
0022 .err { } /* Error */
0023 .k { color: #007020; font-weight: bold } /* Keyword */
0024 .o { color: #666666 } /* Operator */
0025 .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */
0026 .cp { color: #007020 } /* Comment.Preproc */
0027 .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */
0028 .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */
0029 .gd { color: #A00000 } /* Generic.Deleted */
0030 .ge { font-style: italic } /* Generic.Emph */
0031 .gr { color: #FF0000 } /* Generic.Error */
0032 .gh { color: #000080; font-weight: bold } /* Generic.Heading */
0033 .gi { color: #00A000 } /* Generic.Inserted */
0034 .go { color: #808080 } /* Generic.Output */
0035 .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
0036 .gs { font-weight: bold } /* Generic.Strong */
0037 .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
0038 .gt { color: #0040D0 } /* Generic.Traceback */
0039 .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
0040 .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
0041 .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
0042 .kp { color: #007020 } /* Keyword.Pseudo */
0043 .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
0044 .kt { color: #902000 } /* Keyword.Type */
0045 .m { color: #40a070 } /* Literal.Number */
0046 .s { color: #4070a0 } /* Literal.String */
0047 .na { color: #4070a0 } /* Name.Attribute */
0048 .nb { color: #007020 } /* Name.Builtin */
0049 .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
0050 .no { color: #60add5 } /* Name.Constant */
0051 .nd { color: #555555; font-weight: bold } /* Name.Decorator */
0052 .ni { color: #d55537; font-weight: bold } /* Name.Entity */
0053 .ne { color: #007020 } /* Name.Exception */
0054 .nf { color: #06287e } /* Name.Function */
0055 .nl { color: #002070; font-weight: bold } /* Name.Label */
0056 .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
0057 .nt { color: #062873; font-weight: bold } /* Name.Tag */
0058 .nv { color: #bb60d5 } /* Name.Variable */
0059 .ow { color: #007020; font-weight: bold } /* Operator.Word */
0060 .w { color: #bbbbbb } /* Text.Whitespace */
0061 .mf { color: #40a070 } /* Literal.Number.Float */
0062 .mh { color: #40a070 } /* Literal.Number.Hex */
0063 .mi { color: #40a070 } /* Literal.Number.Integer */
0064 .mo { color: #40a070 } /* Literal.Number.Oct */
0065 .sb { color: #4070a0 } /* Literal.String.Backtick */
0066 .sc { color: #4070a0 } /* Literal.String.Char */
0067 .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
0068 .s2 { color: #4070a0 } /* Literal.String.Double */
0069 .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
0070 .sh { color: #4070a0 } /* Literal.String.Heredoc */
0071 .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
0072 .sx { color: #c65d09 } /* Literal.String.Other */
0073 .sr { color: #235388 } /* Literal.String.Regex */
0074 .s1 { color: #4070a0 } /* Literal.String.Single */
0075 .ss { color: #517918 } /* Literal.String.Symbol */
0076 .bp { color: #007020 } /* Name.Builtin.Pseudo */
0077 .vc { color: #bb60d5 } /* Name.Variable.Class */
0078 .vg { color: #bb60d5 } /* Name.Variable.Global */
0079 .vi { color: #bb60d5 } /* Name.Variable.Instance */
0080 .il { color: #40a070 } /* Literal.Number.Integer.Long */