[enh] github ribbon to landingpage
commitd290c1b9aca659680559b7637640e3d8872e31a6
authorAdam Tauber <asciimoo@gmail.com>
dateMon 7 Jul 2014, 14:29 (12 years ago)
parentb0ba367
searx/static/default/css/style.css+1−1
@@ -70,5 +70,5 @@ tr:hover{background:#ddd}
7070#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}
7171#pagination{clear:both;width:40em}
7272#apis{margin-top:8px;clear:both}
73−@media screen and (max-width:50em){#categories{font-size:90%;clear:both}#categories .checkbox_container{margin-top:2px;margin:auto} #results{margin:auto;padding:0;width:90%} .checkbox_container{display:block;width:90%}.checkbox_container label{border-bottom:0}}@media screen and (max-width:70em){.right{display:none;postion:fixed !important;top:100px;right:0} #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:7px 0 6px 0}.result img{max-width:90%;width:auto;height:auto}}.favicon{float:left;margin-right:4px;margin-top:2px}
73+@media screen and (max-width:50em){#categories{font-size:90%;clear:both}#categories .checkbox_container{margin-top:2px;margin:auto} #results{margin:auto;padding:0;width:90%} .github{display:none} .checkbox_container{display:block;width:90%}.checkbox_container label{border-bottom:0}}@media screen and (max-width:70em){.right{display:none;postion:fixed !important;top:100px;right:0} #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:7px 0 6px 0}.result img{max-width:90%;width:auto;height:auto}}.favicon{float:left;margin-right:4px;margin-top:2px}
7474.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}
searx/static/default/less/style.less+3
@@ -464,6 +464,9 @@ tr {
464464 padding: 0;
465465 width: 90%;
466466 }
467+ .github {
468+ display: none;
469+ }
467470
468471 .checkbox_container {
469472 display: block;
searx/templates/default/index.html+1
@@ -1,5 +1,6 @@
11{% extends "default/base.html" %}
22{% block content %}
3+{% include 'default/github_ribbon.html' %}
34<div class="center">
45 <div class="title"><h1>searx</h1></div>
56 {% include 'default/search.html' %}