on master help sign in
Merge pull request #176 from Cqoicebordel/courgette-UXUI

Courgette theme - UIUX

commit3fd562ccd7af1fa7ea057e6f437910a29d14b9a9 authorAdam Tauber <asciimoo@gmail.com> dateFri 16 Jan 2015, 12:24 (12 years ago) parent81a77f82fc1de5
40 files changed+885−838
Makefile+1 searx/static/themes/courgette/css/style.css+1−660 searx/static/themes/courgette/img/icons/icon_500px.ico searx/static/themes/courgette/img/icons/icon_bing.ico searx/static/themes/courgette/img/icons/icon_deezer.ico searx/static/themes/courgette/img/icons/icon_digg.ico searx/static/themes/courgette/img/icons/icon_duckduckgo.ico searx/static/themes/courgette/img/icons/icon_flickr.ico searx/static/themes/courgette/img/icons/icon_google play apps.ico searx/static/themes/courgette/img/icons/icon_google play movies.ico searx/static/themes/courgette/img/icons/icon_google play music.ico searx/static/themes/courgette/img/icons/icon_google.ico searx/static/themes/courgette/img/icons/icon_openstreetmap.ico searx/static/themes/courgette/img/icons/icon_searchcode code.ico searx/static/themes/courgette/img/icons/icon_searchcode doc.ico searx/static/themes/courgette/img/icons/icon_searchcode.ico searx/static/themes/courgette/img/icons/icon_startpage.ico searx/static/themes/courgette/img/icons/icon_subtitleseeker.ico searx/static/themes/courgette/img/icons/icon_wikipedia.ico searx/static/themes/courgette/img/icons/icon_yahoo.ico searx/static/themes/courgette/less/style.less+689 searx/static/themes/default/css/style.css+1−1 searx/static/themes/default/img/icons/icon_searchcode code.ico searx/static/themes/default/img/icons/icon_searchcode doc.ico searx/static/themes/oscar/css/oscar.min.css+1−1 searx/templates/courgette/about.html+2−2 searx/templates/courgette/base.html+32−31 searx/templates/courgette/categories.html+7−5 searx/templates/courgette/github_ribbon.html+1−1 searx/templates/courgette/index.html+4−4 searx/templates/courgette/preferences.html+53−55 searx/templates/courgette/result_templates/code.html+6−6 searx/templates/courgette/result_templates/default.html+9−9 searx/templates/courgette/result_templates/images.html+2−2 searx/templates/courgette/result_templates/map.html+10−10 searx/templates/courgette/result_templates/torrent.html+10−4 searx/templates/courgette/result_templates/videos.html+8−8 searx/templates/courgette/results.html+38−29 searx/templates/courgette/search.html+6−6 searx/templates/courgette/stats.html+4−4
Makefile+1
@@ -46,6 +46,7 @@ minimal: bin/buildout minimal.cfg setup.py
4646
4747styles:
4848 @lessc -x searx/static/themes/default/less/style.less > searx/static/themes/default/css/style.css
49+ @lessc -x searx/static/themes/courgette/less/style.less > searx/static/themes/courgette/css/style.css
4950 @lessc -x searx/static/less/bootstrap/bootstrap.less > searx/static/css/bootstrap.min.css
5051 @lessc -x searx/static/themes/oscar/less/oscar/oscar.less > searx/static/themes/oscar/css/oscar.min.css
5152
searx/static/themes/courgette/css/style.css+1−660
@@ -1,660 +1 @@
1−* {
2− -webkit-box-sizing: border-box;
3− -moz-box-sizing: border-box;
4− box-sizing: border-box;
5−}
6−
7−input[type="search"] {
8− -webkit-appearance: textfield;
9−}
10−
11−h2 {
12− color: #666;
13− text-transform: uppercase;
14−}
15−
16−body {
17− font-family: sans-serif;
18− line-height: 1.5;
19− margin: 0;
20− background: #EEE;
21−}
22−
23−html {
24− position: relative;
25− min-height: 100%;
26−}
27−
28−.title h1 {
29− background: url(../img/searx.png) no-repeat;
30− width: 319px;
31− height: 62px;
32− text-indent: -9999px;
33− margin: 0.5em auto 1em;
34−}
35−
36−.center {
37− max-width: 55em;
38− text-align: center;
39− background: rgba(255,255,255,0.6);
40− padding: 4em 2em;
41− margin: 7% auto 0;
42− position: relative;
43−}
44−
45−.center.search {
46− position: static;
47− width: auto;
48− background: none;
49− margin: auto;
50− padding-top: 1.8em;
51−}
52−
53−@media screen and (min-width: 1001px) {
54− .center:after {
55− content: "";
56− z-index: -1;
57− background: url(../img/bg-body-index.jpg) no-repeat;
58− background-size: cover;
59− width: 100%;
60− height: 100%;
61− top: 0;
62− left: 0;
63− position: fixed;
64− }
65− .center.search:after {
66− content: none;
67− }
68−}
69−
70−.autocompleter-choices {
71− position: absolute;
72− margin: 0;
73− padding: 0;
74− background: #FFF;
75−}
76− .autocompleter-choices li {
77− padding: 0.5em 1em;
78− }
79− .autocompleter-choices li:hover {
80− background: #3498DB;
81− color: #FFF;
82− cursor: pointer;
83− }
84−
85−#categories {
86− text-align: center;
87−}
88−
89−.top_margin {
90− position: absolute;
91− bottom: -3.5em;
92− width: 100%;
93− left: 0;
94−}
95−
96− .top_margin a {
97− display: inline-block;
98− margin-right: 1em;
99− color: #FFF;
100− text-decoration: none;
101− }
102− .top_margin a:hover,
103− .top_margin a:focus {
104− text-decoration: underline;
105− }
106−
107−@media screen and (max-width: 1000px) {
108− .center { background: none; }
109− .top_margin a {
110− color: #333;
111− }
112−}
113−
114−.checkbox_container { margin-top: 1.5em; }
115− .checkbox_container label {
116− padding: 0.5em 1em;
117− color: #333;
118− cursor: pointer;
119− font-size: 0.9em;
120− }
121− .checkbox_container label:hover {
122− background: #3498DB;
123− color: #FFF;
124− }
125−
126− .checkbox_container input[type="checkbox"] {
127− position: absolute;
128− top: -9999px;
129− }
130−
131− .checkbox_container input[type="checkbox"]:checked + label {
132− background: #3498DB;
133− color: #FFF;
134− }
135−
136−#categories_container > div {
137− display: inline-block;
138−}
139−
140−#categories .hidden {
141− display: none;
142− position: absolute;
143− bottom: 1em;
144− left: 0;
145− text-align: center;
146− width: 100%;
147− font-size: 0.9em;
148− font-style: italic;
149− color: #333;
150−}
151−
152−#categories:hover .hidden {
153− display: block;
154−}
155−
156−@media screen and (max-width: 900px) {
157− #categories_container { letter-spacing: -5px; }
158− #categories_container > div {
159− letter-spacing: normal;
160− margin-top: 1em;
161− }
162− .checkbox_container {
163− margin: 0;
164− }
165− .checkbox_container label {
166− display: block;
167− background: #CCC;
168− padding: 1em;
169− border: 1px solid #FFF;
170− }
171− .top_margin { position: static; }
172− #categories .hidden {
173− position: static;
174− display: block;
175− }
176−}
177−
178−@media screen and (max-width: 900px) and (min-width: 501px) {
179− #categories_container > div {
180− width: 31%;
181− margin-left: 2.333%;
182− }
183− #categories_container > div:nth-child(3n+1) { margin-left: 0; }
184−}
185−
186−@media screen and (max-width: 500px) {
187− #categories_container > div {
188− width: 48%;
189− margin-left: 2%;
190− font-size: 0.9em;
191− }
192− #categories_container > div:nth-child(2n+1) { margin-left: 0; }
193− .title h1 {
194− background: url(../img/searx-mobile.png) no-repeat;
195− width: 200px;
196− height: 39px;
197− }
198−}
199−
200−#search_wrapper {
201− position: relative;
202−}
203−
204−.q {
205− padding: 0.5em 3em 0.5em 1em;
206− width: 100%;
207− font-size: 1.5em;
208− border: 0;
209− color: #666;
210−}
211−
212−#search_submit {
213− position: absolute;
214− top: 0;
215− right: 0;
216− border: 0;
217− background:url("../img/search-icon.png") no-repeat scroll center center / 65% auto #3498db;
218− text-indent: -9999px;
219− width: 5em;
220− height: 100%;
221− cursor: pointer;
222−}
223−
224−#search_submit:hover,
225−#search_submit:focus {
226− background-color: #0665A2;
227−}
228−
229−#sidebar {
230− background: #3498db;
231− position: fixed;
232− top: 0;
233− right: 0;
234− width: 15em;
235− height: 100%;
236− padding: 1.5em;
237− text-align: right;
238−}
239−
240−.right {
241− position: fixed;
242− bottom: 1.5em;
243− width: 15em;
244− right: 0;
245− z-index: 1;
246− padding: 0 1.5em;
247− text-align: right;
248−}
249− .right a {
250− color: #FFF;
251− display: block;
252− text-decoration: none;
253− }
254− .right a:hover,
255− .right a:focus {
256− text-decoration: underline;
257− }
258−
259−#preferences {
260− background: url(../img/preference-icon.png) no-repeat right 0 / 12% auto;
261− padding-right: 1.8em;
262−}
263−
264−#preferences:hover,
265−#preferences:focus {
266−
267−}
268−
269−#search_url input {
270− border: 0;
271− padding: 0.5em;
272−}
273−
274− #sidebar > div {
275− margin-bottom: 1em;
276− color: #FFF;
277− }
278−
279− #sidebar form {
280− display: inline-block;
281− }
282−
283− #sidebar input[type="submit"] {
284− background: #CCC;
285− border: 0;
286− padding: 0.5em 1em;
287− cursor: pointer;
288− margin-top: 0.5em;
289− }
290−
291− #sidebar input[type="submit"]:hover,
292− #sidebar input[type="submit"]:focus {
293− color: #FFF;
294− background-color: #0665A2;
295− }
296−
297−#results {
298− padding-right: 17em;
299− padding-left: 2em;
300− padding: 0 17em 0 2em;
301−}
302−
303−.result p {
304− font-size: 0.9em;
305−}
306−
307−.result .content {
308− margin: 0;
309− color: #666;
310−}
311−
312−.result .url {
313− margin-top: 0;
314− color: #FF6530;
315−}
316−
317−.result .favicon {
318− float: left;
319− position: relative;
320− top: 0.5em;
321− margin-right: 0.5em;
322−}
323−
324−.definition_result {
325− background: #CCC;
326− padding: 1em;
327−}
328−
329−.definition_result .result_title,
330−.definition_result p {
331− margin: 0;
332−}
333−
334−.result_title {
335− margin-bottom: 0;
336− font-weight: normal;
337−}
338−
339−.highlight {
340− font-weight: bold;
341−}
342−
343−.result_title a {
344− color: #3498db;
345− text-decoration: none;
346−}
347−
348− .result_title a:hover,
349− .result_title a:focus {
350− text-decoration: underline;
351− }
352−
353−.cache_link {
354− color: #666;
355− font-size: 0.9em;
356− font-style: italic;
357−}
358−
359−.search.center {
360− padding-right: 17em;
361−}
362−
363−#suggestions { margin-bottom: 1em; }
364−
365−#suggestions span { color: #666; }
366−
367−#suggestions form {
368− display: inline-block;
369− vertical-align: top;
370− margin-bottom: 0.5em;
371−}
372−
373−#suggestions input[type="submit"] {
374− color: #333;
375− padding: 0.5em 1em;
376− border: 0;
377− background: #CCC;
378− cursor:pointer;
379−}
380− #suggestions input[type="submit"]:hover,
381− #suggestions input[type="submit"]:focus {
382− background: #3498db;
383− color: #FFF;
384− }
385−
386−#pagination {
387− margin: 1.5em 0 2em;
388−}
389−
390−#pagination form + form {
391− float: right;
392− margin-top: -2em;
393−}
394−
395−input[type="submit"] {
396− display: inline-block;
397− background: #3498db;
398− color: #FFF;
399− border: 0;
400− padding: 0.6em 1em;
401− cursor: pointer;
402−}
403−
404−input[type="submit"]:hover,
405−input[type="submit"]:focus {
406− background: #0665A2;
407−}
408−
409−.row {
410− max-width: 60em;
411− margin: auto;
412−}
413−
414−.row a {
415− color: #3498db;
416−}
417−
418−.row form {
419− letter-spacing: -5px;
420−}
421−
422− .row form > * { letter-spacing: normal; }
423−
424− .row p { margin: 0; }
425−
426−.row fieldset {
427− display: inline-block;
428− width: 48%;
429− vertical-align: top;
430−}
431−
432−.row fieldset:last-of-type {
433− display: block;
434− width: auto;
435− background: none;
436− padding: 0;
437−}
438−
439−.row fieldset:nth-child(odd) {
440− margin-right: 2%;
441−}
442−
443−.row fieldset:nth-child(2) {
444− min-height: 10.5em;
445−}
446−
447−@media screen and (max-width: 900px) {
448− .row {
449− margin: 0 1em;
450− }
451− .row fieldset { width: 49%; }
452− .row fieldset,
453− .row fieldset:nth-child(odd) {
454− margin-right: 0;
455− }
456−
457− .row fieldset:first-child {
458− width: 100%;
459− margin-right: 0;
460− }
461−
462− .row fieldset:nth-child(even) {
463− margin-right: 2%;
464− }
465−
466−}
467−
468−@media screen and (max-width: 800px) {
469− .row fieldset { width: 100%; }
470−
471− select { width: 100%; }
472−
473− table { font-size: 0.8em; }
474− .right {display: none;}
475− #sidebar { display: none; }
476− #results { padding: 0 2em; }
477− .search.center {
478− padding-right: 2em;
479− }
480−}
481−
482−@media screen and (max-width: 400px) {
483− .row #categories_container > div {
484− width: 100%;
485− margin-left: 0;
486− }
487−}
488−
489−fieldset {
490− border: 0;
491− margin: 1em 0;
492− background: #CCC;
493− padding: 1.5em;
494−}
495−
496−table {
497− width: 100%;
498− text-align: left;
499− border: 1px solid #CCC;
500− border-collapse: collapse;
501−}
502−
503−table th {
504− background: #999;
505− color: #FFF;
506−}
507−
508−table tr:nth-child(odd) {
509− background: #CCC;
510−}
511−
512−table th,
513−table td {
514− padding: 0.5em 1em;
515− border: 1px solid #FFF;
516−}
517−
518−.engine_checkbox label {
519− padding: 0.5em;
520− background: #3498db;
521− color: #FFF;
522− cursor: pointer;
523−}
524−
525−.engine_checkbox .deny {
526− background: #3498db;
527−}
528−
529−.engine_checkbox .allow {
530− display: none;
531− background: #666;
532−}
533−
534−.engine_checkbox input {
535− display: none;
536−}
537−
538−.engine_checkbox input:checked + .allow {
539− display: inline;
540−}
541−
542−.engine_checkbox input:checked + .allow + .deny{
543− display: none;
544−}
545−
546−.row input[type="submit"] {
547− font-size: 1em;
548− margin: 1em 0 2em;
549−}
550−
551−.row .right {
552− position: static;
553− display: inline-block;
554−
555−}
556−
557−.row .right a {
558− color: #333;
559− width: auto;
560− text-align: left;
561− padding: 0;
562−}
563−
564−.small_font {
565− font-size: 0.8em;
566−}
567−
568−table th {
569− padding: 1em;
570−}
571−
572−legend {
573− background: #EEE;
574− padding: 0 1em;
575− position: relative;
576−}
577−
578−select {
579− border: 1px solid #DDD;
580− padding: 0.5em 0.8em;
581− font-size: 1em;
582−}
583−
584−.highlight .hll { background-color: #ffffcc }
585−.highlight { background: #f8f8f8; }
586−.highlight .c { color: #408080; font-style: italic } /* Comment */
587−.highlight .err { border: 1px solid #FF0000 } /* Error */
588−.highlight .k { color: #008000; font-weight: bold } /* Keyword */
589−.highlight .o { color: #666666 } /* Operator */
590−.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
591−.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
592−.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
593−.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
594−.highlight .gd { color: #A00000 } /* Generic.Deleted */
595−.highlight .ge { font-style: italic } /* Generic.Emph */
596−.highlight .gr { color: #FF0000 } /* Generic.Error */
597−.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
598−.highlight .gi { color: #00A000 } /* Generic.Inserted */
599−.highlight .go { color: #888888 } /* Generic.Output */
600−.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
601−.highlight .gs { font-weight: bold } /* Generic.Strong */
602−.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
603−.highlight .gt { color: #0044DD } /* Generic.Traceback */
604−.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
605−.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
606−.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
607−.highlight .kp { color: #008000 } /* Keyword.Pseudo */
608−.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
609−.highlight .kt { color: #B00040 } /* Keyword.Type */
610−.highlight .m { color: #666666 } /* Literal.Number */
611−.highlight .s { color: #BA2121 } /* Literal.String */
612−.highlight .na { color: #7D9029 } /* Name.Attribute */
613−.highlight .nb { color: #008000 } /* Name.Builtin */
614−.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
615−.highlight .no { color: #880000 } /* Name.Constant */
616−.highlight .nd { color: #AA22FF } /* Name.Decorator */
617−.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
618−.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
619−.highlight .nf { color: #0000FF } /* Name.Function */
620−.highlight .nl { color: #A0A000 } /* Name.Label */
621−.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
622−.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
623−.highlight .nv { color: #19177C } /* Name.Variable */
624−.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
625−.highlight .w { color: #bbbbbb } /* Text.Whitespace */
626−.highlight .mf { color: #666666 } /* Literal.Number.Float */
627−.highlight .mh { color: #666666 } /* Literal.Number.Hex */
628−.highlight .mi { color: #666666 } /* Literal.Number.Integer */
629−.highlight .mo { color: #666666 } /* Literal.Number.Oct */
630−.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
631−.highlight .sc { color: #BA2121 } /* Literal.String.Char */
632−.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
633−.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
634−.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
635−.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
636−.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
637−.highlight .sx { color: #008000 } /* Literal.String.Other */
638−.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
639−.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
640−.highlight .ss { color: #19177C } /* Literal.String.Symbol */
641−.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
642−.highlight .vc { color: #19177C } /* Name.Variable.Class */
643−.highlight .vg { color: #19177C } /* Name.Variable.Global */
644−.highlight .vi { color: #19177C } /* Name.Variable.Instance */
645−.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
646−
647−.highlight pre { overflow: auto; }
648−
649−.highlight .lineno {
650− -webkit-touch-callout: none;
651− -webkit-user-select: none;
652− -khtml-user-select: none;
653− -moz-user-select: none;
654− -ms-user-select: none;
655− user-select: none;
656− cursor: default;
657−}
658−
659−.highlight .lineno::selection { background: transparent; } /* WebKit/Blink Browsers */
660−.highlight .lineno::-moz-selection { background: transparent; } /* Gecko Browsers */
1+*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="search"]{-webkit-appearance:textfield}h2{color:#666;text-transform:uppercase}body{font-family:sans-serif;line-height:1.5;margin:0;background:#eee}html{position:relative;min-height:100%}a{color:#666}.title h1{background:url(../img/searx.png) no-repeat;width:319px;height:62px;text-indent:-9999px;margin:.5em auto 1em}.center{max-width:70em;text-align:center;background:rgba(255,255,255,0.6);padding:2em;margin:7% auto 0;position:relative}.center.search{position:static;width:auto;background:none;margin:auto;padding-top:1.8em}@media screen and (min-width:1001px){.center:after{content:"";z-index:-1;background:url(../img/bg-body-index.jpg) no-repeat;background-size:cover;width:100%;height:100%;top:0;left:0;position:fixed}.center.search:after{content:none}}.autocompleter-choices{position:absolute;margin:0;padding:0;background:#fff}.autocompleter-choices li{padding:.5em 1em}.autocompleter-choices li:hover{background:#3498db;color:#fff;cursor:pointer}#categories{text-align:center}.top_margin{position:absolute;bottom:-3.5em;width:100%;left:0}.top_margin a{display:inline-block;margin-right:1em;color:#fff;text-decoration:none}.top_margin a:hover,.top_margin a:focus{text-decoration:underline}@media screen and (max-width:1000px){.center{background:none}.top_margin a{color:#333}}.checkbox_container{margin-top:1.5em}.checkbox_container label{padding:.5em 1em;color:#333;cursor:pointer;font-size:.9em}.checkbox_container label:hover{background:#3498db;color:#fff}.checkbox_container input[type="checkbox"]{position:absolute;top:-9999px}.checkbox_container input[type="checkbox"]:checked+label{background:#3498db;color:#fff}#categories_container>div{display:inline-block}#categories .hidden{display:none;position:absolute;bottom:1em;left:0;text-align:center;width:100%;font-size:.9em;font-style:italic;color:#333}#categories:hover .hidden{display:block}@media screen and (max-width:900px){#categories_container{letter-spacing:-5px}#categories_container>div{letter-spacing:normal;margin-top:1em}.checkbox_container{margin:0}.checkbox_container label{display:block;background:#ccc;padding:1em;border:1px solid #fff}.top_margin{position:static}#categories .hidden{position:static;display:block}}@media screen and (max-width:900px) and (min-width:501px){#categories_container>div{width:31%;margin-left:2.333%}#categories_container>div:nth-child(3n+1){margin-left:0}}@media screen and (max-width:500px){#categories_container>div{width:48%;margin-left:2%;font-size:.9em}#categories_container>div:nth-child(2n+1){margin-left:0}.title h1{background:url(../img/searx-mobile.png) no-repeat;width:200px;height:39px}}#search_wrapper{position:relative}.q{padding:.5em 3em .5em 1em;width:100%;font-size:1.5em;border:0;color:#666}#search_submit{position:absolute;top:0;right:0;border:0;background:url("../img/search-icon.png") no-repeat scroll center center / 65% auto #3498db;text-indent:-9999px;width:5em;height:100%;cursor:pointer}#search_submit:hover,#search_submit:focus{background-color:#0665a2}#sidebar{background:#3498db;position:fixed;top:0;right:0;width:15em;height:100%;padding:1.5em;text-align:right}.right{position:fixed;bottom:1.5em;width:15em;right:0;z-index:1;padding:0 1.5em;text-align:right}.right a{color:#fff;display:block;text-decoration:none}.right a:hover,.right a:focus{text-decoration:underline}#preferences{background:url(../img/preference-icon.png) no-repeat right 0 auto;padding-right:1.8em}#search_url input{border:0;padding:.5em}#sidebar>div{margin-bottom:1em;color:#fff}#sidebar form{display:inline-block}#sidebar input[type="submit"]{background:#ccc;border:0;padding:.5em 1em;cursor:pointer;margin-top:.5em}#sidebar input[type="submit"]:hover,#sidebar input[type="submit"]:focus{color:#fff;background-color:#0665a2}#results{padding-right:17em;padding-left:2em;padding:0 17em 0 2em}.result p{font-size:.9em}.result .content{margin:0;color:#666}.result .url{margin-top:0;color:#ff6530}.result .favicon{float:left;position:relative;top:.5em;margin-right:.5em}.definition_result{background:#ccc;padding:1em}.definition_result .result_title,.definition_result p{margin:0}.result_title{margin-bottom:0;font-weight:normal}.highlight{font-weight:bold}.result_title a{color:#3498db;text-decoration:none}.result_title a:hover,.result_title a:focus{text-decoration:underline}.cache_link{color:#666;font-size:.9em;font-style:italic}.search.center{padding-right:17em}#answers{border:2px solid #3498db;padding:20px;color:#666;text-align:center;max-width:70em;margin:0 auto 20px}#suggestions{margin-bottom:1em}#suggestions span{color:#666}#suggestions form{display:inline-block;vertical-align:top;margin-bottom:.5em}#suggestions input[type="submit"]{color:#333;padding:.5em 1em;border:0;background:#ccc;cursor:pointer}#suggestions input[type="submit"]:hover,#suggestions input[type="submit"]:focus{background:#3498db;color:#fff}#pagination{margin:1.5em 0 2em}#pagination form+form{float:right;margin-top:-2em}input[type="submit"]{display:inline-block;background:#3498db;color:#fff;border:0;padding:.6em 1em;cursor:pointer}input[type="submit"]:hover,input[type="submit"]:focus{background:#0665a2}.row{max-width:60em;margin:auto}.row a{color:#3498db}.row form{letter-spacing:-5px}.row form>*{letter-spacing:normal}.row p{margin:0}.row fieldset{display:inline-block;width:48%;vertical-align:top}.row fieldset:last-of-type{display:block;width:auto;background:none;padding:0}.row fieldset:nth-child(odd){margin-right:2%}.row fieldset:nth-child(2){min-height:10.5em}@media screen and (max-width:900px){.row{margin:0 1em}.row fieldset{width:49%}.row fieldset,.row fieldset:nth-child(odd){margin-right:0}.row fieldset:first-child{width:100%;margin-right:0}.row fieldset:nth-child(even){margin-right:2%}}@media screen and (max-width:800px){.row fieldset{width:100%}select{width:100%}table{font-size:.8em}.right{display:none}#sidebar{display:none}#results{padding:0 2em}.search.center{padding-right:2em}}@media screen and (max-width:400px){.row #categories_container>div{width:100%;margin-left:0}}fieldset{border:0;margin:1em 0;background:#ccc;padding:1.5em}table{width:100%;text-align:left;border:1px solid #ccc;border-collapse:collapse}table th{background:#999;color:#fff}table tr:nth-child(odd){background:#ccc}table th,table td{padding:.5em 1em;border:1px solid #fff}.engine_checkbox label{padding:.5em;background:#3498db;color:#fff;cursor:pointer}.engine_checkbox .deny{background:#3498db}.engine_checkbox .allow{display:none;background:#666}.engine_checkbox input{display:none}.engine_checkbox input:checked+.allow{display:inline}.engine_checkbox input:checked+.allow+.deny{display:none}.row input[type="submit"]{font-size:1em;margin:1em 0 2em}.row .right{position:static;display:inline-block}.row .right a{color:#333;width:auto;text-align:left;padding:0}.small_font{font-size:.8em}table th{padding:1em}legend{background:#eee;padding:0 1em;position:relative}select{border:1px solid #ddd;padding:.5em .8em;font-size:1em}.highlight .hll{background-color:#ffc}.highlight{background:#f8f8f8}.highlight .c{color:#408080;font-style:italic}.highlight .err{border:1px solid #f00}.highlight .k{color:#008000;font-weight:bold}.highlight .o{color:#666}.highlight .cm{color:#408080;font-style:italic}.highlight .cp{color:#bc7a00}.highlight .c1{color:#408080;font-style:italic}.highlight .cs{color:#408080;font-style:italic}.highlight .gd{color:#a00000}.highlight .ge{font-style:italic}.highlight .gr{color:#f00}.highlight .gh{color:#000080;font-weight:bold}.highlight .gi{color:#00a000}.highlight .go{color:#888}.highlight .gp{color:#000080;font-weight:bold}.highlight .gs{font-weight:bold}.highlight .gu{color:#800080;font-weight:bold}.highlight .gt{color:#04d}.highlight .kc{color:#008000;font-weight:bold}.highlight .kd{color:#008000;font-weight:bold}.highlight .kn{color:#008000;font-weight:bold}.highlight .kp{color:#008000}.highlight .kr{color:#008000;font-weight:bold}.highlight .kt{color:#b00040}.highlight .m{color:#666}.highlight .s{color:#ba2121}.highlight .na{color:#7d9029}.highlight .nb{color:#008000}.highlight .nc{color:#00f;font-weight:bold}.highlight .no{color:#800}.highlight .nd{color:#a2f}.highlight .ni{color:#999;font-weight:bold}.highlight .ne{color:#d2413a;font-weight:bold}.highlight .nf{color:#00f}.highlight .nl{color:#a0a000}.highlight .nn{color:#00f;font-weight:bold}.highlight .nt{color:#008000;font-weight:bold}.highlight .nv{color:#19177c}.highlight .ow{color:#a2f;font-weight:bold}.highlight .w{color:#bbb}.highlight .mf{color:#666}.highlight .mh{color:#666}.highlight .mi{color:#666}.highlight .mo{color:#666}.highlight .sb{color:#ba2121}.highlight .sc{color:#ba2121}.highlight .sd{color:#ba2121;font-style:italic}.highlight .s2{color:#ba2121}.highlight .se{color:#b62;font-weight:bold}.highlight .sh{color:#ba2121}.highlight .si{color:#b68;font-weight:bold}.highlight .sx{color:#008000}.highlight .sr{color:#b68}.highlight .s1{color:#ba2121}.highlight .ss{color:#19177c}.highlight .bp{color:#008000}.highlight .vc{color:#19177c}.highlight .vg{color:#19177c}.highlight .vi{color:#19177c}.highlight .il{color:#666}.highlight pre{overflow:auto}.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}.highlight .lineno::selection{background:transparent}.highlight .lineno::-moz-selection{background:transparent}
searx/static/themes/courgette/img/icons/icon_500px.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_bing.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_deezer.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_digg.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_duckduckgo.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_flickr.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_google play apps.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_google play movies.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_google play music.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_google.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_openstreetmap.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_searchcode code.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_searchcode doc.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_searchcode.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_startpage.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_subtitleseeker.iconew file

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_wikipedia.ico

Binary file not shown.

searx/static/themes/courgette/img/icons/icon_yahoo.iconew file

Binary file not shown.

searx/static/themes/courgette/less/style.lessnew file+689
@@ -0,0 +1,689 @@
1+
2+@color-main: #3498DB;
3+@color-other-links: #666;
4+@color-fonts: #333;
5+@center-width: 70em;
6+
7+
8+
9+
10+* {
11+ -webkit-box-sizing: border-box;
12+ -moz-box-sizing: border-box;
13+ box-sizing: border-box;
14+}
15+
16+input[type="search"] {
17+ -webkit-appearance: textfield;
18+}
19+
20+h2 {
21+ color: @color-other-links;
22+ text-transform: uppercase;
23+}
24+
25+body {
26+ font-family: sans-serif;
27+ line-height: 1.5;
28+ margin: 0;
29+ background: #EEE;
30+}
31+
32+html {
33+ position: relative;
34+ min-height: 100%;
35+}
36+
37+a {
38+ color: @color-other-links;
39+}
40+
41+.title h1 {
42+ background: url(../img/searx.png) no-repeat;
43+ width: 319px;
44+ height: 62px;
45+ text-indent: -9999px;
46+ margin: 0.5em auto 1em;
47+}
48+
49+.center {
50+ max-width: @center-width;
51+ text-align: center;
52+ background: rgba(255,255,255,0.6);
53+ padding: 2em;
54+ margin: 7% auto 0;
55+ position: relative;
56+}
57+
58+.center.search {
59+ position: static;
60+ width: auto;
61+ background: none;
62+ margin: auto;
63+ padding-top: 1.8em;
64+}
65+
66+@media screen and (min-width: 1001px) {
67+ .center:after {
68+ content: "";
69+ z-index: -1;
70+ background: url(../img/bg-body-index.jpg) no-repeat;
71+ background-size: cover;
72+ width: 100%;
73+ height: 100%;
74+ top: 0;
75+ left: 0;
76+ position: fixed;
77+ }
78+ .center.search:after {
79+ content: none;
80+ }
81+}
82+
83+.autocompleter-choices {
84+ position: absolute;
85+ margin: 0;
86+ padding: 0;
87+ background: #FFF;
88+}
89+
90+.autocompleter-choices li {
91+ padding: 0.5em 1em;
92+}
93+
94+.autocompleter-choices li:hover {
95+ background: @color-main;
96+ color: #FFF;
97+ cursor: pointer;
98+}
99+
100+#categories {
101+ text-align: center;
102+}
103+
104+.top_margin {
105+ position: absolute;
106+ bottom: -3.5em;
107+ width: 100%;
108+ left: 0;
109+}
110+
111+.top_margin a {
112+ display: inline-block;
113+ margin-right: 1em;
114+ color: #FFF;
115+ text-decoration: none;
116+}
117+
118+.top_margin a:hover,
119+.top_margin a:focus {
120+ text-decoration: underline;
121+}
122+
123+@media screen and (max-width: 1000px) {
124+ .center { background: none; }
125+ .top_margin a {
126+ color: @color-fonts;
127+ }
128+}
129+
130+.checkbox_container { margin-top: 1.5em; }
131+.checkbox_container label {
132+ padding: 0.5em 1em;
133+ color: @color-fonts;
134+ cursor: pointer;
135+ font-size: 0.9em;
136+}
137+
138+.checkbox_container label:hover {
139+ background: @color-main;
140+ color: #FFF;
141+}
142+
143+.checkbox_container input[type="checkbox"] {
144+ position: absolute;
145+ top: -9999px;
146+}
147+
148+.checkbox_container input[type="checkbox"]:checked + label {
149+ background: @color-main;
150+ color: #FFF;
151+}
152+
153+#categories_container > div {
154+ display: inline-block;
155+}
156+
157+#categories .hidden {
158+ display: none;
159+ position: absolute;
160+ bottom: 1em;
161+ left: 0;
162+ text-align: center;
163+ width: 100%;
164+ font-size: 0.9em;
165+ font-style: italic;
166+ color: @color-fonts;
167+}
168+
169+#categories:hover .hidden {
170+ display: block;
171+}
172+
173+@media screen and (max-width: 900px) {
174+ #categories_container { letter-spacing: -5px; }
175+ #categories_container > div {
176+ letter-spacing: normal;
177+ margin-top: 1em;
178+ }
179+ .checkbox_container {
180+ margin: 0;
181+ }
182+ .checkbox_container label {
183+ display: block;
184+ background: #CCC;
185+ padding: 1em;
186+ border: 1px solid #FFF;
187+ }
188+ .top_margin { position: static; }
189+ #categories .hidden {
190+ position: static;
191+ display: block;
192+ }
193+}
194+
195+@media screen and (max-width: 900px) and (min-width: 501px) {
196+ #categories_container > div {
197+ width: 31%;
198+ margin-left: 2.333%;
199+ }
200+ #categories_container > div:nth-child(3n+1) { margin-left: 0; }
201+}
202+
203+@media screen and (max-width: 500px) {
204+ #categories_container > div {
205+ width: 48%;
206+ margin-left: 2%;
207+ font-size: 0.9em;
208+ }
209+ #categories_container > div:nth-child(2n+1) { margin-left: 0; }
210+ .title h1 {
211+ background: url(../img/searx-mobile.png) no-repeat;
212+ width: 200px;
213+ height: 39px;
214+ }
215+}
216+
217+#search_wrapper {
218+ position: relative;
219+}
220+
221+.q {
222+ padding: 0.5em 3em 0.5em 1em;
223+ width: 100%;
224+ font-size: 1.5em;
225+ border: 0;
226+ color: #666;
227+}
228+
229+#search_submit {
230+ position: absolute;
231+ top: 0;
232+ right: 0;
233+ border: 0;
234+ background:url("../img/search-icon.png") no-repeat scroll center center / 65% auto @color-main;
235+ text-indent: -9999px;
236+ width: 5em;
237+ height: 100%;
238+ cursor: pointer;
239+}
240+
241+#search_submit:hover,
242+#search_submit:focus {
243+ background-color: #0665A2;
244+}
245+
246+#sidebar {
247+ background: @color-main;
248+ position: fixed;
249+ top: 0;
250+ right: 0;
251+ width: 15em;
252+ height: 100%;
253+ padding: 1.5em;
254+ text-align: right;
255+}
256+
257+.right {
258+ position: fixed;
259+ bottom: 1.5em;
260+ width: 15em;
261+ right: 0;
262+ z-index: 1;
263+ padding: 0 1.5em;
264+ text-align: right;
265+}
266+
267+.right a {
268+ color: #FFF;
269+ display: block;
270+ text-decoration: none;
271+}
272+
273+.right a:hover,
274+.right a:focus {
275+ text-decoration: underline;
276+}
277+
278+#preferences {
279+ background: url(../img/preference-icon.png) no-repeat right 0 / 12% auto;
280+ padding-right: 1.8em;
281+}
282+
283+#preferences:hover,
284+#preferences:focus {
285+
286+}
287+
288+#search_url input {
289+ border: 0;
290+ padding: 0.5em;
291+}
292+
293+#sidebar > div {
294+ margin-bottom: 1em;
295+ color: #FFF;
296+}
297+
298+#sidebar form {
299+ display: inline-block;
300+}
301+
302+#sidebar input[type="submit"] {
303+ background: #CCC;
304+ border: 0;
305+ padding: 0.5em 1em;
306+ cursor: pointer;
307+ margin-top: 0.5em;
308+}
309+
310+#sidebar input[type="submit"]:hover,
311+#sidebar input[type="submit"]:focus {
312+ color: #FFF;
313+ background-color: #0665A2;
314+}
315+
316+#results {
317+ padding-right: 17em;
318+ padding-left: 2em;
319+ padding: 0 17em 0 2em;
320+}
321+
322+.result p {
323+ font-size: 0.9em;
324+}
325+
326+.result .content {
327+ margin: 0;
328+ color: #666;
329+}
330+
331+.result .url {
332+ margin-top: 0;
333+ color: #FF6530;
334+}
335+
336+.result .favicon {
337+ float: left;
338+ position: relative;
339+ top: 0.5em;
340+ margin-right: 0.5em;
341+}
342+
343+.definition_result {
344+ background: #CCC;
345+ padding: 1em;
346+}
347+
348+.definition_result .result_title,
349+.definition_result p {
350+ margin: 0;
351+}
352+
353+.result_title {
354+ margin-bottom: 0;
355+ font-weight: normal;
356+}
357+
358+.highlight {
359+ font-weight: bold;
360+}
361+
362+.result_title a {
363+ color: @color-main;
364+ text-decoration: none;
365+}
366+
367+.result_title a:hover,
368+.result_title a:focus {
369+ text-decoration: underline;
370+}
371+
372+.cache_link {
373+ color: #666;
374+ font-size: 0.9em;
375+ font-style: italic;
376+}
377+
378+.search.center {
379+ padding-right: 17em;
380+}
381+
382+#answers {
383+ border: 2px solid @color-main;
384+ padding: 20px;
385+ color:#666;
386+ text-align: center;
387+ max-width:@center-width;
388+ margin:0 auto 20px;
389+}
390+
391+#suggestions { margin-bottom: 1em; }
392+
393+#suggestions span { color: #666; }
394+
395+#suggestions form {
396+ display: inline-block;
397+ vertical-align: top;
398+ margin-bottom: 0.5em;
399+}
400+
401+#suggestions input[type="submit"] {
402+ color: @color-fonts;
403+ padding: 0.5em 1em;
404+ border: 0;
405+ background: #CCC;
406+ cursor:pointer;
407+}
408+
409+#suggestions input[type="submit"]:hover,
410+#suggestions input[type="submit"]:focus {
411+ background: @color-main;
412+ color: #FFF;
413+}
414+
415+#pagination {
416+ margin: 1.5em 0 2em;
417+}
418+
419+#pagination form + form {
420+ float: right;
421+ margin-top: -2em;
422+}
423+
424+input[type="submit"] {
425+ display: inline-block;
426+ background: @color-main;
427+ color: #FFF;
428+ border: 0;
429+ padding: 0.6em 1em;
430+ cursor: pointer;
431+}
432+
433+input[type="submit"]:hover,
434+input[type="submit"]:focus {
435+ background: #0665A2;
436+}
437+
438+.row {
439+ max-width: 60em;
440+ margin: auto;
441+}
442+
443+.row a {
444+ color: @color-main;
445+}
446+
447+.row form {
448+ letter-spacing: -5px;
449+}
450+
451+.row form > * { letter-spacing: normal; }
452+
453+.row p { margin: 0; }
454+
455+.row fieldset {
456+ display: inline-block;
457+ width: 48%;
458+ vertical-align: top;
459+}
460+
461+.row fieldset:last-of-type {
462+ display: block;
463+ width: auto;
464+ background: none;
465+ padding: 0;
466+}
467+
468+.row fieldset:nth-child(odd) {
469+ margin-right: 2%;
470+}
471+
472+.row fieldset:nth-child(2) {
473+ min-height: 10.5em;
474+}
475+
476+@media screen and (max-width: 900px) {
477+ .row {
478+ margin: 0 1em;
479+ }
480+
481+ .row fieldset { width: 49%; }
482+ .row fieldset,
483+ .row fieldset:nth-child(odd) {
484+ margin-right: 0;
485+ }
486+
487+ .row fieldset:first-child {
488+ width: 100%;
489+ margin-right: 0;
490+ }
491+
492+ .row fieldset:nth-child(even) {
493+ margin-right: 2%;
494+ }
495+}
496+
497+@media screen and (max-width: 800px) {
498+ .row fieldset { width: 100%; }
499+
500+ select { width: 100%; }
501+
502+ table { font-size: 0.8em; }
503+ .right {display: none;}
504+ #sidebar { display: none; }
505+ #results { padding: 0 2em; }
506+ .search.center {
507+ padding-right: 2em;
508+ }
509+}
510+
511+@media screen and (max-width: 400px) {
512+ .row #categories_container > div {
513+ width: 100%;
514+ margin-left: 0;
515+ }
516+}
517+
518+fieldset {
519+ border: 0;
520+ margin: 1em 0;
521+ background: #CCC;
522+ padding: 1.5em;
523+}
524+
525+table {
526+ width: 100%;
527+ text-align: left;
528+ border: 1px solid #CCC;
529+ border-collapse: collapse;
530+}
531+
532+table th {
533+ background: #999;
534+ color: #FFF;
535+}
536+
537+table tr:nth-child(odd) {
538+ background: #CCC;
539+}
540+
541+table th,
542+table td {
543+ padding: 0.5em 1em;
544+ border: 1px solid #FFF;
545+}
546+
547+.engine_checkbox label {
548+ padding: 0.5em;
549+ background: @color-main;
550+ color: #FFF;
551+ cursor: pointer;
552+}
553+
554+.engine_checkbox .deny {
555+ background: @color-main;
556+}
557+
558+.engine_checkbox .allow {
559+ display: none;
560+ background: #666;
561+}
562+
563+.engine_checkbox input {
564+ display: none;
565+}
566+
567+.engine_checkbox input:checked + .allow {
568+ display: inline;
569+}
570+
571+.engine_checkbox input:checked + .allow + .deny{
572+ display: none;
573+}
574+
575+.row input[type="submit"] {
576+ font-size: 1em;
577+ margin: 1em 0 2em;
578+}
579+
580+.row .right {
581+ position: static;
582+ display: inline-block;
583+
584+}
585+
586+.row .right a {
587+ color: @color-fonts;
588+ width: auto;
589+ text-align: left;
590+ padding: 0;
591+}
592+
593+.small_font {
594+ font-size: 0.8em;
595+}
596+
597+table th {
598+ padding: 1em;
599+}
600+
601+legend {
602+ background: #EEE;
603+ padding: 0 1em;
604+ position: relative;
605+}
606+
607+select {
608+ border: 1px solid #DDD;
609+ padding: 0.5em 0.8em;
610+ font-size: 1em;
611+}
612+
613+.highlight .hll { background-color: #ffffcc }
614+.highlight { background: #f8f8f8; }
615+.highlight .c { color: #408080; font-style: italic } /* Comment */
616+.highlight .err { border: 1px solid #FF0000 } /* Error */
617+.highlight .k { color: #008000; font-weight: bold } /* Keyword */
618+.highlight .o { color: #666666 } /* Operator */
619+.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
620+.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
621+.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
622+.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
623+.highlight .gd { color: #A00000 } /* Generic.Deleted */
624+.highlight .ge { font-style: italic } /* Generic.Emph */
625+.highlight .gr { color: #FF0000 } /* Generic.Error */
626+.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
627+.highlight .gi { color: #00A000 } /* Generic.Inserted */
628+.highlight .go { color: #888888 } /* Generic.Output */
629+.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
630+.highlight .gs { font-weight: bold } /* Generic.Strong */
631+.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
632+.highlight .gt { color: #0044DD } /* Generic.Traceback */
633+.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
634+.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
635+.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
636+.highlight .kp { color: #008000 } /* Keyword.Pseudo */
637+.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
638+.highlight .kt { color: #B00040 } /* Keyword.Type */
639+.highlight .m { color: #666666 } /* Literal.Number */
640+.highlight .s { color: #BA2121 } /* Literal.String */
641+.highlight .na { color: #7D9029 } /* Name.Attribute */
642+.highlight .nb { color: #008000 } /* Name.Builtin */
643+.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
644+.highlight .no { color: #880000 } /* Name.Constant */
645+.highlight .nd { color: #AA22FF } /* Name.Decorator */
646+.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
647+.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
648+.highlight .nf { color: #0000FF } /* Name.Function */
649+.highlight .nl { color: #A0A000 } /* Name.Label */
650+.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
651+.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
652+.highlight .nv { color: #19177C } /* Name.Variable */
653+.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
654+.highlight .w { color: #bbbbbb } /* Text.Whitespace */
655+.highlight .mf { color: #666666 } /* Literal.Number.Float */
656+.highlight .mh { color: #666666 } /* Literal.Number.Hex */
657+.highlight .mi { color: #666666 } /* Literal.Number.Integer */
658+.highlight .mo { color: #666666 } /* Literal.Number.Oct */
659+.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
660+.highlight .sc { color: #BA2121 } /* Literal.String.Char */
661+.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
662+.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
663+.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
664+.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
665+.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
666+.highlight .sx { color: #008000 } /* Literal.String.Other */
667+.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
668+.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
669+.highlight .ss { color: #19177C } /* Literal.String.Symbol */
670+.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
671+.highlight .vc { color: #19177C } /* Name.Variable.Class */
672+.highlight .vg { color: #19177C } /* Name.Variable.Global */
673+.highlight .vi { color: #19177C } /* Name.Variable.Instance */
674+.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
675+
676+.highlight pre { overflow: auto; }
677+
678+.highlight .lineno {
679+ -webkit-touch-callout: none;
680+ -webkit-user-select: none;
681+ -khtml-user-select: none;
682+ -moz-user-select: none;
683+ -ms-user-select: none;
684+ user-select: none;
685+ cursor: default;
686+}
687+
688+.highlight .lineno::selection { background: transparent; } /* WebKit/Blink Browsers */
689+.highlight .lineno::-moz-selection { background: transparent; } /* Gecko Browsers */
searx/static/themes/default/css/style.css+1−1
@@ -1 +1 @@
1−.highlight .hll{background-color:#ffc}.highlight{background:#f8f8f8}.highlight .c{color:#408080;font-style:italic}.highlight .err{border:1px solid #f00}.highlight .k{color:#008000;font-weight:bold}.highlight .o{color:#666}.highlight .cm{color:#408080;font-style:italic}.highlight .cp{color:#bc7a00}.highlight .c1{color:#408080;font-style:italic}.highlight .cs{color:#408080;font-style:italic}.highlight .gd{color:#a00000}.highlight .ge{font-style:italic}.highlight .gr{color:#f00}.highlight .gh{color:#000080;font-weight:bold}.highlight .gi{color:#00a000}.highlight .go{color:#888}.highlight .gp{color:#000080;font-weight:bold}.highlight .gs{font-weight:bold}.highlight .gu{color:#800080;font-weight:bold}.highlight .gt{color:#04d}.highlight .kc{color:#008000;font-weight:bold}.highlight .kd{color:#008000;font-weight:bold}.highlight .kn{color:#008000;font-weight:bold}.highlight .kp{color:#008000}.highlight .kr{color:#008000;font-weight:bold}.highlight .kt{color:#b00040}.highlight .m{color:#666}.highlight .s{color:#ba2121}.highlight .na{color:#7d9029}.highlight .nb{color:#008000}.highlight .nc{color:#00f;font-weight:bold}.highlight .no{color:#800}.highlight .nd{color:#a2f}.highlight .ni{color:#999;font-weight:bold}.highlight .ne{color:#d2413a;font-weight:bold}.highlight .nf{color:#00f}.highlight .nl{color:#a0a000}.highlight .nn{color:#00f;font-weight:bold}.highlight .nt{color:#008000;font-weight:bold}.highlight .nv{color:#19177c}.highlight .ow{color:#a2f;font-weight:bold}.highlight .w{color:#bbb}.highlight .mf{color:#666}.highlight .mh{color:#666}.highlight .mi{color:#666}.highlight .mo{color:#666}.highlight .sb{color:#ba2121}.highlight .sc{color:#ba2121}.highlight .sd{color:#ba2121;font-style:italic}.highlight .s2{color:#ba2121}.highlight .se{color:#b62;font-weight:bold}.highlight .sh{color:#ba2121}.highlight .si{color:#b68;font-weight:bold}.highlight .sx{color:#008000}.highlight .sr{color:#b68}.highlight .s1{color:#ba2121}.highlight .ss{color:#19177c}.highlight .bp{color:#008000}.highlight .vc{color:#19177c}.highlight .vg{color:#19177c}.highlight .vi{color:#19177c}.highlight .il{color:#666}.highlight pre{overflow:auto}.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}.highlight .lineno::selection{background:transparent}.highlight .lineno::-moz-selection{background:transparent}html{font-family:sans-serif;font-size:.9em;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;color:#444;padding:0;margin:0}body,#container{padding:0;margin:0}#container{width:100%;position:absolute;top:0}.search{padding:0;margin:0}.search .checkbox_container label{font-size:.9em;border-bottom:2px solid #e8e7e6}.search .checkbox_container label:hover{border-bottom:2px solid #3498db}.search .checkbox_container input[type="checkbox"]:checked+label{border-bottom:2px solid #2980b9}#search_wrapper{position:relative;width:50em;padding:10px}.center #search_wrapper{margin-left:auto;margin-right:auto}.q{background:none repeat scroll 0 0 #fff;border:1px solid #3498db;color:#222;font-size:16px;height:28px;margin:0;outline:medium none;padding:2px;padding-left:8px;padding-right:0 !important;width:100%;z-index:2}#search_submit{position:absolute;top:13px;right:1px;padding:0;border:0;background:url('../img/search-icon.png') no-repeat;background-size:24px 24px;opacity:.8;width:24px;height:30px;font-size:0}@media screen and (max-width:50em){#search_wrapper{width:90%;clear:both;overflow:hidden}}ul.autocompleter-choices{position:absolute;margin:0;padding:0;list-style:none;border:1px solid #3498db;border-left-color:#3498db;border-right-color:#3498db;border-bottom-color:#3498db;text-align:left;font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;z-index:50;background-color:#fff;color:#444}ul.autocompleter-choices li{position:relative;margin:-2px 0 0 0;padding:.2em 1.5em .2em 1em;display:block;float:none !important;cursor:pointer;font-weight:normal;white-space:nowrap;font-size:1em;line-height:1.5em}ul.autocompleter-choices li.autocompleter-selected{background-color:#444;color:#fff}ul.autocompleter-choices li.autocompleter-selected span.autocompleter-queried{color:#9fcfff}ul.autocompleter-choices span.autocompleter-queried{display:inline;float:none;font-weight:bold;margin:0;padding:0}.row{max-width:800px;margin:20px auto;text-align:justify}.row h1{font-size:3em;margin-top:50px}.row p{padding:0 10px;max-width:700px}.row h3,.row ul{margin:4px 8px}.hmarg{margin:0 20px;border:1px solid #3498db;padding:4px 10px}a:link.hmarg{color:#3498db}a:visited.hmarg{color:#3498db}a:active.hmarg{color:#3498db}a:hover.hmarg{color:#3498db}.top_margin{margin-top:60px}.center{text-align:center}h1{font-size:5em}div.title{background:url('../img/searx.png') no-repeat;width:100%;min-height:80px;background-position:center}div.title h1{visibility:hidden}input[type="submit"]{padding:2px 6px;margin:2px 4px;display:inline-block;background:#3498db;color:#fff;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:0;cursor:pointer}input[type="checkbox"]{visibility:hidden}fieldset{margin:8px;border:1px solid #3498db}#categories{margin:0 10px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.checkbox_container{display:inline-block;position:relative;margin:0 3px;padding:0}.checkbox_container input{display:none}.checkbox_container label,.engine_checkbox label{cursor:pointer;padding:4px 10px;margin:0;display:block;text-transform:capitalize;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.checkbox_container input[type="checkbox"]:checked+label{background:#3498db;color:#fff}.engine_checkbox{padding:4px}label.allow{background:#e74c3c;padding:4px 8px;color:#fff;display:none}label.deny{background:#2ecc71;padding:4px 8px;color:#444;display:inline}.engine_checkbox input[type="checkbox"]:checked+label:nth-child(2)+label{display:none}.engine_checkbox input[type="checkbox"]:checked+label.allow{display:inline}a{text-decoration:none;color:#1a11be}a:visited{color:#8e44ad}.result{margin:19px 0 18px 0;padding:0;clear:both}.result_title{margin-bottom:0}.result_title a{color:#2980b9;font-weight:normal;font-size:1.1em}.result_title a:hover{text-decoration:underline}.result_title a:visited{color:#8e44ad}.cache_link{font-size:10px !important}.result h3{font-size:1em;word-wrap:break-word;margin:5px 0 1px 0;padding:0}.result .content{font-size:.8em;margin:0;padding:0;max-width:54em;word-wrap:break-word;line-height:1.24}.result .content img{float:left;margin-right:5px;max-width:200px;max-height:100px}.result .content br.last{clear:both}.result .url{font-size:.8em;margin:0 0 3px 0;padding:0;max-width:54em;word-wrap:break-word;color:#c0392b}.result .published_date{font-size:.8em;color:#888;Margin:5px 20px}.result .thumbnail{width:400px}.engines{color:#888}.small_font{font-size:.8em}.small p{margin:2px 0}.right{float:right}.invisible{display:none}.left{float:left}.highlight{color:#094089}.content .highlight{color:#000}.image_result{display:inline-block;margin:10px 10px;position:relative;max-height:160px}.image_result img{border:0;max-height:160px}.image_result p{margin:0;padding:0}.image_result p span a{display:none;color:#fff}.image_result p:hover span a{display:block;position:absolute;bottom:0;right:0;padding:4px;background-color:rgba(0,0,0,0.6);font-size:.7em}.torrent_result{border-left:10px solid lightgray;padding-left:3px}.torrent_result p{margin:3px;font-size:.8em}.definition_result{border-left:10px solid gray;padding-left:3px}.percentage{position:relative;width:300px}.percentage div{background:#444}table{width:100%}td{padding:0 4px}tr:hover{background:#ddd}#results{margin:auto;padding:0;width:50em;margin-bottom:20px}#sidebar{position:fixed;bottom:10px;left:10px;margin:0 2px 5px 5px;padding:0 2px 2px 2px;width:14em}#sidebar input{padding:0;margin:3px;font-size:.8em;display:inline-block;background:transparent;color:#444;cursor:pointer}#sidebar input[type="submit"]{text-decoration:underline}#suggestions form{display:inline}#suggestions,#answers{margin-top:20px;max-width:45em}#suggestions input,#answers input,#infoboxes input{padding:0;margin:3px;font-size:.8em;display:inline-block;background:transparent;color:#444;cursor:pointer}#suggestions input[type="submit"],#answers input[type="submit"],#infoboxes input[type="submit"]{text-decoration:underline}#answers form,#infoboxes form{min-width:210px}#infoboxes{position:absolute;top:100px;right:20px;margin:0 2px 5px 5px;padding:0 2px 2px;max-width:21em}#infoboxes .infobox{margin:10px 0 10px;border:1px solid #ddd;padding:5px;font-size:.8em}#infoboxes .infobox img{max-width:20em;max-heigt:12em;display:block;margin:5px;padding:5px}#infoboxes .infobox h2{margin:0}#infoboxes .infobox table{width:auto}#infoboxes .infobox table td{vertical-align:top}#infoboxes .infobox input{font-size:1em}#infoboxes .infobox br{clear:both}#search_url{margin-top:8px}#search_url input{border:1px solid #888;padding:4px;color:#444;width:14em;display:block;margin:4px;font-size:.8em}#preferences{top:10px;padding:0;border:0;background:url('../img/preference-icon.png') no-repeat;background-size:28px 28px;opacity:.8;width:28px;height:30px;display:block}#preferences *{display:none}#pagination{clear:both}#pagination br{clear:both}#apis{margin-top:8px;clear:both}#categories_container{position:relative}@media screen and (max-width:50em){#results{margin:auto;padding:0;width:90%}.github{display:none}.checkbox_container{display:block;width:90%}.checkbox_container label{border-bottom:0}.preferences_container{display:none;postion:fixed !important;top:100px;right:0}}@media screen and (max-width:75em){div.title h1{font-size:1em}html.touch #categories{width:95%;height:30px;text-align:left;overflow-x:scroll;overflow-y:hidden;-webkit-overflow-scrolling:touch}html.touch #categories #categories_container{width:1000px;width:-moz-max-content;width:-webkit-max-content;width:max-content}html.touch #categories #categories_container .checkbox_container{display:inline-block;width:auto}#categories{font-size:90%;clear:both}#categories .checkbox_container{margin-top:2px;margin:auto}#suggestions,#answers{margin-top:5px}#infoboxes{position:inherit;max-width:inherit}#infoboxes .infobox{clear:both}#infoboxes .infobox img{float:left;max-width:10em}#categories{font-size:90%;clear:both}#categories .checkbox_container{margin-top:2px;margin:auto}#sidebar{position:static;max-width:50em;margin:0 0 2px 0;padding:0;float:none;border:none;width:auto}#sidebar input{border:0}#apis{display:none}#search_url{display:none}.result{border-top:1px solid #e8e7e6;margin:8px 0 8px 0}.result .thumbnail{max-width:98%}.image_result{max-width:98%}.image_result img{max-width:98%}}.favicon{float:left;margin-right:4px;margin-top:2px}.preferences_back{background:none repeat scroll 0 0 #3498db;border:0 none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;cursor:pointer;display:inline-block;margin:2px 4px;padding:4px 6px}.preferences_back a{color:#fff}.hidden{opacity:0;overflow:hidden;font-size:.8em;position:absolute;bottom:-20px;width:100%;text-position:center;background:white;transition:opacity 1s ease}#categories_container:hover .hidden{transition:opacity 1s ease;opacity:.8}
1+.highlight .hll{background-color:#ffc}.highlight{background:#f8f8f8}.highlight .c{color:#408080;font-style:italic}.highlight .err{border:1px solid #f00}.highlight .k{color:#008000;font-weight:bold}.highlight .o{color:#666}.highlight .cm{color:#408080;font-style:italic}.highlight .cp{color:#bc7a00}.highlight .c1{color:#408080;font-style:italic}.highlight .cs{color:#408080;font-style:italic}.highlight .gd{color:#a00000}.highlight .ge{font-style:italic}.highlight .gr{color:#f00}.highlight .gh{color:#000080;font-weight:bold}.highlight .gi{color:#00a000}.highlight .go{color:#888}.highlight .gp{color:#000080;font-weight:bold}.highlight .gs{font-weight:bold}.highlight .gu{color:#800080;font-weight:bold}.highlight .gt{color:#04d}.highlight .kc{color:#008000;font-weight:bold}.highlight .kd{color:#008000;font-weight:bold}.highlight .kn{color:#008000;font-weight:bold}.highlight .kp{color:#008000}.highlight .kr{color:#008000;font-weight:bold}.highlight .kt{color:#b00040}.highlight .m{color:#666}.highlight .s{color:#ba2121}.highlight .na{color:#7d9029}.highlight .nb{color:#008000}.highlight .nc{color:#00f;font-weight:bold}.highlight .no{color:#800}.highlight .nd{color:#a2f}.highlight .ni{color:#999;font-weight:bold}.highlight .ne{color:#d2413a;font-weight:bold}.highlight .nf{color:#00f}.highlight .nl{color:#a0a000}.highlight .nn{color:#00f;font-weight:bold}.highlight .nt{color:#008000;font-weight:bold}.highlight .nv{color:#19177c}.highlight .ow{color:#a2f;font-weight:bold}.highlight .w{color:#bbb}.highlight .mf{color:#666}.highlight .mh{color:#666}.highlight .mi{color:#666}.highlight .mo{color:#666}.highlight .sb{color:#ba2121}.highlight .sc{color:#ba2121}.highlight .sd{color:#ba2121;font-style:italic}.highlight .s2{color:#ba2121}.highlight .se{color:#b62;font-weight:bold}.highlight .sh{color:#ba2121}.highlight .si{color:#b68;font-weight:bold}.highlight .sx{color:#008000}.highlight .sr{color:#b68}.highlight .s1{color:#ba2121}.highlight .ss{color:#19177c}.highlight .bp{color:#008000}.highlight .vc{color:#19177c}.highlight .vg{color:#19177c}.highlight .vi{color:#19177c}.highlight .il{color:#666}.highlight pre{overflow:auto}.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}.highlight .lineno::selection{background:transparent}.highlight .lineno::-moz-selection{background:transparent}html{font-family:sans-serif;font-size:.9em;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;color:#444;padding:0;margin:0}body,#container{padding:0;margin:0}#container{width:100%;position:absolute;top:0}.search{padding:0;margin:0}.search .checkbox_container label{font-size:.9em;border-bottom:2px solid #e8e7e6}.search .checkbox_container label:hover{border-bottom:2px solid #3498db}.search .checkbox_container input[type="checkbox"]:checked+label{border-bottom:2px solid #2980b9}#search_wrapper{position:relative;width:50em;padding:10px}.center #search_wrapper{margin-left:auto;margin-right:auto}.q{background:none repeat scroll 0 0 #fff;border:1px solid #3498db;color:#222;font-size:16px;height:28px;margin:0;outline:medium none;padding:2px;padding-left:8px;padding-right:0 !important;width:100%;z-index:2}#search_submit{position:absolute;top:13px;right:1px;padding:0;border:0;background:url('../img/search-icon.png') no-repeat;background-size:24px 24px;opacity:.8;width:24px;height:30px;font-size:0}@media screen and (max-width:50em){#search_wrapper{width:90%;clear:both;overflow:hidden}}ul.autocompleter-choices{position:absolute;margin:0;padding:0;list-style:none;border:1px solid #3498db;border-left-color:#3498db;border-right-color:#3498db;border-bottom-color:#3498db;text-align:left;font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;z-index:50;background-color:#fff;color:#444}ul.autocompleter-choices li{position:relative;margin:-2px 0 0 0;padding:.2em 1.5em .2em 1em;display:block;float:none !important;cursor:pointer;font-weight:normal;white-space:nowrap;font-size:1em;line-height:1.5em}ul.autocompleter-choices li.autocompleter-selected{background-color:#444;color:#fff}ul.autocompleter-choices li.autocompleter-selected span.autocompleter-queried{color:#9fcfff}ul.autocompleter-choices span.autocompleter-queried{display:inline;float:none;font-weight:bold;margin:0;padding:0}.row{max-width:800px;margin:20px auto;text-align:justify}.row h1{font-size:3em;margin-top:50px}.row p{padding:0 10px;max-width:700px}.row h3,.row ul{margin:4px 8px}.hmarg{margin:0 20px;border:1px solid #3498db;padding:4px 10px}a:link.hmarg{color:#3498db}a:visited.hmarg{color:#3498db}a:active.hmarg{color:#3498db}a:hover.hmarg{color:#3498db}.top_margin{margin-top:60px}.center{text-align:center}h1{font-size:5em}div.title{background:url('../img/searx.png') no-repeat;width:100%;min-height:80px;background-position:center}div.title h1{visibility:hidden}input[type="submit"]{padding:2px 6px;margin:2px 4px;display:inline-block;background:#3498db;color:#fff;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:0;cursor:pointer}input[type="checkbox"]{visibility:hidden}fieldset{margin:8px;border:1px solid #3498db}#categories{margin:0 10px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.checkbox_container{display:inline-block;position:relative;margin:0 3px;padding:0}.checkbox_container input{display:none}.checkbox_container label,.engine_checkbox label{cursor:pointer;padding:4px 10px;margin:0;display:block;text-transform:capitalize;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.checkbox_container input[type="checkbox"]:checked+label{background:#3498db;color:#fff}.engine_checkbox{padding:4px}label.allow{background:#e74c3c;padding:4px 8px;color:#fff;display:none}label.deny{background:#2ecc71;padding:4px 8px;color:#444;display:inline}.engine_checkbox input[type="checkbox"]:checked+label:nth-child(2)+label{display:none}.engine_checkbox input[type="checkbox"]:checked+label.allow{display:inline}a{text-decoration:none;color:#1a11be}a:visited{color:#8e44ad}.result{margin:19px 0 18px 0;padding:0;clear:both}.result_title{margin-bottom:0}.result_title a{color:#2980b9;font-weight:normal;font-size:1.1em}.result_title a:hover{text-decoration:underline}.result_title a:visited{color:#8e44ad}.cache_link{font-size:10px !important}.result h3{font-size:1em;word-wrap:break-word;margin:5px 0 1px 0;padding:0}.result .content{font-size:.8em;margin:0;padding:0;max-width:54em;word-wrap:break-word;line-height:1.24}.result .content img{float:left;margin-right:5px;max-width:200px;max-height:100px}.result .content br.last{clear:both}.result .url{font-size:.8em;margin:0 0 3px 0;padding:0;max-width:54em;word-wrap:break-word;color:#c0392b}.result .published_date{font-size:.8em;color:#888;Margin:5px 20px}.result .thumbnail{width:400px}.engines{color:#888}.small_font{font-size:.8em}.small p{margin:2px 0}.right{float:right}.invisible{display:none}.left{float:left}.highlight{color:#094089}.content .highlight{color:#000}.image_result{display:inline-block;margin:10px 10px;position:relative;max-height:160px}.image_result img{border:0;max-height:160px}.image_result p{margin:0;padding:0}.image_result p span a{display:none;color:#fff}.image_result p:hover span a{display:block;position:absolute;bottom:0;right:0;padding:4px;background-color:rgba(0,0,0,0.6);font-size:.7em}.torrent_result{border-left:10px solid lightgray;padding-left:3px}.torrent_result p{margin:3px;font-size:.8em}.torrent_result a{color:#2980b9}.torrent_result a:hover{text-decoration:underline}.torrent_result a:visited{color:#8e44ad}.definition_result{border-left:10px solid gray;padding-left:3px}.percentage{position:relative;width:300px}.percentage div{background:#444}table{width:100%}td{padding:0 4px}tr:hover{background:#ddd}#results{margin:auto;padding:0;width:50em;margin-bottom:20px}#sidebar{position:fixed;bottom:10px;left:10px;margin:0 2px 5px 5px;padding:0 2px 2px 2px;width:14em}#sidebar input{padding:0;margin:3px;font-size:.8em;display:inline-block;background:transparent;color:#444;cursor:pointer}#sidebar input[type="submit"]{text-decoration:underline}#suggestions form{display:inline}#suggestions,#answers{margin-top:20px;max-width:45em}#suggestions input,#answers input,#infoboxes input{padding:0;margin:3px;font-size:.8em;display:inline-block;background:transparent;color:#444;cursor:pointer}#suggestions input[type="submit"],#answers input[type="submit"],#infoboxes input[type="submit"]{text-decoration:underline}#suggestions-title{color:#888}#answers{border:2px solid #2980b9;padding:20px}#answers form,#infoboxes form{min-width:210px}#infoboxes{position:absolute;top:100px;right:20px;margin:0 2px 5px 5px;padding:0 2px 2px;max-width:21em}#infoboxes .infobox{margin:10px 0 10px;border:1px solid #ddd;padding:5px;font-size:.8em}#infoboxes .infobox img{max-width:20em;max-heigt:12em;display:block;margin:5px;padding:5px}#infoboxes .infobox h2{margin:0}#infoboxes .infobox table{width:auto}#infoboxes .infobox table td{vertical-align:top}#infoboxes .infobox input{font-size:1em}#infoboxes .infobox br{clear:both}#search_url{margin-top:8px}#search_url input{border:1px solid #888;padding:4px;color:#444;width:14em;display:block;margin:4px;font-size:.8em}#preferences{top:10px;padding:0;border:0;background:url('../img/preference-icon.png') no-repeat;background-size:28px 28px;opacity:.8;width:28px;height:30px;display:block}#preferences *{display:none}#pagination{clear:both}#pagination br{clear:both}#apis{margin-top:8px;clear:both}#categories_container{position:relative}@media screen and (max-width:50em){#results{margin:auto;padding:0;width:90%}.github{display:none}.checkbox_container{display:block;width:90%}.checkbox_container label{border-bottom:0}.preferences_container{display:none;postion:fixed !important;top:100px;right:0}}@media screen and (max-width:75em){div.title h1{font-size:1em}html.touch #categories{width:95%;height:30px;text-align:left;overflow-x:scroll;overflow-y:hidden;-webkit-overflow-scrolling:touch}html.touch #categories #categories_container{width:1000px;width:-moz-max-content;width:-webkit-max-content;width:max-content}html.touch #categories #categories_container .checkbox_container{display:inline-block;width:auto}#categories{font-size:90%;clear:both}#categories .checkbox_container{margin-top:2px;margin:auto}#suggestions,#answers{margin-top:5px}#infoboxes{position:inherit;max-width:inherit}#infoboxes .infobox{clear:both}#infoboxes .infobox img{float:left;max-width:10em}#categories{font-size:90%;clear:both}#categories .checkbox_container{margin-top:2px;margin:auto}#sidebar{position:static;max-width:50em;margin:0 0 2px 0;padding:0;float:none;border:none;width:auto}#sidebar input{border:0}#apis{display:none}#search_url{display:none}.result{border-top:1px solid #e8e7e6;margin:8px 0 8px 0}.result .thumbnail{max-width:98%}.image_result{max-width:98%}.image_result img{max-width:98%}}.favicon{float:left;margin-right:4px;margin-top:2px}.preferences_back{background:none repeat scroll 0 0 #3498db;border:0 none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;cursor:pointer;display:inline-block;margin:2px 4px;padding:4px 6px}.preferences_back a{color:#fff}.hidden{opacity:0;overflow:hidden;font-size:.8em;position:absolute;bottom:-20px;width:100%;text-position:center;background:white;transition:opacity 1s ease}#categories_container:hover .hidden{transition:opacity 1s ease;opacity:.8}
searx/static/themes/default/img/icons/icon_searchcode code.iconew file

Binary file not shown.

searx/static/themes/default/img/icons/icon_searchcode doc.iconew file

Binary file not shown.

searx/static/themes/oscar/css/oscar.min.css+1−1
@@ -1 +1 @@
1−html{position:relative;min-height:100%}body{margin-bottom:80px}.footer{position:absolute;bottom:0;width:100%;height:60px}input[type=checkbox]:checked~.label_hide_if_checked{display:none}input[type=checkbox]:not(:checked)~.label_hide_if_not_checked{display:none}.result_header{margin-bottom:5px;margin-top:20px}.result_header .favicon{margin-bottom:-3px}.result_header a{vertical-align:bottom}.result_header a .highlight{font-weight:700}.result-content{margin-top:5px}.result-content .highlight{font-weight:700}.result-default{clear:both}.result-images{float:left!important}.img-thumbnail{margin:5px;max-height:128px;min-height:128px}.result-videos{clear:both}.result-torrents{clear:both}.result-map{clear:both}.result-code{clear:both}.suggestion_item{margin:2px 5px}.result_download{margin-right:5px}#pagination{margin-top:30px;padding-bottom:50px}.infobox .infobox_part{margin-bottom:20px}.infobox .infobox_part:last-child{margin-bottom:0}.search_categories{margin:10px 0;text-transform:capitalize}.cursor-text{cursor:text!important}.cursor-pointer{cursor:pointer!important}.highlight .hll{background-color:#ffc}.highlight{background:#f8f8f8}.highlight .c{color:#408080;font-style:italic}.highlight .err{border:1px solid red}.highlight .k{color:green;font-weight:700}.highlight .o{color:#666}.highlight .cm{color:#408080;font-style:italic}.highlight .cp{color:#bc7a00}.highlight .c1{color:#408080;font-style:italic}.highlight .cs{color:#408080;font-style:italic}.highlight .gd{color:#a00000}.highlight .ge{font-style:italic}.highlight .gr{color:red}.highlight .gh{color:navy;font-weight:700}.highlight .gi{color:#00a000}.highlight .go{color:#888}.highlight .gp{color:navy;font-weight:700}.highlight .gs{font-weight:700}.highlight .gu{color:purple;font-weight:700}.highlight .gt{color:#04d}.highlight .kc{color:green;font-weight:700}.highlight .kd{color:green;font-weight:700}.highlight .kn{color:green;font-weight:700}.highlight .kp{color:green}.highlight .kr{color:green;font-weight:700}.highlight .kt{color:#b00040}.highlight .m{color:#666}.highlight .s{color:#ba2121}.highlight .na{color:#7d9029}.highlight .nb{color:green}.highlight .nc{color:#00F;font-weight:700}.highlight .no{color:#800}.highlight .nd{color:#a2f}.highlight .ni{color:#999;font-weight:700}.highlight .ne{color:#D2413A;font-weight:700}.highlight .nf{color:#00f}.highlight .nl{color:#a0a000}.highlight .nn{color:#00F;font-weight:700}.highlight .nt{color:green;font-weight:700}.highlight .nv{color:#19177c}.highlight .ow{color:#A2F;font-weight:700}.highlight .w{color:#bbb}.highlight .mf{color:#666}.highlight .mh{color:#666}.highlight .mi{color:#666}.highlight .mo{color:#666}.highlight .sb{color:#ba2121}.highlight .sc{color:#ba2121}.highlight .sd{color:#BA2121;font-style:italic}.highlight .s2{color:#ba2121}.highlight .se{color:#B62;font-weight:700}.highlight .sh{color:#ba2121}.highlight .si{color:#B68;font-weight:700}.highlight .sx{color:green}.highlight .sr{color:#b68}.highlight .s1{color:#ba2121}.highlight .ss{color:#19177c}.highlight .bp{color:green}.highlight .vc{color:#19177c}.highlight .vg{color:#19177c}.highlight .vi{color:#19177c}.highlight .il{color:#666}.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}.highlight .lineno::selection{background:0 0}.highlight .lineno::-moz-selection{background:0 0}
1+html{position:relative;min-height:100%}body{margin-bottom:80px}.footer{position:absolute;bottom:0;width:100%;height:60px}input[type=checkbox]:checked+.label_hide_if_checked,input[type=checkbox]:checked+.label_hide_if_not_checked+.label_hide_if_checked{display:none}input[type=checkbox]:not(:checked)+.label_hide_if_not_checked,input[type=checkbox]:not(:checked)+.label_hide_if_checked+.label_hide_if_not_checked{display:none}.result_header{margin-bottom:5px;margin-top:20px}.result_header .favicon{margin-bottom:-3px}.result_header a{vertical-align:bottom}.result_header a .highlight{font-weight:bold}.result-content{margin-top:5px}.result-content .highlight{font-weight:bold}.result-default{clear:both}.result-images{float:left !important}.img-thumbnail{margin:5px;max-height:128px;min-height:128px}.result-videos{clear:both}.result-torrents{clear:both}.result-map{clear:both}.result-code{clear:both}.suggestion_item{margin:2px 5px}.result_download{margin-right:5px}#pagination{margin-top:30px;padding-bottom:50px}.infobox .infobox_part{margin-bottom:20px}.infobox .infobox_part:last-child{margin-bottom:0}.search_categories{margin:10px 0;text-transform:capitalize}.cursor-text{cursor:text !important}.cursor-pointer{cursor:pointer !important}.highlight .hll{background-color:#ffc}.highlight{background:#f8f8f8}.highlight .c{color:#408080;font-style:italic}.highlight .err{border:1px solid #f00}.highlight .k{color:#008000;font-weight:bold}.highlight .o{color:#666}.highlight .cm{color:#408080;font-style:italic}.highlight .cp{color:#bc7a00}.highlight .c1{color:#408080;font-style:italic}.highlight .cs{color:#408080;font-style:italic}.highlight .gd{color:#a00000}.highlight .ge{font-style:italic}.highlight .gr{color:#f00}.highlight .gh{color:#000080;font-weight:bold}.highlight .gi{color:#00a000}.highlight .go{color:#888}.highlight .gp{color:#000080;font-weight:bold}.highlight .gs{font-weight:bold}.highlight .gu{color:#800080;font-weight:bold}.highlight .gt{color:#04d}.highlight .kc{color:#008000;font-weight:bold}.highlight .kd{color:#008000;font-weight:bold}.highlight .kn{color:#008000;font-weight:bold}.highlight .kp{color:#008000}.highlight .kr{color:#008000;font-weight:bold}.highlight .kt{color:#b00040}.highlight .m{color:#666}.highlight .s{color:#ba2121}.highlight .na{color:#7d9029}.highlight .nb{color:#008000}.highlight .nc{color:#00f;font-weight:bold}.highlight .no{color:#800}.highlight .nd{color:#a2f}.highlight .ni{color:#999;font-weight:bold}.highlight .ne{color:#d2413a;font-weight:bold}.highlight .nf{color:#00f}.highlight .nl{color:#a0a000}.highlight .nn{color:#00f;font-weight:bold}.highlight .nt{color:#008000;font-weight:bold}.highlight .nv{color:#19177c}.highlight .ow{color:#a2f;font-weight:bold}.highlight .w{color:#bbb}.highlight .mf{color:#666}.highlight .mh{color:#666}.highlight .mi{color:#666}.highlight .mo{color:#666}.highlight .sb{color:#ba2121}.highlight .sc{color:#ba2121}.highlight .sd{color:#ba2121;font-style:italic}.highlight .s2{color:#ba2121}.highlight .se{color:#b62;font-weight:bold}.highlight .sh{color:#ba2121}.highlight .si{color:#b68;font-weight:bold}.highlight .sx{color:#008000}.highlight .sr{color:#b68}.highlight .s1{color:#ba2121}.highlight .ss{color:#19177c}.highlight .bp{color:#008000}.highlight .vc{color:#19177c}.highlight .vg{color:#19177c}.highlight .vi{color:#19177c}.highlight .il{color:#666}.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}.highlight .lineno::selection{background:transparent}.highlight .lineno::-moz-selection{background:transparent}
searx/templates/courgette/about.html+2−2
@@ -1,6 +1,6 @@
1−{% extends 'default/base.html' %}
1+{% extends 'courgette/base.html' %}
22{% block content %}
3−{% include 'default/github_ribbon.html' %}
3+{% include 'courgette/github_ribbon.html' %}
44<div class="row">
55 <h1>About <a href="{{ url_for('index') }}">searx</a></h1>
66
searx/templates/courgette/base.html+32−31
@@ -1,33 +1,34 @@
11<!DOCTYPE html>
22<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
3−<head>
4− <meta charset="UTF-8" />
5− <meta name="description" content="Searx - a privacy-respecting, hackable metasearch engine" />
6− <meta name="keywords" content="searx, search, search engine, metasearch, meta search" />
7− <meta name="generator" content="searx/{{ searx_version }}">
8− <meta name="viewport" content="width=device-width, maximum-scale=1.0, user-scalable=1" />
9− <title>{% block title %}{% endblock %}searx</title>
10− <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" type="text/css" media="screen" />
11− <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}?v=2" />
12− {% block styles %}
13− {% endblock %}
14− {% block head %}
15− <link title="searx" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
16− {% endblock %}
17− <script type="text/javascript">
18− searx = {};
19− searx.autocompleter = {% if autocomplete %}true{% else %}false{% endif %};
20− </script>
21−</head>
22−<body>
23−<div id="container">
24−{% block content %}
25−{% endblock %}
26−{% if autocomplete %}
27−<script src="{{ url_for('static', filename='js/mootools-core-1.4.5-min.js') }}" ></script>
28−<script src="{{ url_for('static', filename='js/mootools-autocompleter-1.1.2-min.js') }}" ></script>
29−{% endif %}
30−<script src="{{ url_for('static', filename='js/searx.js') }}" ></script>
31−</div>
32−</body>
33−</html>
3+ <head>
4+ <meta charset="UTF-8" />
5+ <meta name="description" content="Searx - a privacy-respecting, hackable metasearch engine" />
6+ <meta name="keywords" content="searx, search, search engine, metasearch, meta search" />
7+ <meta name="generator" content="searx/{{ searx_version }}">
8+ <meta name="viewport" content="width=device-width, maximum-scale=1.0, user-scalable=1" />
9+ <title>{% block title %}{% endblock %}searx</title>
10+ <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" type="text/css" media="screen" />
11+ <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}?v=2" />
12+ {% block styles %}
13+ {% endblock %}
14+ {% block meta %}{% endblock %}
15+ {% block head %}
16+ <link title="searx" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
17+ {% endblock %}
18+ <script type="text/javascript">
19+ searx = {};
20+ searx.autocompleter = {% if autocomplete %}true{% else %}false{% endif %};
21+ </script>
22+ </head>
23+ <body>
24+ <div id="container">
25+ {% block content %}
26+ {% endblock %}
27+ {% if autocomplete %}
28+ <script src="{{ url_for('static', filename='js/mootools-core-1.4.5-min.js') }}" ></script>
29+ <script src="{{ url_for('static', filename='js/mootools-autocompleter-1.1.2-min.js') }}" ></script>
30+ {% endif %}
31+ <script src="{{ url_for('static', filename='js/searx.js') }}" ></script>
32+ </div>
33+ </body>
34+</html>
searx/templates/courgette/categories.html+7−5
@@ -1,7 +1,9 @@
11<div id="categories">
2−{% for category in categories %}
3− <div class="checkbox_container">
4− <input type="checkbox" id="checkbox_{{ category|replace(' ', '_') }}" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} /><label for="checkbox_{{ category|replace(' ', '_') }}">{{ _(category) }}</label>
2+ <div id="categories_container">
3+ {% for category in categories %}
4+ <div class="checkbox_container">
5+ <input type="checkbox" id="checkbox_{{ category|replace(' ', '_') }}" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} /><label for="checkbox_{{ category|replace(' ', '_') }}">{{ _(category) }}</label>
6+ </div>
7+ {% endfor %}
58 </div>
6−{% endfor %}
7−</div>
9+</div>
searx/templates/courgette/github_ribbon.html+1−1
@@ -1,3 +1,3 @@
11<a href="https://github.com/asciimoo/searx" class="github">
22 <img style="position: absolute; top: 0; right: 0; border: 0;" src="{{ url_for('static', filename='img/github_ribbon.png') }}" alt="Fork me on GitHub" class="github"/>
3−</a>
3+</a>
searx/templates/courgette/index.html+4−4
@@ -1,12 +1,12 @@
1−{% extends "default/base.html" %}
1+{% extends "courgette/base.html" %}
22{% block content %}
3−{% include 'default/github_ribbon.html' %}
3+{% include 'courgette/github_ribbon.html' %}
44<div class="center">
55 <div class="title"><h1>searx</h1></div>
6− {% include 'default/search.html' %}
6+ {% include 'courgette/search.html' %}
77 <p class="top_margin">
88 <a href="{{ url_for('about') }}" class="hmarg">{{ _('about') }}</a>
99 <a href="{{ url_for('preferences') }}" class="hmarg">{{ _('preferences') }}</a>
1010 </p>
1111</div>
12−{% endblock %}
12+{% endblock %}
searx/templates/courgette/preferences.html+53−55
@@ -1,4 +1,4 @@
1−{% extends "default/base.html" %}
1+{% extends "courgette/base.html" %}
22{% block head %} {% endblock %}
33{% block content %}
44<div class="row">
@@ -7,95 +7,93 @@
77 <form method="post" action="{{ url_for('preferences') }}" id="search_form">
88 <fieldset>
99 <legend>{{ _('Default categories') }}</legend>
10− <p>
11− {% include 'default/categories.html' %}
12− </p>
10+ {% include 'courgette/categories.html' %}
1311 </fieldset>
1412 <fieldset>
1513 <legend>{{ _('Search language') }}</legend>
1614 <p>
17− <select name='language'>
18− <option value="all" {% if current_language == 'all' %}selected="selected"{% endif %}>{{ _('Automatic') }}</option>
19− {% for lang_id,lang_name,country_name in language_codes %}
20− <option value="{{ lang_id }}" {% if lang_id == current_language %}selected="selected"{% endif %}>{{ lang_name }} ({{ country_name }}) - {{ lang_id }}</option>
21− {% endfor %}
22− </select>
15+ <select name='language'>
16+ <option value="all" {% if current_language == 'all' %}selected="selected"{% endif %}>{{ _('Automatic') }}</option>
17+ {% for lang_id,lang_name,country_name in language_codes %}
18+ <option value="{{ lang_id }}" {% if lang_id == current_language %}selected="selected"{% endif %}>{{ lang_name }} ({{ country_name }}) - {{ lang_id }}</option>
19+ {% endfor %}
20+ </select>
2321 </p>
2422 </fieldset>
2523 <fieldset>
2624 <legend>{{ _('Interface language') }}</legend>
2725 <p>
28− <select name='locale'>
29− {% for locale_id,locale_name in locales.items() %}
30− <option value="{{ locale_id }}" {% if locale_id == current_locale %}selected="selected"{% endif %}>{{ locale_name }}</option>
31− {% endfor %}
32− </select>
26+ <select name='locale'>
27+ {% for locale_id,locale_name in locales.items() %}
28+ <option value="{{ locale_id }}" {% if locale_id == current_locale %}selected="selected"{% endif %}>{{ locale_name }}</option>
29+ {% endfor %}
30+ </select>
3331 </p>
3432 </fieldset>
3533 <fieldset>
3634 <legend>{{ _('Autocomplete') }}</legend>
3735 <p>
38− <select name="autocomplete">
39− <option value=""> - </option>
40− {% for backend in autocomplete_backends %}
41− <option value="{{ backend }}" {% if backend == autocomplete %}selected="selected"{% endif %}>{{ backend }}</option>
42− {% endfor %}
43− </select>
36+ <select name="autocomplete">
37+ <option value=""> - </option>
38+ {% for backend in autocomplete_backends %}
39+ <option value="{{ backend }}" {% if backend == autocomplete %}selected="selected"{% endif %}>{{ backend }}</option>
40+ {% endfor %}
41+ </select>
4442 </p>
4543 </fieldset>
4644 <fieldset>
4745 <legend>{{ _('Method') }}</legend>
4846 <p>
49− <select name='method'>
50− <option value="POST" {% if method == 'POST' %}selected="selected"{% endif %}>POST</option>
51− <option value="GET" {% if method == 'GET' %}selected="selected"{% endif %}>GET</option>
52− </select>
47+ <select name='method'>
48+ <option value="POST" {% if method == 'POST' %}selected="selected"{% endif %}>POST</option>
49+ <option value="GET" {% if method == 'GET' %}selected="selected"{% endif %}>GET</option>
50+ </select>
5351 </p>
5452 </fieldset>
5553 <fieldset>
5654 <legend>{{ _('Themes') }}</legend>
5755 <p>
58− <select name="theme">
59− {% for name in themes %}
60− <option value="{{ name }}" {% if name == theme %}selected="selected"{% endif %}>{{ name }}</option>
61− {% endfor %}
62− </select>
56+ <select name="theme">
57+ {% for name in themes %}
58+ <option value="{{ name }}" {% if name == theme %}selected="selected"{% endif %}>{{ name }}</option>
59+ {% endfor %}
60+ </select>
6361 </p>
6462 </fieldset>
6563 <fieldset>
66− <legend>{{ _('Currently used search engines') }}</legend>
67−
68− <table>
69− <tr>
70− <th>{{ _('Engine name') }}</th>
71− <th>{{ _('Category') }}</th>
72− <th>{{ _('Allow') }} / {{ _('Block') }}</th>
73− </tr>
74− {% for (categ,search_engines) in categs %}
75− {% for search_engine in search_engines %}
64+ <legend>{{ _('Currently used search engines') }}</legend>
7665
77− {% if not search_engine.private %}
66+ <table>
7867 <tr>
79− <td>{{ search_engine.name }} ({{ shortcuts[search_engine.name] }})</td>
80− <td>{{ _(categ) }}</td>
81− <td class="engine_checkbox">
82− <input type="checkbox" id="engine_{{ categ }}_{{ search_engine.name|replace(' ', '_') }}" name="engine_{{ search_engine.name }}"{% if search_engine.name in blocked_engines %} checked="checked"{% endif %} />
83− <label class="allow" for="engine_{{ categ }}_{{ search_engine.name|replace(' ', '_') }}">{{ _('Allow') }}</label>
84− <label class="deny" for="engine_{{ categ }}_{{ search_engine.name|replace(' ', '_') }}">{{ _('Block') }}</label>
85− </td>
68+ <th>{{ _('Engine name') }}</th>
69+ <th>{{ _('Category') }}</th>
70+ <th>{{ _('Allow') }} / {{ _('Block') }}</th>
8671 </tr>
87− {% endif %}
72+ {% for (categ,search_engines) in categs %}
73+ {% for search_engine in search_engines %}
74+
75+ {% if not search_engine.private %}
76+ <tr>
77+ <td>{{ search_engine.name }} ({{ shortcuts[search_engine.name] }})</td>
78+ <td>{{ _(categ) }}</td>
79+ <td class="engine_checkbox">
80+ <input type="checkbox" id="engine_{{ categ|replace(' ', '_') }}_{{ search_engine.name|replace(' ', '_') }}" name="engine_{{ search_engine.name }}"{% if search_engine.name in blocked_engines %} checked="checked"{% endif %} />
81+ <label class="allow" for="engine_{{ categ|replace(' ', '_') }}_{{ search_engine.name|replace(' ', '_') }}">{{ _('Allow') }}</label>
82+ <label class="deny" for="engine_{{ categ|replace(' ', '_') }}_{{ search_engine.name|replace(' ', '_') }}">{{ _('Block') }}</label>
83+ </td>
84+ </tr>
85+ {% endif %}
86+ {% endfor %}
8887 {% endfor %}
89− {% endfor %}
90− </table>
88+ </table>
9189 </fieldset>
9290 <p class="small_font">{{ _('These settings are stored in your cookies, this allows us not to store this data about you.') }}
93− <br />
94− {{ _("These cookies serve your sole convenience, we don't use these cookies to track you.") }}
91+ <br />
92+ {{ _("These cookies serve your sole convenience, we don't use these cookies to track you.") }}
9593 </p>
9694
9795 <input type="submit" value="{{ _('save') }}" />
98− <div class="right preferences_back"><a href="{{ url_for('index') }}">{{ _('back') }}</a></div>
96+ <div class="right preferences_back"><a href="{{ url_for('index') }}">{{ _('back') }}</a></div>
9997 </form>
10098</div>
101−{% endblock %}
99+{% endblock %}
searx/templates/courgette/result_templates/code.html+6−6
@@ -1,9 +1,9 @@
11<div class="result {{ result.class }}">
2− <h3 class="result_title"> {% if result['favicon'] %}<img width="14" height="14" class="favicon" src="static/{{theme}}/img/icon_{{result['favicon']}}.ico" alt="{{result['favicon']}}" />{% endif %}<a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
3− <p class="url">{{ result.pretty_url }} <a class="cache_link" href="https://web.archive.org/web/{{ result.url }}">cached</a></p>
4− {% if result.publishedDate %}<p class="published_date">{{ result.publishedDate }}</p>{% endif %}
2+ <h3 class="result_title">{% if result['favicon'] %}<img width="14" height="14" class="favicon" src="static/{{theme}}/img/icon_{{result['favicon']}}.ico" alt="{{result['favicon']}}" />{% endif %}<a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
3+ {% if result.publishedDate %}<span class="published_date">{{ result.publishedDate }}</span>{% endif %}
54 <p class="content">{% if result.img_src %}<img src="{{ result.img_src }}" class="image" />{% endif %}{% if result.content %}{{ result.content|safe }}<br class="last"/>{% endif %}</p>
6− {% if result.repository %}<p class="result-content"><a href="{{ result.repository|safe }}">{{ result.repository }}</a></p>{% endif %}
7−
5+ {% if result.repository %}<p class="content"><a href="{{ result.repository|safe }}">{{ result.repository }}</a></p>{% endif %}
86 {{ result.codelines|code_highlighter(result.code_language)|safe }}
9−</div>
7+
8+ <p class="url">{{ result.pretty_url }}</p>
9+</div>
searx/templates/courgette/result_templates/default.html+9−9
@@ -1,13 +1,13 @@
11<div class="result {{ result.class }}">
22
3− {% if "icon_"~result.engine~".ico" in favicons %}
3+ {% if "icon_"~result.engine~".ico" in favicons %}
44 <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='img/icons/icon_'+result.engine+'.ico') }}" alt="{{result.engine}}" />
5− {% endif %}
5+ {% endif %}
66
7− <div>
8− <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
9− {% if result.publishedDate %}<p class="published_date">{{ result.publishedDate }}</p>{% endif %}
10− <p class="content">{% if result.content %}{{ result.content|safe }}<br />{% endif %}</p>
11− <p class="url">{{ result.pretty_url }}</p>
12− </div>
13−</div>
7+ <div>
8+ <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
9+ {% if result.publishedDate %}<span class="published_date">{{ result.publishedDate }}</span>{% endif %}
10+ <p class="content">{% if result.content %}{{ result.content|safe }}<br />{% endif %}</p>
11+ <p class="url">{{ result.pretty_url }}</p>
12+ </div>
13+</div>
searx/templates/courgette/result_templates/images.html+2−2
@@ -1,6 +1,6 @@
11<div class="image_result">
22 <p>
33 <a href="{{ result.img_src }}"><img src="{{ result.img_src }}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}"/></a>
4− <span class="url"><a href="{{ result.url }}" class="small_font">original context</a></span>
4+ <span class="url"><a href="{{ result.url }}" class="small_font">{{ _('original context') }}</a></span>
55 </p>
6−</div>
6+</div>
searx/templates/courgette/result_templates/map.html+10−10
@@ -1,13 +1,13 @@
11<div class="result {{ result.class }}">
22
3− {% if "icon_"~result.engine~".ico" in favicons %}
4− <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='img/icons/icon_'+result.engine+'.ico') }}" alt="{{result.engine}}" />
5− {% endif %}
3+ {% if "icon_"~result.engine~".ico" in favicons %}
4+ <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='img/icons/icon_'+result.engine+'.ico') }}" alt="{{result.engine}}" />
5+ {% endif %}
66
7− <div>
8− <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
9− {% if result.publishedDate %}<p class="published_date">{{ result.publishedDate }}</p>{% endif %}
10− <p class="content">{% if result.content %}{{ result.content|safe }}<br />{% endif %}</p>
11− <p class="url">{{ result.pretty_url }}</p>
12− </div>
13−</div>
7+ <div>
8+ <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
9+ {% if result.publishedDate %}<span class="published_date">{{ result.publishedDate }}</span>{% endif %}
10+ <p class="content">{% if result.content %}{{ result.content|safe }}<br />{% endif %}</p>
11+ <p class="url">{{ result.pretty_url }}</p>
12+ </div>
13+</div>
searx/templates/courgette/result_templates/torrent.html+10−4
@@ -1,7 +1,13 @@
11<div class="result torrent_result">
2+ {% if "icon_"~result.engine~".ico" in favicons %}
3+ <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='img/icons/icon_'+result.engine+'.ico') }}" alt="{{result.engine}}" />
4+ {% endif %}
25 <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
3− {% if result.content %}<p class="content">{{ result.content|safe }}</p>{% endif %}
4− <p class="stats">Seed: {{ result.seed }}, Leech: {{ result.leech }}</p>
5− <p><a href="{{ result.magnetlink }}" class="magnetlink">magnet link</a></p>
6+ {% if result.content %}<span class="content">{{ result.content|safe }}</span><br />{% endif %}
7+ <span class="stats">{{ _('Seeder') }} : {{ result.seed }}, {{ _('Leecher') }} : {{ result.leech }}</span><br />
8+ <span>
9+ {% if result.magnetlink %}<a href="{{ result.magnetlink }}" class="magnetlink">{{ _('magnet link') }}</a>{% endif %}
10+ {% if result.torrentfile %}<a href="{{ result.torrentfile }}" class="torrentfile">{{ _('torrent file') }}</a>{% endif %}
11+ </span>
612 <p class="url">{{ result.pretty_url }}</p>
7−</div>
13+</div>
searx/templates/courgette/result_templates/videos.html+8−8
@@ -1,10 +1,10 @@
11<div class="result">
2− {% if "icon_"~result.engine~".ico" in favicons %}
3− <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='img/icons/icon_'+result.engine+'.ico') }}" alt="{{result.engine}}" />
4− {% endif %}
2+ {% if "icon_"~result.engine~".ico" in favicons %}
3+ <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='img/icons/icon_'+result.engine+'.ico') }}" alt="{{result.engine}}" />
4+ {% endif %}
55
6− <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
7− {% if result.publishedDate %}<p class="published_date">{{ result.publishedDate }}</p>{% endif %}
8− <a href="{{ result.url }}"><img width="400" src="{{ result.thumbnail }}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}"/></a>
9− <p class="url">{{ result.url }}</p>
10−</div>
6+ <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
7+ {% if result.publishedDate %}<span class="published_date">{{ result.publishedDate }}</span><br />{% endif %}
8+ <a href="{{ result.url }}"><img width="400" src="{{ result.thumbnail }}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}"/></a>
9+ <p class="url">{{ result.pretty_url }}</p>
10+</div>
searx/templates/courgette/results.html+38−29
@@ -1,9 +1,10 @@
1−{% extends "default/base.html" %}
1+{% extends "courgette/base.html" %}
22{% block title %}{{ q }} - {% endblock %}
3+{% block meta %}<link rel="alternate" type="application/rss+xml" title="Searx search: {{ q }}" href="{{ url_for('index') }}?q={{ q|urlencode }}&amp;format=rss&amp;{% for category in selected_categories %}category_{{ category }}=1&amp;{% endfor %}pageno={{ pageno }}">{% endblock %}
34{% block content %}
4−<div class="right"><a href="{{ url_for('preferences') }}" id="preferences"><span>preferences</span></a></div>
5+<div class="right"><a href="{{ url_for('preferences') }}" id="preferences"><span>{{ _('preferences') }}</span></a></div>
56<div class="small search center">
6− {% include 'default/search.html' %}
7+ {% include 'courgette/search.html' %}
78</div>
89<div id="results">
910 <div id="sidebar">
@@ -13,22 +14,30 @@
1314 <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&amp;pageno={{ pageno }}{% if selected_categories %}&amp;category_{{ selected_categories|join("&category_")|replace(' ','+') }}{% endif %}" readonly />
1415 </div>
1516 <div id="apis">
16− {{ _('Download results') }}
17− {% for output_type in ('csv', 'json', 'rss') %}
18− <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
19− <div class="left">
20− <input type="hidden" name="q" value="{{ q }}" />
21− <input type="hidden" name="format" value="{{ output_type }}" />
22− {% for category in selected_categories %}
23− <input type="hidden" name="category_{{ category }}" value="1"/>
17+ {{ _('Download results') }}
18+ {% for output_type in ('csv', 'json', 'rss') %}
19+ <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
20+ <div class="left">
21+ <input type="hidden" name="q" value="{{ q }}" />
22+ <input type="hidden" name="format" value="{{ output_type }}" />
23+ {% for category in selected_categories %}
24+ <input type="hidden" name="category_{{ category }}" value="1"/>
25+ {% endfor %}
26+ <input type="hidden" name="pageno" value="{{ pageno }}" />
27+ <input type="submit" value="{{ output_type }}" />
28+ </div>
29+ </form>
2430 {% endfor %}
25− <input type="hidden" name="pageno" value="{{ pageno }}" />
26− <input type="submit" value="{{ output_type }}" />
27− </div>
28− </form>
29− {% endfor %}
3031 </div>
3132 </div>
33+
34+ {% if answers %}
35+ <div id="answers" class=""><span>{{ _('Answers') }}</span>
36+ {% for answer in answers %}
37+ <span>{{ answer }}</span>
38+ {% endfor %}
39+ </div>
40+ {% endif %}
3241
3342 {% if suggestions %}
3443 <div id="suggestions"><span>{{ _('Suggestions') }}</span>
@@ -54,26 +63,26 @@
5463 {% if pageno > 1 %}
5564 <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
5665 <div class="left">
57− <input type="hidden" name="q" value="{{ q }}" />
58− {% for category in selected_categories %}
59− <input type="hidden" name="category_{{ category }}" value="1"/>
60− {% endfor %}
61− <input type="hidden" name="pageno" value="{{ pageno-1 }}" />
62− <input type="submit" value="<< {{ _('previous page') }}" />
66+ <input type="hidden" name="q" value="{{ q }}" />
67+ {% for category in selected_categories %}
68+ <input type="hidden" name="category_{{ category }}" value="1"/>
69+ {% endfor %}
70+ <input type="hidden" name="pageno" value="{{ pageno-1 }}" />
71+ <input type="submit" value="<< {{ _('previous page') }}" />
6372 </div>
6473 </form>
6574 {% endif %}
6675 <form method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
6776 <div class="left">
68− {% for category in selected_categories %}
69− <input type="hidden" name="category_{{ category }}" value="1"/>
70− {% endfor %}
71− <input type="hidden" name="q" value="{{ q }}" />
72− <input type="hidden" name="pageno" value="{{ pageno+1 }}" />
73− <input type="submit" value="{{ _('next page') }} >>" />
77+ {% for category in selected_categories %}
78+ <input type="hidden" name="category_{{ category }}" value="1"/>
79+ {% endfor %}
80+ <input type="hidden" name="q" value="{{ q }}" />
81+ <input type="hidden" name="pageno" value="{{ pageno+1 }}" />
82+ <input type="submit" value="{{ _('next page') }} >>" />
7483 </div>
7584 </form>
7685 </div>
7786 {% endif %}
7887</div>
79−{% endblock %}
88+{% endblock %}
searx/templates/courgette/search.html+6−6
@@ -1,7 +1,7 @@
11<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" id="search_form">
2− <div id="search_wrapper">
3− <input type="text" placeholder="{{ _('Search for...') }}" id="q" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
4− <input type="submit" value="search" id="search_submit" />
5− </div>
6− {% include 'default/categories.html' %}
7−</form>
2+ <div id="search_wrapper">
3+ <input type="text" placeholder="{{ _('Search for...') }}" id="q" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
4+ <input type="submit" value="search" id="search_submit" />
5+ </div>
6+ {% include 'courgette/categories.html' %}
7+</form>
searx/templates/courgette/stats.html+4−4
@@ -1,4 +1,4 @@
1−{% extends "default/base.html" %}
1+{% extends "courgette/base.html" %}
22{% block head %} {% endblock %}
33{% block content %}
44<h2>{{ _('Engine stats') }}</h2>
@@ -6,8 +6,8 @@
66{% for stat_name,stat_category in stats %}
77<div class="left">
88 <table>
9− <tr colspan="3">
10− <th>{{ stat_name }}</th>
9+ <tr>
10+ <th colspan="3">{{ stat_name }}</th>
1111 </tr>
1212 {% for engine in stat_category %}
1313 <tr>
@@ -19,4 +19,4 @@
1919 </table>
2020</div>
2121{% endfor %}
22−{% endblock %}
22+{% endblock %}