mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 10:32:21 +02:00
[mod] upgrade pygments
add searx_extra/update/update_pygments.py to update the css style of the oscar and simple themes.
This commit is contained in:
parent
4c631ac6d0
commit
32cd0d31b3
32 changed files with 2180 additions and 1667 deletions
|
@ -1,4 +1,4 @@
|
|||
/*! searx | 01-12-2020 | https://github.com/searx/searx */
|
||||
/*! searx | 16-03-2021 | */
|
||||
/*
|
||||
* searx, A privacy-respecting, hackable metasearch engine
|
||||
*
|
||||
|
@ -311,277 +311,17 @@ template {
|
|||
/*
|
||||
* searx, A privacy-respecting, hackable metasearch engine
|
||||
*/
|
||||
.highlight .hll {
|
||||
background-color: #ffffcc;
|
||||
}
|
||||
.highlight {
|
||||
background: #f8f8f8;
|
||||
}
|
||||
.highlight .c {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment */
|
||||
.highlight .err {
|
||||
border: 1px solid #FF0000;
|
||||
}
|
||||
/* Error */
|
||||
.highlight .k {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword */
|
||||
.highlight .o {
|
||||
color: #666666;
|
||||
}
|
||||
/* Operator */
|
||||
.highlight .cm {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Multiline */
|
||||
.highlight .cp {
|
||||
color: #BC7A00;
|
||||
}
|
||||
/* Comment.Preproc */
|
||||
.highlight .c1 {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Single */
|
||||
.highlight .cs {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Special */
|
||||
.highlight .gd {
|
||||
color: #A00000;
|
||||
}
|
||||
/* Generic.Deleted */
|
||||
.highlight .ge {
|
||||
font-style: italic;
|
||||
}
|
||||
/* Generic.Emph */
|
||||
.highlight .gr {
|
||||
color: #FF0000;
|
||||
}
|
||||
/* Generic.Error */
|
||||
.highlight .gh {
|
||||
color: #000080;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Heading */
|
||||
.highlight .gi {
|
||||
color: #00A000;
|
||||
}
|
||||
/* Generic.Inserted */
|
||||
.highlight .go {
|
||||
color: #888888;
|
||||
}
|
||||
/* Generic.Output */
|
||||
.highlight .gp {
|
||||
color: #000080;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Prompt */
|
||||
.highlight .gs {
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Strong */
|
||||
.highlight .gu {
|
||||
color: #800080;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Subheading */
|
||||
.highlight .gt {
|
||||
color: #0044DD;
|
||||
}
|
||||
/* Generic.Traceback */
|
||||
.highlight .kc {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Constant */
|
||||
.highlight .kd {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Declaration */
|
||||
.highlight .kn {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Namespace */
|
||||
.highlight .kp {
|
||||
color: #008000;
|
||||
}
|
||||
/* Keyword.Pseudo */
|
||||
.highlight .kr {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Reserved */
|
||||
.highlight .kt {
|
||||
color: #B00040;
|
||||
}
|
||||
/* Keyword.Type */
|
||||
.highlight .m {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number */
|
||||
.highlight .s {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String */
|
||||
.highlight .na {
|
||||
color: #7D9029;
|
||||
}
|
||||
/* Name.Attribute */
|
||||
.highlight .nb {
|
||||
color: #008000;
|
||||
}
|
||||
/* Name.Builtin */
|
||||
.highlight .nc {
|
||||
color: #0000FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Class */
|
||||
.highlight .no {
|
||||
color: #880000;
|
||||
}
|
||||
/* Name.Constant */
|
||||
.highlight .nd {
|
||||
color: #AA22FF;
|
||||
}
|
||||
/* Name.Decorator */
|
||||
.highlight .ni {
|
||||
color: #999999;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Entity */
|
||||
.highlight .ne {
|
||||
color: #D2413A;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Exception */
|
||||
.highlight .nf {
|
||||
color: #0000FF;
|
||||
}
|
||||
/* Name.Function */
|
||||
.highlight .nl {
|
||||
color: #A0A000;
|
||||
}
|
||||
/* Name.Label */
|
||||
.highlight .nn {
|
||||
color: #0000FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Namespace */
|
||||
.highlight .nt {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Tag */
|
||||
.highlight .nv {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable */
|
||||
.highlight .ow {
|
||||
color: #AA22FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Operator.Word */
|
||||
.highlight .w {
|
||||
color: #bbbbbb;
|
||||
}
|
||||
/* Text.Whitespace */
|
||||
.highlight .mf {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Float */
|
||||
.highlight .mh {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Hex */
|
||||
.highlight .mi {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Integer */
|
||||
.highlight .mo {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Oct */
|
||||
.highlight .sb {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Backtick */
|
||||
.highlight .sc {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Char */
|
||||
.highlight .sd {
|
||||
color: #BA2121;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Literal.String.Doc */
|
||||
.highlight .s2 {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Double */
|
||||
.highlight .se {
|
||||
color: #BB6622;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Escape */
|
||||
.highlight .sh {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Heredoc */
|
||||
.highlight .si {
|
||||
color: #BB6688;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Interpol */
|
||||
.highlight .sx {
|
||||
color: #008000;
|
||||
}
|
||||
/* Literal.String.Other */
|
||||
.highlight .sr {
|
||||
color: #BB6688;
|
||||
}
|
||||
/* Literal.String.Regex */
|
||||
.highlight .s1 {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Single */
|
||||
.highlight .ss {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Literal.String.Symbol */
|
||||
.highlight .bp {
|
||||
color: #008000;
|
||||
}
|
||||
/* Name.Builtin.Pseudo */
|
||||
.highlight .vc {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable.Class */
|
||||
.highlight .vg {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable.Global */
|
||||
.highlight .vi {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable.Instance */
|
||||
.highlight .il {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Integer.Long */
|
||||
.highlight pre {
|
||||
.code-highlight pre {
|
||||
overflow: auto;
|
||||
background-color: inherit;
|
||||
color: inherit;
|
||||
border: inherit;
|
||||
}
|
||||
.highlight .lineno {
|
||||
/*
|
||||
this file is generated automatically by searx_extra/update/update_pygments.py
|
||||
using pygments version 2.8.0
|
||||
*/
|
||||
.code-highlight .linenos {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
|
@ -589,15 +329,341 @@ template {
|
|||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
margin-right: 8px;
|
||||
text-align: right;
|
||||
}
|
||||
.highlight .lineno::selection {
|
||||
.code-highlight .linenos::selection {
|
||||
background: transparent;
|
||||
/* WebKit/Blink Browsers */
|
||||
}
|
||||
.highlight .lineno::-moz-selection {
|
||||
.code-highlight .linenos::-moz-selection {
|
||||
background: transparent;
|
||||
/* Gecko Browsers */
|
||||
}
|
||||
.code-highlight pre {
|
||||
line-height: 125%;
|
||||
}
|
||||
.code-highlight td.linenos .normal {
|
||||
color: inherit;
|
||||
background-color: transparent;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
.code-highlight span.linenos {
|
||||
color: inherit;
|
||||
background-color: transparent;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
.code-highlight td.linenos .special {
|
||||
color: #000000;
|
||||
background-color: #ffffc0;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
.code-highlight span.linenos.special {
|
||||
color: #000000;
|
||||
background-color: #ffffc0;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
.code-highlight .hll {
|
||||
background-color: #ffffcc;
|
||||
}
|
||||
.code-highlight {
|
||||
background: #f8f8f8;
|
||||
}
|
||||
.code-highlight .c {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment */
|
||||
.code-highlight .err {
|
||||
border: 1px solid #FF0000;
|
||||
}
|
||||
/* Error */
|
||||
.code-highlight .k {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword */
|
||||
.code-highlight .o {
|
||||
color: #666666;
|
||||
}
|
||||
/* Operator */
|
||||
.code-highlight .ch {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Hashbang */
|
||||
.code-highlight .cm {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Multiline */
|
||||
.code-highlight .cp {
|
||||
color: #BC7A00;
|
||||
}
|
||||
/* Comment.Preproc */
|
||||
.code-highlight .cpf {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.PreprocFile */
|
||||
.code-highlight .c1 {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Single */
|
||||
.code-highlight .cs {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Special */
|
||||
.code-highlight .gd {
|
||||
color: #A00000;
|
||||
}
|
||||
/* Generic.Deleted */
|
||||
.code-highlight .ge {
|
||||
font-style: italic;
|
||||
}
|
||||
/* Generic.Emph */
|
||||
.code-highlight .gr {
|
||||
color: #FF0000;
|
||||
}
|
||||
/* Generic.Error */
|
||||
.code-highlight .gh {
|
||||
color: #000080;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Heading */
|
||||
.code-highlight .gi {
|
||||
color: #00A000;
|
||||
}
|
||||
/* Generic.Inserted */
|
||||
.code-highlight .go {
|
||||
color: #888888;
|
||||
}
|
||||
/* Generic.Output */
|
||||
.code-highlight .gp {
|
||||
color: #000080;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Prompt */
|
||||
.code-highlight .gs {
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Strong */
|
||||
.code-highlight .gu {
|
||||
color: #800080;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Subheading */
|
||||
.code-highlight .gt {
|
||||
color: #0044DD;
|
||||
}
|
||||
/* Generic.Traceback */
|
||||
.code-highlight .kc {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Constant */
|
||||
.code-highlight .kd {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Declaration */
|
||||
.code-highlight .kn {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Namespace */
|
||||
.code-highlight .kp {
|
||||
color: #008000;
|
||||
}
|
||||
/* Keyword.Pseudo */
|
||||
.code-highlight .kr {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Reserved */
|
||||
.code-highlight .kt {
|
||||
color: #B00040;
|
||||
}
|
||||
/* Keyword.Type */
|
||||
.code-highlight .m {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number */
|
||||
.code-highlight .s {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String */
|
||||
.code-highlight .na {
|
||||
color: #7D9029;
|
||||
}
|
||||
/* Name.Attribute */
|
||||
.code-highlight .nb {
|
||||
color: #008000;
|
||||
}
|
||||
/* Name.Builtin */
|
||||
.code-highlight .nc {
|
||||
color: #0000FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Class */
|
||||
.code-highlight .no {
|
||||
color: #880000;
|
||||
}
|
||||
/* Name.Constant */
|
||||
.code-highlight .nd {
|
||||
color: #AA22FF;
|
||||
}
|
||||
/* Name.Decorator */
|
||||
.code-highlight .ni {
|
||||
color: #999999;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Entity */
|
||||
.code-highlight .ne {
|
||||
color: #D2413A;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Exception */
|
||||
.code-highlight .nf {
|
||||
color: #0000FF;
|
||||
}
|
||||
/* Name.Function */
|
||||
.code-highlight .nl {
|
||||
color: #A0A000;
|
||||
}
|
||||
/* Name.Label */
|
||||
.code-highlight .nn {
|
||||
color: #0000FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Namespace */
|
||||
.code-highlight .nt {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Tag */
|
||||
.code-highlight .nv {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable */
|
||||
.code-highlight .ow {
|
||||
color: #AA22FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Operator.Word */
|
||||
.code-highlight .w {
|
||||
color: #bbbbbb;
|
||||
}
|
||||
/* Text.Whitespace */
|
||||
.code-highlight .mb {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Bin */
|
||||
.code-highlight .mf {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Float */
|
||||
.code-highlight .mh {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Hex */
|
||||
.code-highlight .mi {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Integer */
|
||||
.code-highlight .mo {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Oct */
|
||||
.code-highlight .sa {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Affix */
|
||||
.code-highlight .sb {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Backtick */
|
||||
.code-highlight .sc {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Char */
|
||||
.code-highlight .dl {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Delimiter */
|
||||
.code-highlight .sd {
|
||||
color: #BA2121;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Literal.String.Doc */
|
||||
.code-highlight .s2 {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Double */
|
||||
.code-highlight .se {
|
||||
color: #BB6622;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Escape */
|
||||
.code-highlight .sh {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Heredoc */
|
||||
.code-highlight .si {
|
||||
color: #BB6688;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Interpol */
|
||||
.code-highlight .sx {
|
||||
color: #008000;
|
||||
}
|
||||
/* Literal.String.Other */
|
||||
.code-highlight .sr {
|
||||
color: #BB6688;
|
||||
}
|
||||
/* Literal.String.Regex */
|
||||
.code-highlight .s1 {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Single */
|
||||
.code-highlight .ss {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Literal.String.Symbol */
|
||||
.code-highlight .bp {
|
||||
color: #008000;
|
||||
}
|
||||
/* Name.Builtin.Pseudo */
|
||||
.code-highlight .fm {
|
||||
color: #0000FF;
|
||||
}
|
||||
/* Name.Function.Magic */
|
||||
.code-highlight .vc {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable.Class */
|
||||
.code-highlight .vg {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable.Global */
|
||||
.code-highlight .vi {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable.Instance */
|
||||
.code-highlight .vm {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable.Magic */
|
||||
.code-highlight .il {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Integer.Long */
|
||||
html.no-js .hide_if_nojs {
|
||||
display: none;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
/*! searx | 01-12-2020 | https://github.com/searx/searx */
|
||||
/*! searx | 16-03-2021 | */
|
||||
/*
|
||||
* searx, A privacy-respecting, hackable metasearch engine
|
||||
*
|
||||
|
@ -311,277 +311,17 @@ template {
|
|||
/*
|
||||
* searx, A privacy-respecting, hackable metasearch engine
|
||||
*/
|
||||
.highlight .hll {
|
||||
background-color: #ffffcc;
|
||||
}
|
||||
.highlight {
|
||||
background: #f8f8f8;
|
||||
}
|
||||
.highlight .c {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment */
|
||||
.highlight .err {
|
||||
border: 1px solid #FF0000;
|
||||
}
|
||||
/* Error */
|
||||
.highlight .k {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword */
|
||||
.highlight .o {
|
||||
color: #666666;
|
||||
}
|
||||
/* Operator */
|
||||
.highlight .cm {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Multiline */
|
||||
.highlight .cp {
|
||||
color: #BC7A00;
|
||||
}
|
||||
/* Comment.Preproc */
|
||||
.highlight .c1 {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Single */
|
||||
.highlight .cs {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Special */
|
||||
.highlight .gd {
|
||||
color: #A00000;
|
||||
}
|
||||
/* Generic.Deleted */
|
||||
.highlight .ge {
|
||||
font-style: italic;
|
||||
}
|
||||
/* Generic.Emph */
|
||||
.highlight .gr {
|
||||
color: #FF0000;
|
||||
}
|
||||
/* Generic.Error */
|
||||
.highlight .gh {
|
||||
color: #000080;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Heading */
|
||||
.highlight .gi {
|
||||
color: #00A000;
|
||||
}
|
||||
/* Generic.Inserted */
|
||||
.highlight .go {
|
||||
color: #888888;
|
||||
}
|
||||
/* Generic.Output */
|
||||
.highlight .gp {
|
||||
color: #000080;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Prompt */
|
||||
.highlight .gs {
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Strong */
|
||||
.highlight .gu {
|
||||
color: #800080;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Subheading */
|
||||
.highlight .gt {
|
||||
color: #0044DD;
|
||||
}
|
||||
/* Generic.Traceback */
|
||||
.highlight .kc {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Constant */
|
||||
.highlight .kd {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Declaration */
|
||||
.highlight .kn {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Namespace */
|
||||
.highlight .kp {
|
||||
color: #008000;
|
||||
}
|
||||
/* Keyword.Pseudo */
|
||||
.highlight .kr {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Reserved */
|
||||
.highlight .kt {
|
||||
color: #B00040;
|
||||
}
|
||||
/* Keyword.Type */
|
||||
.highlight .m {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number */
|
||||
.highlight .s {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String */
|
||||
.highlight .na {
|
||||
color: #7D9029;
|
||||
}
|
||||
/* Name.Attribute */
|
||||
.highlight .nb {
|
||||
color: #008000;
|
||||
}
|
||||
/* Name.Builtin */
|
||||
.highlight .nc {
|
||||
color: #0000FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Class */
|
||||
.highlight .no {
|
||||
color: #880000;
|
||||
}
|
||||
/* Name.Constant */
|
||||
.highlight .nd {
|
||||
color: #AA22FF;
|
||||
}
|
||||
/* Name.Decorator */
|
||||
.highlight .ni {
|
||||
color: #999999;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Entity */
|
||||
.highlight .ne {
|
||||
color: #D2413A;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Exception */
|
||||
.highlight .nf {
|
||||
color: #0000FF;
|
||||
}
|
||||
/* Name.Function */
|
||||
.highlight .nl {
|
||||
color: #A0A000;
|
||||
}
|
||||
/* Name.Label */
|
||||
.highlight .nn {
|
||||
color: #0000FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Namespace */
|
||||
.highlight .nt {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Tag */
|
||||
.highlight .nv {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable */
|
||||
.highlight .ow {
|
||||
color: #AA22FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Operator.Word */
|
||||
.highlight .w {
|
||||
color: #bbbbbb;
|
||||
}
|
||||
/* Text.Whitespace */
|
||||
.highlight .mf {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Float */
|
||||
.highlight .mh {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Hex */
|
||||
.highlight .mi {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Integer */
|
||||
.highlight .mo {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Oct */
|
||||
.highlight .sb {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Backtick */
|
||||
.highlight .sc {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Char */
|
||||
.highlight .sd {
|
||||
color: #BA2121;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Literal.String.Doc */
|
||||
.highlight .s2 {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Double */
|
||||
.highlight .se {
|
||||
color: #BB6622;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Escape */
|
||||
.highlight .sh {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Heredoc */
|
||||
.highlight .si {
|
||||
color: #BB6688;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Interpol */
|
||||
.highlight .sx {
|
||||
color: #008000;
|
||||
}
|
||||
/* Literal.String.Other */
|
||||
.highlight .sr {
|
||||
color: #BB6688;
|
||||
}
|
||||
/* Literal.String.Regex */
|
||||
.highlight .s1 {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Single */
|
||||
.highlight .ss {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Literal.String.Symbol */
|
||||
.highlight .bp {
|
||||
color: #008000;
|
||||
}
|
||||
/* Name.Builtin.Pseudo */
|
||||
.highlight .vc {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable.Class */
|
||||
.highlight .vg {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable.Global */
|
||||
.highlight .vi {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable.Instance */
|
||||
.highlight .il {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Integer.Long */
|
||||
.highlight pre {
|
||||
.code-highlight pre {
|
||||
overflow: auto;
|
||||
background-color: inherit;
|
||||
color: inherit;
|
||||
border: inherit;
|
||||
}
|
||||
.highlight .lineno {
|
||||
/*
|
||||
this file is generated automatically by searx_extra/update/update_pygments.py
|
||||
using pygments version 2.8.0
|
||||
*/
|
||||
.code-highlight .linenos {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
|
@ -589,15 +329,341 @@ template {
|
|||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
margin-right: 8px;
|
||||
text-align: right;
|
||||
}
|
||||
.highlight .lineno::selection {
|
||||
.code-highlight .linenos::selection {
|
||||
background: transparent;
|
||||
/* WebKit/Blink Browsers */
|
||||
}
|
||||
.highlight .lineno::-moz-selection {
|
||||
.code-highlight .linenos::-moz-selection {
|
||||
background: transparent;
|
||||
/* Gecko Browsers */
|
||||
}
|
||||
.code-highlight pre {
|
||||
line-height: 125%;
|
||||
}
|
||||
.code-highlight td.linenos .normal {
|
||||
color: inherit;
|
||||
background-color: transparent;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
.code-highlight span.linenos {
|
||||
color: inherit;
|
||||
background-color: transparent;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
.code-highlight td.linenos .special {
|
||||
color: #000000;
|
||||
background-color: #ffffc0;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
.code-highlight span.linenos.special {
|
||||
color: #000000;
|
||||
background-color: #ffffc0;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
.code-highlight .hll {
|
||||
background-color: #ffffcc;
|
||||
}
|
||||
.code-highlight {
|
||||
background: #f8f8f8;
|
||||
}
|
||||
.code-highlight .c {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment */
|
||||
.code-highlight .err {
|
||||
border: 1px solid #FF0000;
|
||||
}
|
||||
/* Error */
|
||||
.code-highlight .k {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword */
|
||||
.code-highlight .o {
|
||||
color: #666666;
|
||||
}
|
||||
/* Operator */
|
||||
.code-highlight .ch {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Hashbang */
|
||||
.code-highlight .cm {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Multiline */
|
||||
.code-highlight .cp {
|
||||
color: #BC7A00;
|
||||
}
|
||||
/* Comment.Preproc */
|
||||
.code-highlight .cpf {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.PreprocFile */
|
||||
.code-highlight .c1 {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Single */
|
||||
.code-highlight .cs {
|
||||
color: #408080;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Special */
|
||||
.code-highlight .gd {
|
||||
color: #A00000;
|
||||
}
|
||||
/* Generic.Deleted */
|
||||
.code-highlight .ge {
|
||||
font-style: italic;
|
||||
}
|
||||
/* Generic.Emph */
|
||||
.code-highlight .gr {
|
||||
color: #FF0000;
|
||||
}
|
||||
/* Generic.Error */
|
||||
.code-highlight .gh {
|
||||
color: #000080;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Heading */
|
||||
.code-highlight .gi {
|
||||
color: #00A000;
|
||||
}
|
||||
/* Generic.Inserted */
|
||||
.code-highlight .go {
|
||||
color: #888888;
|
||||
}
|
||||
/* Generic.Output */
|
||||
.code-highlight .gp {
|
||||
color: #000080;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Prompt */
|
||||
.code-highlight .gs {
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Strong */
|
||||
.code-highlight .gu {
|
||||
color: #800080;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Generic.Subheading */
|
||||
.code-highlight .gt {
|
||||
color: #0044DD;
|
||||
}
|
||||
/* Generic.Traceback */
|
||||
.code-highlight .kc {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Constant */
|
||||
.code-highlight .kd {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Declaration */
|
||||
.code-highlight .kn {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Namespace */
|
||||
.code-highlight .kp {
|
||||
color: #008000;
|
||||
}
|
||||
/* Keyword.Pseudo */
|
||||
.code-highlight .kr {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Reserved */
|
||||
.code-highlight .kt {
|
||||
color: #B00040;
|
||||
}
|
||||
/* Keyword.Type */
|
||||
.code-highlight .m {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number */
|
||||
.code-highlight .s {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String */
|
||||
.code-highlight .na {
|
||||
color: #7D9029;
|
||||
}
|
||||
/* Name.Attribute */
|
||||
.code-highlight .nb {
|
||||
color: #008000;
|
||||
}
|
||||
/* Name.Builtin */
|
||||
.code-highlight .nc {
|
||||
color: #0000FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Class */
|
||||
.code-highlight .no {
|
||||
color: #880000;
|
||||
}
|
||||
/* Name.Constant */
|
||||
.code-highlight .nd {
|
||||
color: #AA22FF;
|
||||
}
|
||||
/* Name.Decorator */
|
||||
.code-highlight .ni {
|
||||
color: #999999;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Entity */
|
||||
.code-highlight .ne {
|
||||
color: #D2413A;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Exception */
|
||||
.code-highlight .nf {
|
||||
color: #0000FF;
|
||||
}
|
||||
/* Name.Function */
|
||||
.code-highlight .nl {
|
||||
color: #A0A000;
|
||||
}
|
||||
/* Name.Label */
|
||||
.code-highlight .nn {
|
||||
color: #0000FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Namespace */
|
||||
.code-highlight .nt {
|
||||
color: #008000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Tag */
|
||||
.code-highlight .nv {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable */
|
||||
.code-highlight .ow {
|
||||
color: #AA22FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Operator.Word */
|
||||
.code-highlight .w {
|
||||
color: #bbbbbb;
|
||||
}
|
||||
/* Text.Whitespace */
|
||||
.code-highlight .mb {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Bin */
|
||||
.code-highlight .mf {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Float */
|
||||
.code-highlight .mh {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Hex */
|
||||
.code-highlight .mi {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Integer */
|
||||
.code-highlight .mo {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Oct */
|
||||
.code-highlight .sa {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Affix */
|
||||
.code-highlight .sb {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Backtick */
|
||||
.code-highlight .sc {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Char */
|
||||
.code-highlight .dl {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Delimiter */
|
||||
.code-highlight .sd {
|
||||
color: #BA2121;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Literal.String.Doc */
|
||||
.code-highlight .s2 {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Double */
|
||||
.code-highlight .se {
|
||||
color: #BB6622;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Escape */
|
||||
.code-highlight .sh {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Heredoc */
|
||||
.code-highlight .si {
|
||||
color: #BB6688;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Interpol */
|
||||
.code-highlight .sx {
|
||||
color: #008000;
|
||||
}
|
||||
/* Literal.String.Other */
|
||||
.code-highlight .sr {
|
||||
color: #BB6688;
|
||||
}
|
||||
/* Literal.String.Regex */
|
||||
.code-highlight .s1 {
|
||||
color: #BA2121;
|
||||
}
|
||||
/* Literal.String.Single */
|
||||
.code-highlight .ss {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Literal.String.Symbol */
|
||||
.code-highlight .bp {
|
||||
color: #008000;
|
||||
}
|
||||
/* Name.Builtin.Pseudo */
|
||||
.code-highlight .fm {
|
||||
color: #0000FF;
|
||||
}
|
||||
/* Name.Function.Magic */
|
||||
.code-highlight .vc {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable.Class */
|
||||
.code-highlight .vg {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable.Global */
|
||||
.code-highlight .vi {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable.Instance */
|
||||
.code-highlight .vm {
|
||||
color: #19177C;
|
||||
}
|
||||
/* Name.Variable.Magic */
|
||||
.code-highlight .il {
|
||||
color: #666666;
|
||||
}
|
||||
/* Literal.Number.Integer.Long */
|
||||
html.no-js .hide_if_nojs {
|
||||
display: none;
|
||||
}
|
||||
|
|
2
searx/static/themes/simple/css/searx.min.css
vendored
2
searx/static/themes/simple/css/searx.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
/*! simple/searx.min.js | 01-12-2020 | https://github.com/searx/searx */
|
||||
/*! simple/searx.min.js | 16-03-2021 | */
|
||||
|
||||
(function(t,e){"use strict";var a=e.currentScript||function(){var t=e.getElementsByTagName("script");return t[t.length-1]}();t.searx={touch:"ontouchstart"in t||t.DocumentTouch&&document instanceof DocumentTouch||false,method:a.getAttribute("data-method"),autocompleter:a.getAttribute("data-autocompleter")==="true",search_on_category_select:a.getAttribute("data-search-on-category-select")==="true",infinite_scroll:a.getAttribute("data-infinite-scroll")==="true",static_path:a.getAttribute("data-static-path"),no_item_found:a.getAttribute("data-no-item-found")};e.getElementsByTagName("html")[0].className=t.searx.touch?"js touch":"js"})(window,document);
|
||||
//# sourceMappingURL=searx.head.min.js.map
|
2
searx/static/themes/simple/js/searx.min.js
vendored
2
searx/static/themes/simple/js/searx.min.js
vendored
|
@ -1,4 +1,4 @@
|
|||
/*! simple/searx.min.js | 01-12-2020 | https://github.com/searx/searx */
|
||||
/*! simple/searx.min.js | 16-03-2021 | */
|
||||
|
||||
window.searx=function(t,a){"use strict";if(t.Element){(function(e){e.matches=e.matches||e.matchesSelector||e.webkitMatchesSelector||e.msMatchesSelector||function(e){var t=this,n=(t.parentNode||t.document).querySelectorAll(e),i=-1;while(n[++i]&&n[i]!=t);return!!n[i]}})(Element.prototype)}function o(e,t,n){try{e.call(t,n)}catch(e){console.log(e)}}var s=window.searx||{};s.on=function(i,e,r,t){t=t||false;if(typeof i!=="string"){i.addEventListener(e,r,t)}else{a.addEventListener(e,function(e){var t=e.target||e.srcElement,n=false;while(t&&t.matches&&t!==a&&!(n=t.matches(i)))t=t.parentElement;if(n)o(r,t,e)},t)}};s.ready=function(e){if(document.readyState!="loading"){e.call(t)}else{t.addEventListener("DOMContentLoaded",e.bind(t))}};s.http=function(e,t,n){var i=new XMLHttpRequest,r=function(){},a=function(){},o={then:function(e){r=e;return o},catch:function(e){a=e;return o}};try{i.open(e,t,true);i.onload=function(){if(i.status==200){r(i.response,i.responseType)}else{a(Error(i.statusText))}};i.onerror=function(){a(Error("Network Error"))};i.onabort=function(){a(Error("Transaction is aborted"))};i.send()}catch(e){a(e)}return o};s.loadStyle=function(e){var t=s.static_path+e,n="style_"+e.replace(".","_"),i=a.getElementById(n);if(i===null){i=a.createElement("link");i.setAttribute("id",n);i.setAttribute("rel","stylesheet");i.setAttribute("type","text/css");i.setAttribute("href",t);a.body.appendChild(i)}};s.loadScript=function(e,t){var n=s.static_path+e,i="script_"+e.replace(".","_"),r=a.getElementById(i);if(r===null){r=a.createElement("script");r.setAttribute("id",i);r.setAttribute("src",n);r.onload=t;r.onerror=function(){r.setAttribute("error","1")};a.body.appendChild(r)}else if(!r.hasAttribute("error")){try{t.apply(r,[])}catch(e){console.log(e)}}else{console.log("callback not executed : script '"+n+"' not loaded.")}};s.insertBefore=function(e,t){element.parentNode.insertBefore(e,t)};s.insertAfter=function(e,t){t.parentNode.insertBefore(e,t.nextSibling)};s.on(".close","click",function(e){var t=e.target||e.srcElement;this.parentNode.classList.add("invisible")});return s}(window,document);(function(e){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=e()}else if(typeof define==="function"&&define.amd){define([],e)}else{var t;if(typeof window!=="undefined"){t=window}else if(typeof global!=="undefined"){t=global}else if(typeof self!=="undefined"){t=self}else{t=this}t.AutoComplete=e()}})(function(){var e,t,n;return function a(o,s,l){function u(n,e){if(!s[n]){if(!o[n]){var t=typeof require=="function"&&require;if(!e&&t)return t(n,!0);if(c)return c(n,!0);var i=new Error("Cannot find module '"+n+"'");throw i.code="MODULE_NOT_FOUND",i}var r=s[n]={exports:{}};o[n][0].call(r.exports,function(e){var t=o[n][1][e];return u(t?t:e)},r,r.exports,a,o,s,l)}return s[n].exports}var c=typeof require=="function"&&require;for(var e=0;e<l.length;e++)u(l[e]);return u}({1:[function(e,t,n){
|
||||
/*
|
||||
|
|
|
@ -1,83 +1,8 @@
|
|||
.highlight .hll { background-color: #ffffcc }
|
||||
.highlight { background: #f8f8f8; }
|
||||
.highlight .c { color: #408080; font-style: italic } /* Comment */
|
||||
.highlight .err { border: 1px solid #FF0000 } /* Error */
|
||||
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
|
||||
.highlight .o { color: #666666 } /* Operator */
|
||||
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
|
||||
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
|
||||
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
|
||||
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
|
||||
.highlight .gd { color: #A00000 } /* Generic.Deleted */
|
||||
.highlight .ge { font-style: italic } /* Generic.Emph */
|
||||
.highlight .gr { color: #FF0000 } /* Generic.Error */
|
||||
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
||||
.highlight .gi { color: #00A000 } /* Generic.Inserted */
|
||||
.highlight .go { color: #888888 } /* Generic.Output */
|
||||
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
||||
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
||||
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
||||
.highlight .gt { color: #0044DD } /* Generic.Traceback */
|
||||
.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
|
||||
.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
|
||||
.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
|
||||
.highlight .kp { color: #008000 } /* Keyword.Pseudo */
|
||||
.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
|
||||
.highlight .kt { color: #B00040 } /* Keyword.Type */
|
||||
.highlight .m { color: #666666 } /* Literal.Number */
|
||||
.highlight .s { color: #BA2121 } /* Literal.String */
|
||||
.highlight .na { color: #7D9029 } /* Name.Attribute */
|
||||
.highlight .nb { color: #008000 } /* Name.Builtin */
|
||||
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
|
||||
.highlight .no { color: #880000 } /* Name.Constant */
|
||||
.highlight .nd { color: #AA22FF } /* Name.Decorator */
|
||||
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
|
||||
.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
|
||||
.highlight .nf { color: #0000FF } /* Name.Function */
|
||||
.highlight .nl { color: #A0A000 } /* Name.Label */
|
||||
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
||||
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
|
||||
.highlight .nv { color: #19177C } /* Name.Variable */
|
||||
.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
||||
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
||||
.highlight .mf { color: #666666 } /* Literal.Number.Float */
|
||||
.highlight .mh { color: #666666 } /* Literal.Number.Hex */
|
||||
.highlight .mi { color: #666666 } /* Literal.Number.Integer */
|
||||
.highlight .mo { color: #666666 } /* Literal.Number.Oct */
|
||||
.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
|
||||
.highlight .sc { color: #BA2121 } /* Literal.String.Char */
|
||||
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
||||
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
|
||||
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
|
||||
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
|
||||
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
|
||||
.highlight .sx { color: #008000 } /* Literal.String.Other */
|
||||
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
|
||||
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
|
||||
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
|
||||
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
|
||||
.highlight .vc { color: #19177C } /* Name.Variable.Class */
|
||||
.highlight .vg { color: #19177C } /* Name.Variable.Global */
|
||||
.highlight .vi { color: #19177C } /* Name.Variable.Instance */
|
||||
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
|
||||
|
||||
.highlight pre {
|
||||
.code-highlight pre {
|
||||
overflow: auto;
|
||||
background-color: inherit;
|
||||
color: inherit;
|
||||
border: inherit;
|
||||
}
|
||||
|
||||
.highlight .lineno {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
|
||||
&::selection {
|
||||
background: transparent; /* WebKit/Blink Browsers */
|
||||
}
|
||||
&::-moz-selection {
|
||||
background: transparent; /* Gecko Browsers */
|
||||
}
|
||||
}
|
||||
@import "pygments.less";
|
||||
|
|
99
searx/static/themes/simple/less/pygments.less
Normal file
99
searx/static/themes/simple/less/pygments.less
Normal file
|
@ -0,0 +1,99 @@
|
|||
/*
|
||||
this file is generated automatically by searx_extra/update/update_pygments.py
|
||||
using pygments version 2.8.0
|
||||
*/
|
||||
|
||||
.code-highlight .linenos {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
|
||||
&::selection {
|
||||
background: transparent; /* WebKit/Blink Browsers */
|
||||
}
|
||||
&::-moz-selection {
|
||||
background: transparent; /* Gecko Browsers */
|
||||
}
|
||||
|
||||
margin-right: 8px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.code-highlight pre { line-height: 125%; }
|
||||
.code-highlight td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
||||
.code-highlight span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
||||
.code-highlight td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
||||
.code-highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
||||
.code-highlight .hll { background-color: #ffffcc }
|
||||
.code-highlight { background: #f8f8f8; }
|
||||
.code-highlight .c { color: #408080; font-style: italic } /* Comment */
|
||||
.code-highlight .err { border: 1px solid #FF0000 } /* Error */
|
||||
.code-highlight .k { color: #008000; font-weight: bold } /* Keyword */
|
||||
.code-highlight .o { color: #666666 } /* Operator */
|
||||
.code-highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
|
||||
.code-highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
|
||||
.code-highlight .cp { color: #BC7A00 } /* Comment.Preproc */
|
||||
.code-highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
|
||||
.code-highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
|
||||
.code-highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
|
||||
.code-highlight .gd { color: #A00000 } /* Generic.Deleted */
|
||||
.code-highlight .ge { font-style: italic } /* Generic.Emph */
|
||||
.code-highlight .gr { color: #FF0000 } /* Generic.Error */
|
||||
.code-highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
||||
.code-highlight .gi { color: #00A000 } /* Generic.Inserted */
|
||||
.code-highlight .go { color: #888888 } /* Generic.Output */
|
||||
.code-highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
||||
.code-highlight .gs { font-weight: bold } /* Generic.Strong */
|
||||
.code-highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
||||
.code-highlight .gt { color: #0044DD } /* Generic.Traceback */
|
||||
.code-highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
|
||||
.code-highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
|
||||
.code-highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
|
||||
.code-highlight .kp { color: #008000 } /* Keyword.Pseudo */
|
||||
.code-highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
|
||||
.code-highlight .kt { color: #B00040 } /* Keyword.Type */
|
||||
.code-highlight .m { color: #666666 } /* Literal.Number */
|
||||
.code-highlight .s { color: #BA2121 } /* Literal.String */
|
||||
.code-highlight .na { color: #7D9029 } /* Name.Attribute */
|
||||
.code-highlight .nb { color: #008000 } /* Name.Builtin */
|
||||
.code-highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
|
||||
.code-highlight .no { color: #880000 } /* Name.Constant */
|
||||
.code-highlight .nd { color: #AA22FF } /* Name.Decorator */
|
||||
.code-highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
|
||||
.code-highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
|
||||
.code-highlight .nf { color: #0000FF } /* Name.Function */
|
||||
.code-highlight .nl { color: #A0A000 } /* Name.Label */
|
||||
.code-highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
||||
.code-highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
|
||||
.code-highlight .nv { color: #19177C } /* Name.Variable */
|
||||
.code-highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
||||
.code-highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
||||
.code-highlight .mb { color: #666666 } /* Literal.Number.Bin */
|
||||
.code-highlight .mf { color: #666666 } /* Literal.Number.Float */
|
||||
.code-highlight .mh { color: #666666 } /* Literal.Number.Hex */
|
||||
.code-highlight .mi { color: #666666 } /* Literal.Number.Integer */
|
||||
.code-highlight .mo { color: #666666 } /* Literal.Number.Oct */
|
||||
.code-highlight .sa { color: #BA2121 } /* Literal.String.Affix */
|
||||
.code-highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
|
||||
.code-highlight .sc { color: #BA2121 } /* Literal.String.Char */
|
||||
.code-highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
|
||||
.code-highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
||||
.code-highlight .s2 { color: #BA2121 } /* Literal.String.Double */
|
||||
.code-highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
|
||||
.code-highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
|
||||
.code-highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
|
||||
.code-highlight .sx { color: #008000 } /* Literal.String.Other */
|
||||
.code-highlight .sr { color: #BB6688 } /* Literal.String.Regex */
|
||||
.code-highlight .s1 { color: #BA2121 } /* Literal.String.Single */
|
||||
.code-highlight .ss { color: #19177C } /* Literal.String.Symbol */
|
||||
.code-highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
|
||||
.code-highlight .fm { color: #0000FF } /* Name.Function.Magic */
|
||||
.code-highlight .vc { color: #19177C } /* Name.Variable.Class */
|
||||
.code-highlight .vg { color: #19177C } /* Name.Variable.Global */
|
||||
.code-highlight .vi { color: #19177C } /* Name.Variable.Instance */
|
||||
.code-highlight .vm { color: #19177C } /* Name.Variable.Magic */
|
||||
.code-highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
|
Loading…
Add table
Add a link
Reference in a new issue