瀏覽代碼

Merge pull request #15 from dalf/master

[mod] no glitch on small screen like smartphone
Adam Tauber 11 年之前
父節點
當前提交
42c85a094a
共有 1 個檔案被更改,包括 7 行新增1 行删除
  1. 7
    1
      searx/static/css/style.css

+ 7
- 1
searx/static/css/style.css 查看文件

@@ -75,7 +75,7 @@ a { text-decoration: none; }
75 75
 .result h3 { font-size: 0.9em;}
76 76
 .result { max-width: 70em; }
77 77
 
78
-.url { font-weight: bold; }
78
+.url { font-weight: bold; word-wrap:break-word; }
79 79
 
80 80
 .q { width: 30em; }
81 81
 
@@ -140,3 +140,9 @@ tr:hover td { background: #DDDDDD; }
140 140
 #suggestions { max-width: 50em;}
141 141
 #suggestions form { display: inline; }
142 142
 #suggestions input { padding: 2px 6px; margin: 2px 4px;  font-size: 0.8em; display: inline-block; background: #E4E4E4; border-radius: 4px; border: 0; cursor: pointer; }
143
+
144
+@media screen and (max-width: 740px) {
145
+  .right { margin: 5px; } 
146
+
147
+  #search_wrapper { max-width: 90%; clear:both }
148
+}