mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 20:17:45 +01:00
Merge branch 'master' into conditional-sigusr1
This commit is contained in:
commit
7a9dc63d74
@ -5,7 +5,7 @@ flask==1.1.2
|
||||
idna==2.10
|
||||
jinja2==2.11.3
|
||||
lxml==4.6.2
|
||||
pygments==2.1.3
|
||||
pygments==2.8.0
|
||||
python-dateutil==2.8.1
|
||||
pyyaml==5.4.1
|
||||
requests[socks]==2.25.1
|
||||
|
File diff suppressed because one or more lines are too long
@ -162,9 +162,7 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
|
||||
color: #666;
|
||||
font-size: 13px;
|
||||
}
|
||||
.result-content .highlight,
|
||||
.result-format .highlight,
|
||||
.result-source .highlight {
|
||||
.result .highlight {
|
||||
font-weight: bold;
|
||||
}
|
||||
.result-source {
|
||||
@ -529,277 +527,11 @@ pre,
|
||||
code {
|
||||
font-family: 'Ubuntu Mono', 'Courier New', 'Lucida Console', monospace !important;
|
||||
}
|
||||
.lineno {
|
||||
margin-right: 5px;
|
||||
}
|
||||
.highlight .hll {
|
||||
background-color: #ffffcc;
|
||||
}
|
||||
.highlight {
|
||||
background: #f8f8f8;
|
||||
}
|
||||
.highlight .c {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment */
|
||||
.highlight .err {
|
||||
border: 1px solid #FFA92F;
|
||||
}
|
||||
/* Error */
|
||||
.highlight .k {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword */
|
||||
.highlight .o {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Operator */
|
||||
.highlight .cm {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Multiline */
|
||||
.highlight .cp {
|
||||
color: #BC7A00;
|
||||
}
|
||||
/* Comment.Preproc */
|
||||
.highlight .c1 {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Single */
|
||||
.highlight .cs {
|
||||
color: #556366;
|
||||
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: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Constant */
|
||||
.highlight .kd {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Declaration */
|
||||
.highlight .kn {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Namespace */
|
||||
.highlight .kp {
|
||||
color: #BE74D5;
|
||||
}
|
||||
/* Keyword.Pseudo */
|
||||
.highlight .kr {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Reserved */
|
||||
.highlight .kt {
|
||||
color: #D46C72;
|
||||
}
|
||||
/* Keyword.Type */
|
||||
.highlight .m {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number */
|
||||
.highlight .s {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String */
|
||||
.highlight .na {
|
||||
color: #7D9029;
|
||||
}
|
||||
/* Name.Attribute */
|
||||
.highlight .nb {
|
||||
color: #BE74D5;
|
||||
}
|
||||
/* Name.Builtin */
|
||||
.highlight .nc {
|
||||
color: #61AFEF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Class */
|
||||
.highlight .no {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* 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: #61AFEF;
|
||||
}
|
||||
/* Name.Function */
|
||||
.highlight .nl {
|
||||
color: #A0A000;
|
||||
}
|
||||
/* Name.Label */
|
||||
.highlight .nn {
|
||||
color: #61AFEF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Namespace */
|
||||
.highlight .nt {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Tag */
|
||||
.highlight .nv {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable */
|
||||
.highlight .ow {
|
||||
color: #AA22FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Operator.Word */
|
||||
.highlight .w {
|
||||
color: #D7DAE0;
|
||||
}
|
||||
/* Text.Whitespace */
|
||||
.highlight .mf {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Float */
|
||||
.highlight .mh {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Hex */
|
||||
.highlight .mi {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Integer */
|
||||
.highlight .mo {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Oct */
|
||||
.highlight .sb {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Backtick */
|
||||
.highlight .sc {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Char */
|
||||
.highlight .sd {
|
||||
color: #86C372;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Literal.String.Doc */
|
||||
.highlight .s2 {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Double */
|
||||
.highlight .se {
|
||||
color: #BB6622;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Escape */
|
||||
.highlight .sh {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Heredoc */
|
||||
.highlight .si {
|
||||
color: #BB6688;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Interpol */
|
||||
.highlight .sx {
|
||||
color: #BE74D5;
|
||||
}
|
||||
/* Literal.String.Other */
|
||||
.highlight .sr {
|
||||
color: #BB6688;
|
||||
}
|
||||
/* Literal.String.Regex */
|
||||
.highlight .s1 {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Single */
|
||||
.highlight .ss {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Literal.String.Symbol */
|
||||
.highlight .bp {
|
||||
color: #BE74D5;
|
||||
}
|
||||
/* Name.Builtin.Pseudo */
|
||||
.highlight .vc {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable.Class */
|
||||
.highlight .vg {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable.Global */
|
||||
.highlight .vi {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable.Instance */
|
||||
.highlight .il {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Integer.Long */
|
||||
.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;
|
||||
@ -807,26 +539,351 @@ code {
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
color: #556366;
|
||||
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 */
|
||||
}
|
||||
.highlight pre {
|
||||
background-color: #282C34;
|
||||
color: #D7DAE0;
|
||||
border: none;
|
||||
margin-bottom: 25px;
|
||||
font-size: 15px;
|
||||
padding: 20px 10px;
|
||||
.code-highlight pre {
|
||||
line-height: 125%;
|
||||
}
|
||||
.highlight {
|
||||
font-weight: 700;
|
||||
.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: #282C34;
|
||||
}
|
||||
.code-highlight .c {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment */
|
||||
.code-highlight .err {
|
||||
border: 1px solid #ff0000;
|
||||
}
|
||||
/* Error */
|
||||
.code-highlight .k {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword */
|
||||
.code-highlight .o {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Operator */
|
||||
.code-highlight .ch {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Hashbang */
|
||||
.code-highlight .cm {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Multiline */
|
||||
.code-highlight .cp {
|
||||
color: #BC7A00;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Preproc */
|
||||
.code-highlight .cpf {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.PreprocFile */
|
||||
.code-highlight .c1 {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Single */
|
||||
.code-highlight .cs {
|
||||
color: #556366;
|
||||
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: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Constant */
|
||||
.code-highlight .kd {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Declaration */
|
||||
.code-highlight .kn {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Namespace */
|
||||
.code-highlight .kp {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Pseudo */
|
||||
.code-highlight .kr {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Reserved */
|
||||
.code-highlight .kt {
|
||||
color: #D46C72;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Type */
|
||||
.code-highlight .m {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number */
|
||||
.code-highlight .s {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String */
|
||||
.code-highlight .na {
|
||||
color: #7D9029;
|
||||
}
|
||||
/* Name.Attribute */
|
||||
.code-highlight .nb {
|
||||
color: #BE74D5;
|
||||
}
|
||||
/* Name.Builtin */
|
||||
.code-highlight .nc {
|
||||
color: #61AFEF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Class */
|
||||
.code-highlight .no {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* 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: #61AFEF;
|
||||
}
|
||||
/* Name.Function */
|
||||
.code-highlight .nl {
|
||||
color: #A0A000;
|
||||
}
|
||||
/* Name.Label */
|
||||
.code-highlight .nn {
|
||||
color: #61AFEF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Namespace */
|
||||
.code-highlight .nt {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Tag */
|
||||
.code-highlight .nv {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable */
|
||||
.code-highlight .ow {
|
||||
color: #AA22FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Operator.Word */
|
||||
.code-highlight .w {
|
||||
color: #D7DAE0;
|
||||
}
|
||||
/* Text.Whitespace */
|
||||
.code-highlight .mb {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Bin */
|
||||
.code-highlight .mf {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Float */
|
||||
.code-highlight .mh {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Hex */
|
||||
.code-highlight .mi {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Integer */
|
||||
.code-highlight .mo {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Oct */
|
||||
.code-highlight .sa {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Affix */
|
||||
.code-highlight .sb {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Backtick */
|
||||
.code-highlight .sc {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Char */
|
||||
.code-highlight .dl {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Delimiter */
|
||||
.code-highlight .sd {
|
||||
color: #86C372;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Literal.String.Doc */
|
||||
.code-highlight .s2 {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Double */
|
||||
.code-highlight .se {
|
||||
color: #BB6622;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Escape */
|
||||
.code-highlight .sh {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Heredoc */
|
||||
.code-highlight .si {
|
||||
color: #BB6688;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Interpol */
|
||||
.code-highlight .sx {
|
||||
color: #BE74D5;
|
||||
}
|
||||
/* Literal.String.Other */
|
||||
.code-highlight .sr {
|
||||
color: #BB6688;
|
||||
}
|
||||
/* Literal.String.Regex */
|
||||
.code-highlight .s1 {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Single */
|
||||
.code-highlight .ss {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Literal.String.Symbol */
|
||||
.code-highlight .bp {
|
||||
color: #BE74D5;
|
||||
}
|
||||
/* Name.Builtin.Pseudo */
|
||||
.code-highlight .fm {
|
||||
color: #61AFEF;
|
||||
}
|
||||
/* Name.Function.Magic */
|
||||
.code-highlight .vc {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable.Class */
|
||||
.code-highlight .vg {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable.Global */
|
||||
.code-highlight .vi {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable.Instance */
|
||||
.code-highlight .vm {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable.Magic */
|
||||
.code-highlight .il {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Integer.Long */
|
||||
.code-highlight pre {
|
||||
margin-bottom: 25px;
|
||||
padding: 20px 10px;
|
||||
background-color: inherit;
|
||||
color: inherit;
|
||||
border: inherit;
|
||||
color: #D7DAE0;
|
||||
}
|
||||
.table > tbody > tr > td,
|
||||
.table > tbody > tr > th {
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -135,9 +135,7 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
|
||||
color: #666;
|
||||
font-size: 13px;
|
||||
}
|
||||
.result-content .highlight,
|
||||
.result-format .highlight,
|
||||
.result-source .highlight {
|
||||
.result .highlight {
|
||||
font-weight: bold;
|
||||
}
|
||||
.result-source {
|
||||
@ -502,277 +500,11 @@ pre,
|
||||
code {
|
||||
font-family: 'Ubuntu Mono', 'Courier New', 'Lucida Console', monospace !important;
|
||||
}
|
||||
.lineno {
|
||||
margin-right: 5px;
|
||||
}
|
||||
.highlight .hll {
|
||||
background-color: #ffffcc;
|
||||
}
|
||||
.highlight {
|
||||
background: #f8f8f8;
|
||||
}
|
||||
.highlight .c {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment */
|
||||
.highlight .err {
|
||||
border: 1px solid #FFA92F;
|
||||
}
|
||||
/* Error */
|
||||
.highlight .k {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword */
|
||||
.highlight .o {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Operator */
|
||||
.highlight .cm {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Multiline */
|
||||
.highlight .cp {
|
||||
color: #BC7A00;
|
||||
}
|
||||
/* Comment.Preproc */
|
||||
.highlight .c1 {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Single */
|
||||
.highlight .cs {
|
||||
color: #556366;
|
||||
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: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Constant */
|
||||
.highlight .kd {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Declaration */
|
||||
.highlight .kn {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Namespace */
|
||||
.highlight .kp {
|
||||
color: #BE74D5;
|
||||
}
|
||||
/* Keyword.Pseudo */
|
||||
.highlight .kr {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Reserved */
|
||||
.highlight .kt {
|
||||
color: #D46C72;
|
||||
}
|
||||
/* Keyword.Type */
|
||||
.highlight .m {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number */
|
||||
.highlight .s {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String */
|
||||
.highlight .na {
|
||||
color: #7D9029;
|
||||
}
|
||||
/* Name.Attribute */
|
||||
.highlight .nb {
|
||||
color: #BE74D5;
|
||||
}
|
||||
/* Name.Builtin */
|
||||
.highlight .nc {
|
||||
color: #61AFEF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Class */
|
||||
.highlight .no {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* 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: #61AFEF;
|
||||
}
|
||||
/* Name.Function */
|
||||
.highlight .nl {
|
||||
color: #A0A000;
|
||||
}
|
||||
/* Name.Label */
|
||||
.highlight .nn {
|
||||
color: #61AFEF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Namespace */
|
||||
.highlight .nt {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Tag */
|
||||
.highlight .nv {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable */
|
||||
.highlight .ow {
|
||||
color: #AA22FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Operator.Word */
|
||||
.highlight .w {
|
||||
color: #D7DAE0;
|
||||
}
|
||||
/* Text.Whitespace */
|
||||
.highlight .mf {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Float */
|
||||
.highlight .mh {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Hex */
|
||||
.highlight .mi {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Integer */
|
||||
.highlight .mo {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Oct */
|
||||
.highlight .sb {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Backtick */
|
||||
.highlight .sc {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Char */
|
||||
.highlight .sd {
|
||||
color: #86C372;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Literal.String.Doc */
|
||||
.highlight .s2 {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Double */
|
||||
.highlight .se {
|
||||
color: #BB6622;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Escape */
|
||||
.highlight .sh {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Heredoc */
|
||||
.highlight .si {
|
||||
color: #BB6688;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Interpol */
|
||||
.highlight .sx {
|
||||
color: #BE74D5;
|
||||
}
|
||||
/* Literal.String.Other */
|
||||
.highlight .sr {
|
||||
color: #BB6688;
|
||||
}
|
||||
/* Literal.String.Regex */
|
||||
.highlight .s1 {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Single */
|
||||
.highlight .ss {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Literal.String.Symbol */
|
||||
.highlight .bp {
|
||||
color: #BE74D5;
|
||||
}
|
||||
/* Name.Builtin.Pseudo */
|
||||
.highlight .vc {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable.Class */
|
||||
.highlight .vg {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable.Global */
|
||||
.highlight .vi {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable.Instance */
|
||||
.highlight .il {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Integer.Long */
|
||||
.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;
|
||||
@ -780,26 +512,351 @@ code {
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
color: #556366;
|
||||
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 */
|
||||
}
|
||||
.highlight pre {
|
||||
background-color: #282C34;
|
||||
color: #D7DAE0;
|
||||
border: none;
|
||||
margin-bottom: 25px;
|
||||
font-size: 15px;
|
||||
padding: 20px 10px;
|
||||
.code-highlight pre {
|
||||
line-height: 125%;
|
||||
}
|
||||
.highlight {
|
||||
font-weight: 700;
|
||||
.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: #282C34;
|
||||
}
|
||||
.code-highlight .c {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment */
|
||||
.code-highlight .err {
|
||||
border: 1px solid #ff0000;
|
||||
}
|
||||
/* Error */
|
||||
.code-highlight .k {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword */
|
||||
.code-highlight .o {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Operator */
|
||||
.code-highlight .ch {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Hashbang */
|
||||
.code-highlight .cm {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Multiline */
|
||||
.code-highlight .cp {
|
||||
color: #BC7A00;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Preproc */
|
||||
.code-highlight .cpf {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.PreprocFile */
|
||||
.code-highlight .c1 {
|
||||
color: #556366;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Comment.Single */
|
||||
.code-highlight .cs {
|
||||
color: #556366;
|
||||
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: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Constant */
|
||||
.code-highlight .kd {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Declaration */
|
||||
.code-highlight .kn {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Namespace */
|
||||
.code-highlight .kp {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Pseudo */
|
||||
.code-highlight .kr {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Reserved */
|
||||
.code-highlight .kt {
|
||||
color: #D46C72;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Keyword.Type */
|
||||
.code-highlight .m {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number */
|
||||
.code-highlight .s {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String */
|
||||
.code-highlight .na {
|
||||
color: #7D9029;
|
||||
}
|
||||
/* Name.Attribute */
|
||||
.code-highlight .nb {
|
||||
color: #BE74D5;
|
||||
}
|
||||
/* Name.Builtin */
|
||||
.code-highlight .nc {
|
||||
color: #61AFEF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Class */
|
||||
.code-highlight .no {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* 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: #61AFEF;
|
||||
}
|
||||
/* Name.Function */
|
||||
.code-highlight .nl {
|
||||
color: #A0A000;
|
||||
}
|
||||
/* Name.Label */
|
||||
.code-highlight .nn {
|
||||
color: #61AFEF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Namespace */
|
||||
.code-highlight .nt {
|
||||
color: #BE74D5;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Name.Tag */
|
||||
.code-highlight .nv {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable */
|
||||
.code-highlight .ow {
|
||||
color: #AA22FF;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Operator.Word */
|
||||
.code-highlight .w {
|
||||
color: #D7DAE0;
|
||||
}
|
||||
/* Text.Whitespace */
|
||||
.code-highlight .mb {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Bin */
|
||||
.code-highlight .mf {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Float */
|
||||
.code-highlight .mh {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Hex */
|
||||
.code-highlight .mi {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Integer */
|
||||
.code-highlight .mo {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Oct */
|
||||
.code-highlight .sa {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Affix */
|
||||
.code-highlight .sb {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Backtick */
|
||||
.code-highlight .sc {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Char */
|
||||
.code-highlight .dl {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Delimiter */
|
||||
.code-highlight .sd {
|
||||
color: #86C372;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Literal.String.Doc */
|
||||
.code-highlight .s2 {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Double */
|
||||
.code-highlight .se {
|
||||
color: #BB6622;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Escape */
|
||||
.code-highlight .sh {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Heredoc */
|
||||
.code-highlight .si {
|
||||
color: #BB6688;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Literal.String.Interpol */
|
||||
.code-highlight .sx {
|
||||
color: #BE74D5;
|
||||
}
|
||||
/* Literal.String.Other */
|
||||
.code-highlight .sr {
|
||||
color: #BB6688;
|
||||
}
|
||||
/* Literal.String.Regex */
|
||||
.code-highlight .s1 {
|
||||
color: #86C372;
|
||||
}
|
||||
/* Literal.String.Single */
|
||||
.code-highlight .ss {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Literal.String.Symbol */
|
||||
.code-highlight .bp {
|
||||
color: #BE74D5;
|
||||
}
|
||||
/* Name.Builtin.Pseudo */
|
||||
.code-highlight .fm {
|
||||
color: #61AFEF;
|
||||
}
|
||||
/* Name.Function.Magic */
|
||||
.code-highlight .vc {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable.Class */
|
||||
.code-highlight .vg {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable.Global */
|
||||
.code-highlight .vi {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable.Instance */
|
||||
.code-highlight .vm {
|
||||
color: #DFC06F;
|
||||
}
|
||||
/* Name.Variable.Magic */
|
||||
.code-highlight .il {
|
||||
color: #D19A66;
|
||||
}
|
||||
/* Literal.Number.Integer.Long */
|
||||
.code-highlight pre {
|
||||
margin-bottom: 25px;
|
||||
padding: 20px 10px;
|
||||
background-color: inherit;
|
||||
color: inherit;
|
||||
border: inherit;
|
||||
color: #D7DAE0;
|
||||
}
|
||||
.table > tbody > tr > td,
|
||||
.table > tbody > tr > th {
|
||||
@ -872,9 +929,6 @@ ul.nav li a {
|
||||
.table-striped tr th {
|
||||
border-color: #4d3f43 !important;
|
||||
}
|
||||
.highlight {
|
||||
background: #333333 !important;
|
||||
}
|
||||
/*nav*/
|
||||
.navbar {
|
||||
background: #1d1f21 none;
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -156,6 +156,9 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
|
||||
outline: 0 none;
|
||||
position: relative;
|
||||
}
|
||||
.highlight {
|
||||
font-weight: 700;
|
||||
}
|
||||
.infobox img {
|
||||
max-height: 250px;
|
||||
}
|
||||
@ -303,274 +306,11 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
|
||||
.cursor-pointer {
|
||||
cursor: pointer !important;
|
||||
}
|
||||
.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 .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;
|
||||
@ -578,15 +318,341 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
|
||||
-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 */
|
||||
.searx-navbar {
|
||||
background: #eee;
|
||||
color: #aaa;
|
||||
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
{"version":3,"sources":["src/less/pointhi/footer.less","src/less/pointhi/checkbox.less","src/less/pointhi/onoff.less","src/less/pointhi/results.less","src/less/pointhi/infobox.less","src/less/pointhi/search.less","src/less/pointhi/advanced.less","src/less/pointhi/cursor.less","src/less/pointhi/code.less","src/less/pointhi/navbar.less","src/less/pointhi/preferences.less"],"names":[],"mappings":"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"}
|
||||
{"version":3,"sources":["src/less/pointhi/footer.less","src/less/pointhi/checkbox.less","src/less/pointhi/onoff.less","src/less/pointhi/results.less","src/less/pointhi/infobox.less","src/less/pointhi/search.less","src/less/pointhi/advanced.less","src/less/pointhi/cursor.less","src/less/pointhi/pygments.less","src/less/pointhi/navbar.less","src/less/pointhi/preferences.less"],"names":[],"mappings":"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"}
|
7
searx/static/themes/oscar/js/bootstrap.bundle.min.js
vendored
Normal file
7
searx/static/themes/oscar/js/bootstrap.bundle.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
4
searx/static/themes/oscar/js/searx.min.js
vendored
4
searx/static/themes/oscar/js/searx.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -71,10 +71,6 @@ ul.nav li a {
|
||||
border-color: #4d3f43 !important;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
background: #333333 !important;
|
||||
}
|
||||
|
||||
/*nav*/
|
||||
.navbar{
|
||||
background:#1d1f21 none;
|
||||
|
@ -1,101 +1,14 @@
|
||||
pre, code{
|
||||
pre, code {
|
||||
font-family: 'Ubuntu Mono', 'Courier New', 'Lucida Console', monospace !important;
|
||||
}
|
||||
|
||||
.lineno{
|
||||
margin-right: 5px;
|
||||
}
|
||||
@import "pygments.less";
|
||||
|
||||
.highlight .hll { background-color: #ffffcc }
|
||||
.highlight { background: #f8f8f8; }
|
||||
.highlight .c { color: #556366; font-style: italic } /* Comment */
|
||||
.highlight .err { border: 1px solid @orange } /* Error */
|
||||
.highlight .k { color: #BE74D5; font-weight: bold } /* Keyword */
|
||||
.highlight .o { color: #D19A66 } /* Operator */
|
||||
.highlight .cm { color: #556366; font-style: italic } /* Comment.Multiline */
|
||||
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
|
||||
.highlight .c1 { color: #556366; font-style: italic } /* Comment.Single */
|
||||
.highlight .cs { color: #556366; 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: #BE74D5; font-weight: bold } /* Keyword.Constant */
|
||||
.highlight .kd { color: #BE74D5; font-weight: bold } /* Keyword.Declaration */
|
||||
.highlight .kn { color: #BE74D5; font-weight: bold } /* Keyword.Namespace */
|
||||
.highlight .kp { color: #BE74D5 } /* Keyword.Pseudo */
|
||||
.highlight .kr { color: #BE74D5; font-weight: bold } /* Keyword.Reserved */
|
||||
.highlight .kt { color: #D46C72 } /* Keyword.Type */
|
||||
.highlight .m { color: #D19A66 } /* Literal.Number */
|
||||
.highlight .s { color: #86C372 } /* Literal.String */
|
||||
.highlight .na { color: #7D9029 } /* Name.Attribute */
|
||||
.highlight .nb { color: #BE74D5 } /* Name.Builtin */
|
||||
.highlight .nc { color: #61AFEF; font-weight: bold } /* Name.Class */
|
||||
.highlight .no { color: #D19A66 } /* 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: #61AFEF } /* Name.Function */
|
||||
.highlight .nl { color: #A0A000 } /* Name.Label */
|
||||
.highlight .nn { color: #61AFEF; font-weight: bold } /* Name.Namespace */
|
||||
.highlight .nt { color: #BE74D5; font-weight: bold } /* Name.Tag */
|
||||
.highlight .nv { color: #DFC06F } /* Name.Variable */
|
||||
.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
||||
.highlight .w { color: #D7DAE0 } /* Text.Whitespace */
|
||||
.highlight .mf { color: #D19A66 } /* Literal.Number.Float */
|
||||
.highlight .mh { color: #D19A66 } /* Literal.Number.Hex */
|
||||
.highlight .mi { color: #D19A66 } /* Literal.Number.Integer */
|
||||
.highlight .mo { color: #D19A66 } /* Literal.Number.Oct */
|
||||
.highlight .sb { color: #86C372 } /* Literal.String.Backtick */
|
||||
.highlight .sc { color: #86C372 } /* Literal.String.Char */
|
||||
.highlight .sd { color: #86C372; font-style: italic } /* Literal.String.Doc */
|
||||
.highlight .s2 { color: #86C372 } /* Literal.String.Double */
|
||||
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
|
||||
.highlight .sh { color: #86C372 } /* Literal.String.Heredoc */
|
||||
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
|
||||
.highlight .sx { color: #BE74D5 } /* Literal.String.Other */
|
||||
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
|
||||
.highlight .s1 { color: #86C372 } /* Literal.String.Single */
|
||||
.highlight .ss { color: #DFC06F } /* Literal.String.Symbol */
|
||||
.highlight .bp { color: #BE74D5 } /* Name.Builtin.Pseudo */
|
||||
.highlight .vc { color: #DFC06F } /* Name.Variable.Class */
|
||||
.highlight .vg { color: #DFC06F } /* Name.Variable.Global */
|
||||
.highlight .vi { color: #DFC06F } /* Name.Variable.Instance */
|
||||
.highlight .il { color: #D19A66 } /* Literal.Number.Integer.Long */
|
||||
|
||||
.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;
|
||||
color: #556366;
|
||||
|
||||
&::selection {
|
||||
background: transparent; /* WebKit/Blink Browsers */
|
||||
}
|
||||
&::-moz-selection {
|
||||
background: transparent; /* Gecko Browsers */
|
||||
}
|
||||
}
|
||||
|
||||
.highlight pre {
|
||||
background-color: #282C34;
|
||||
color: #D7DAE0;
|
||||
border: none;
|
||||
.code-highlight pre {
|
||||
margin-bottom: 25px;
|
||||
font-size: 15px;
|
||||
padding: 20px 10px;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
font-weight: 700;
|
||||
background-color: inherit;
|
||||
color: inherit;
|
||||
border: inherit;
|
||||
color: #D7DAE0;
|
||||
}
|
||||
|
99
searx/static/themes/oscar/src/less/logicodev/pygments.less
Normal file
99
searx/static/themes/oscar/src/less/logicodev/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: #282C34; }
|
||||
.code-highlight .c { color: #556366; font-style: italic } /* Comment */
|
||||
.code-highlight .err { border: 1px solid #ff0000 } /* Error */
|
||||
.code-highlight .k { color: #BE74D5; font-weight: bold } /* Keyword */
|
||||
.code-highlight .o { color: #D19A66 } /* Operator */
|
||||
.code-highlight .ch { color: #556366; font-style: italic } /* Comment.Hashbang */
|
||||
.code-highlight .cm { color: #556366; font-style: italic } /* Comment.Multiline */
|
||||
.code-highlight .cp { color: #BC7A00; font-style: italic } /* Comment.Preproc */
|
||||
.code-highlight .cpf { color: #556366; font-style: italic } /* Comment.PreprocFile */
|
||||
.code-highlight .c1 { color: #556366; font-style: italic } /* Comment.Single */
|
||||
.code-highlight .cs { color: #556366; 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: #BE74D5; font-weight: bold } /* Keyword.Constant */
|
||||
.code-highlight .kd { color: #BE74D5; font-weight: bold } /* Keyword.Declaration */
|
||||
.code-highlight .kn { color: #BE74D5; font-weight: bold } /* Keyword.Namespace */
|
||||
.code-highlight .kp { color: #BE74D5; font-weight: bold } /* Keyword.Pseudo */
|
||||
.code-highlight .kr { color: #BE74D5; font-weight: bold } /* Keyword.Reserved */
|
||||
.code-highlight .kt { color: #D46C72; font-weight: bold } /* Keyword.Type */
|
||||
.code-highlight .m { color: #D19A66 } /* Literal.Number */
|
||||
.code-highlight .s { color: #86C372 } /* Literal.String */
|
||||
.code-highlight .na { color: #7D9029 } /* Name.Attribute */
|
||||
.code-highlight .nb { color: #BE74D5 } /* Name.Builtin */
|
||||
.code-highlight .nc { color: #61AFEF; font-weight: bold } /* Name.Class */
|
||||
.code-highlight .no { color: #D19A66 } /* 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: #61AFEF } /* Name.Function */
|
||||
.code-highlight .nl { color: #A0A000 } /* Name.Label */
|
||||
.code-highlight .nn { color: #61AFEF; font-weight: bold } /* Name.Namespace */
|
||||
.code-highlight .nt { color: #BE74D5; font-weight: bold } /* Name.Tag */
|
||||
.code-highlight .nv { color: #DFC06F } /* Name.Variable */
|
||||
.code-highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
||||
.code-highlight .w { color: #D7DAE0 } /* Text.Whitespace */
|
||||
.code-highlight .mb { color: #D19A66 } /* Literal.Number.Bin */
|
||||
.code-highlight .mf { color: #D19A66 } /* Literal.Number.Float */
|
||||
.code-highlight .mh { color: #D19A66 } /* Literal.Number.Hex */
|
||||
.code-highlight .mi { color: #D19A66 } /* Literal.Number.Integer */
|
||||
.code-highlight .mo { color: #D19A66 } /* Literal.Number.Oct */
|
||||
.code-highlight .sa { color: #86C372 } /* Literal.String.Affix */
|
||||
.code-highlight .sb { color: #86C372 } /* Literal.String.Backtick */
|
||||
.code-highlight .sc { color: #86C372 } /* Literal.String.Char */
|
||||
.code-highlight .dl { color: #86C372 } /* Literal.String.Delimiter */
|
||||
.code-highlight .sd { color: #86C372; font-style: italic } /* Literal.String.Doc */
|
||||
.code-highlight .s2 { color: #86C372 } /* Literal.String.Double */
|
||||
.code-highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
|
||||
.code-highlight .sh { color: #86C372 } /* Literal.String.Heredoc */
|
||||
.code-highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
|
||||
.code-highlight .sx { color: #BE74D5 } /* Literal.String.Other */
|
||||
.code-highlight .sr { color: #BB6688 } /* Literal.String.Regex */
|
||||
.code-highlight .s1 { color: #86C372 } /* Literal.String.Single */
|
||||
.code-highlight .ss { color: #DFC06F } /* Literal.String.Symbol */
|
||||
.code-highlight .bp { color: #BE74D5 } /* Name.Builtin.Pseudo */
|
||||
.code-highlight .fm { color: #61AFEF } /* Name.Function.Magic */
|
||||
.code-highlight .vc { color: #DFC06F } /* Name.Variable.Class */
|
||||
.code-highlight .vg { color: #DFC06F } /* Name.Variable.Global */
|
||||
.code-highlight .vi { color: #DFC06F } /* Name.Variable.Instance */
|
||||
.code-highlight .vm { color: #DFC06F } /* Name.Variable.Magic */
|
||||
.code-highlight .il { color: #D19A66 } /* Literal.Number.Integer.Long */
|
@ -33,12 +33,10 @@
|
||||
word-wrap: break-word;
|
||||
color: @dark-gray;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
|
||||
.highlight {
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.result .highlight {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.result-source {
|
||||
|
@ -1,79 +1,2 @@
|
||||
.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 */
|
||||
@import "pygments.less";
|
||||
|
||||
.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 */
|
||||
}
|
||||
}
|
||||
|
@ -18,4 +18,6 @@
|
||||
|
||||
@import "navbar.less";
|
||||
|
||||
@import "code.less";
|
||||
|
||||
@import "preferences.less";
|
||||
|
99
searx/static/themes/oscar/src/less/pointhi/pygments.less
Normal file
99
searx/static/themes/oscar/src/less/pointhi/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 */
|
@ -107,3 +107,7 @@
|
||||
outline: 0 none;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
@ -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 */
|
@ -242,7 +242,8 @@ def code_highlighter(codelines, language=None):
|
||||
|
||||
# highlight last codepart
|
||||
formatter = HtmlFormatter(linenos='inline',
|
||||
linenostart=line_code_start)
|
||||
linenostart=line_code_start,
|
||||
cssclass="code-highlight")
|
||||
html_code = html_code + highlight(tmp_code, lexer, formatter)
|
||||
|
||||
# reset conditions for next codepart
|
||||
@ -256,7 +257,7 @@ def code_highlighter(codelines, language=None):
|
||||
last_line = line
|
||||
|
||||
# highlight last codepart
|
||||
formatter = HtmlFormatter(linenos='inline', linenostart=line_code_start)
|
||||
formatter = HtmlFormatter(linenos='inline', linenostart=line_code_start, cssclass="code-highlight")
|
||||
html_code = html_code + highlight(tmp_code, lexer, formatter)
|
||||
|
||||
return html_code
|
||||
|
138
searx_extra/update/update_pygments.py
Executable file
138
searx_extra/update/update_pygments.py
Executable file
@ -0,0 +1,138 @@
|
||||
#!/usr/bin/env python
|
||||
"""
|
||||
Update pygments style
|
||||
|
||||
Call this script after each upgrade of pygments
|
||||
"""
|
||||
|
||||
# pylint: disable=C0116
|
||||
|
||||
# set path
|
||||
from os.path import join
|
||||
import pygments
|
||||
from pygments.formatters import HtmlFormatter # pylint: disable=E0611
|
||||
from pygments.style import Style
|
||||
from pygments.token import Comment, Error, Generic, Keyword, Literal, Name, Operator, Text
|
||||
|
||||
from searx import searx_dir
|
||||
|
||||
|
||||
class LogicodevStyle(Style): # pylint: disable=R0903
|
||||
"""Logicodev style
|
||||
based on https://github.com/searx/searx/blob/2a5c39e33c3306ca17e09211fbf5a0f785cb10c8/searx/static/themes/oscar/less/logicodev/code.less
|
||||
""" # pylint: disable=C0301
|
||||
|
||||
background_color = '#282C34'
|
||||
|
||||
styles = {
|
||||
Comment: "#556366 italic",
|
||||
Comment.Multiline: "#556366 italic",
|
||||
Comment.Preproc: "#BC7A00",
|
||||
Comment.Single: "#556366 italic",
|
||||
Comment.Special: "#556366 italic",
|
||||
Error: "border:#ff0000",
|
||||
Generic.Deleted: "#A00000",
|
||||
Generic.Emph: "italic",
|
||||
Generic.Error: "#FF0000",
|
||||
Generic.Heading: "#000080 bold",
|
||||
Generic.Inserted: "#00A000",
|
||||
Generic.Output: "#888888",
|
||||
Generic.Prompt: "#000080 bold",
|
||||
Generic.Strong: "bold",
|
||||
Generic.Subheading: "#800080 bold",
|
||||
Generic.Traceback: "#0044DD",
|
||||
Keyword: "#BE74D5 bold",
|
||||
Keyword.Constant: "#BE74D5 bold",
|
||||
Keyword.Declaration: "#BE74D5 bold",
|
||||
Keyword.Namespace: "#BE74D5 bold",
|
||||
Keyword.Pseudo: "#BE74D5",
|
||||
Keyword.Reserved: "#BE74D5 bold",
|
||||
Keyword.Type: "#D46C72",
|
||||
Literal.Number: "#D19A66",
|
||||
Literal.String: "#86C372",
|
||||
Literal.String.Backtick:"#86C372",
|
||||
Literal.String.Char: "#86C372",
|
||||
Literal.String.Doc: "#86C372 italic",
|
||||
Literal.String.Double: "#86C372",
|
||||
Literal.String.Escape: "#BB6622 bold",
|
||||
Literal.String.Heredoc: "#86C372",
|
||||
Literal.String.Interpol:"#BB6688 bold",
|
||||
Literal.String.Other: "#BE74D5",
|
||||
Literal.String.Regex: "#BB6688",
|
||||
Literal.String.Single: "#86C372",
|
||||
Literal.String.Symbol: "#DFC06F",
|
||||
Name.Attribute: "#7D9029",
|
||||
Name.Builtin: "#BE74D5",
|
||||
Name.Builtin.Pseudo: "#BE74D5",
|
||||
Name.Class: "#61AFEF bold",
|
||||
Name.Constant: "#D19A66",
|
||||
Name.Decorator: "#AA22FF",
|
||||
Name.Entity: "#999999 bold",
|
||||
Name.Exception: "#D2413A bold",
|
||||
Name.Function: "#61AFEF",
|
||||
Name.Label: "#A0A000",
|
||||
Name.Namespace: "#61AFEF bold",
|
||||
Name.Tag: "#BE74D5 bold",
|
||||
Name.Variable: "#DFC06F",
|
||||
Name.Variable.Class: "#DFC06F",
|
||||
Name.Variable.Global: "#DFC06F",
|
||||
Name.Variable.Instance: "#DFC06F",
|
||||
Operator: "#D19A66",
|
||||
Operator.Word: "#AA22FF bold",
|
||||
Text.Whitespace: "#D7DAE0",
|
||||
}
|
||||
|
||||
|
||||
CSSCLASS = '.code-highlight'
|
||||
RULE_CODE_LINENOS = """ .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;
|
||||
}"""
|
||||
|
||||
|
||||
def get_output_filename(relative_name):
|
||||
return join(searx_dir, relative_name)
|
||||
|
||||
|
||||
def get_css(cssclass, style):
|
||||
result = f"""/*
|
||||
this file is generated automatically by searx_extra/update/update_pygments.py
|
||||
using pygments version {pygments.__version__}
|
||||
*/\n\n"""
|
||||
css_text = HtmlFormatter(style=style).get_style_defs(cssclass)
|
||||
result += cssclass + RULE_CODE_LINENOS + '\n\n'
|
||||
for line in css_text.splitlines():
|
||||
if ' ' in line and not line.startswith(cssclass):
|
||||
line = cssclass + ' ' + line
|
||||
result += line + '\n'
|
||||
return result
|
||||
|
||||
|
||||
def main():
|
||||
with open(get_output_filename('static/themes/oscar/src/less/logicodev/pygments.less'), 'w') as f:
|
||||
f.write(get_css(CSSCLASS, LogicodevStyle))
|
||||
|
||||
with open(get_output_filename('static/themes/oscar/src/less/pointhi/pygments.less'), 'w') as f:
|
||||
f.write(get_css(CSSCLASS, 'default'))
|
||||
|
||||
with open(get_output_filename('static/themes/simple/less/pygments.less'), 'w') as f:
|
||||
f.write(get_css(CSSCLASS, 'default'))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
Loading…
Reference in New Issue
Block a user