Browse Source

[fix] logo responsivity ++ preferences button hover

Adam Tauber 8 years ago
parent
commit
7013c3dc0d

+ 1
- 1
searx/static/themes/oscar/css/logicodev.min.css
File diff suppressed because it is too large
View File


+ 5
- 5
searx/static/themes/oscar/less/logicodev/search.less View File

29
 
29
 
30
 }
30
 }
31
 
31
 
32
-.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
33
-    background-color: transparent !important;
34
-    box-shadow: none;
35
-}
36
-
37
 #categories{
32
 #categories{
38
     margin: 0;
33
     margin: 0;
39
 }
34
 }
43
     margin-bottom: 25px;
38
     margin-bottom: 25px;
44
 }
39
 }
45
 
40
 
41
+#main-logo > img {
42
+    max-width: 350px;
43
+    width: 80%;
44
+}
45
+
46
 #q{
46
 #q{
47
     box-shadow: none;
47
     box-shadow: none;
48
     border-right: none;
48
     border-right: none;

+ 1
- 1
searx/templates/oscar/index.html View File

7
                 <h1 class="text-hide center-block"><img class="center-block img-responsive" src="{{ url_for('static', filename='img/searx_logo.png') }}" alt="searx logo"/>searx</h1>
7
                 <h1 class="text-hide center-block"><img class="center-block img-responsive" src="{{ url_for('static', filename='img/searx_logo.png') }}" alt="searx logo"/>searx</h1>
8
             {% else %}
8
             {% else %}
9
                 <h1 class="text-hide center-block" id="main-logo">
9
                 <h1 class="text-hide center-block" id="main-logo">
10
-                    <img class="center-block img-responsive" src="{{ url_for('static', filename='img/logo_searx_a.png') }}" alt="searx logo" style="max-width: 350px"/>
10
+                    <img class="center-block img-responsive" src="{{ url_for('static', filename='img/logo_searx_a.png') }}" alt="searx logo" />
11
                     searx
11
                     searx
12
                 </h1>
12
                 </h1>
13
             {% endif %}
13
             {% endif %}